Scrapes the DKB online banking and sends a PUSH message on every new transaction
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Scrapes the DKB online banking and sends a PUSH message for every new transaction

This PHP script scrapes the online banking website of the DKB (Deutsche Kreditbank Berlin). After login, the transactions of all accounts are downloaded as CSV files and compared with previously downloaded CSVs. If threre's a new entry, a PUSH message is sent via Boxcar App to any iOS device.

Simple HTML DOM is used for HTML scraping.

To receive the PUSH messages, you need to download the Boxcar 2 app on the iOS Appstore (free). This script sends a maximum of 5 push messages per account and pauses every 3 messages. No push messages are send on the first run. All downloaded CSVs are stored in the data directory for later comparison.


Rename config.php-example to config.php and enter the login credentials for the DKB online banking. You also have to enter the boxcar access token. The token is displayed in the Boxcar 2 iOS app under settings.


This script is best run from cron in your local network, ie on a homeserver or Raspberry Pi.

Example cron entry

This runs the script every two hours during bank business hours:

0 8,10,12,14,16,18 * * 1-6 /path/to/dkb-crawl.php