Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pull bank statements from websites?

I need to pull bank account statements from a number of different sources. I'd love to be able to get this data in some sort of standardized fashion, be it CSV or OFX or XML or whatever. I just need to be able to get this data. I'll be using my own account to grab transactions from, so there shouldn't be too many 'legal' problems there. How do sites like Mint.com get bank statements? They simply ask for your account information, the URL, and then they're off and running. How can I do this?

like image 382
Naftuli Kay Avatar asked Apr 07 '11 06:04

Naftuli Kay


People also ask

How can I get a bank statement without showing transactions?

If you can't find your most recent statement, most banks allow you to generate statements through your online banking platform. Or, you can head to a bank branch and ask for a print-out of your most recent statement.


Video Answer


2 Answers

Write a screen scraper in your favorite language to do it. Automate it away.

Normally banks give you access up to three months of transactions via their online services.

Don't forget to make it push the panic button when the screen scraping fails.

The main point here is to automate it so that the pain (of running it manually) goes away so that all you see are "constantly" updated transactions of your accounts.

like image 81
holygeek Avatar answered Oct 23 '22 13:10

holygeek


If you're interested in a simple, personal solution, one easy way would have Mint aggregate all your purchases and use an existing scraper to download them. Something like this: https://github.com/mrooney/mintapi.

like image 36
Slothario Avatar answered Oct 23 '22 12:10

Slothario