Banking API/protocol [closed]

2019-03-07 17:51发布

Do any banks offer data feeds of personal accounts via any form of API? I'm essentially looking to check balances on accounts without logging into their website.

I remember reading about a universal banking protocol at some point... and maybe mint.com uses it to access accounts? Does mint.com have a special relationship with each bank, or can I leverage their method?

Edit: For my requirements, I'm only interested in accessing my own financial data.

8条回答
兄弟一词,经得起流年.
2楼-- · 2019-03-07 18:15

You could try Swift (see message types), its not the kind of thing you can just set up though, you'd have to speak to each institution you wanted to work with.

查看更多
女痞
3楼-- · 2019-03-07 18:17

There is a standard protocol known as OFX (ofx.net) that might meet your needs. Microsoft Money and Quicken both use it to update data.

查看更多
该账号已被封号
4楼-- · 2019-03-07 18:20

Intuit are lauching new data services with access to over 18000 financial institutions via secure apis. I am not privy as to whether they will include UK banksand financial institutions, but here is the link:

https://developer.intuit.com/page/CustomerAccountData

查看更多
我只想做你的唯一
5楼-- · 2019-03-07 18:22

In Europe, you could use www.agregadorfinanciero.com API.

查看更多
SAY GOODBYE
6楼-- · 2019-03-07 18:24

It is possible to write a basic screen scraper to pull account transactions from your Mint.com account. Of course, this means you'll have to have an account set up there and let them to the dirty work for you.

CasperJS is a great tool that makes this fairly trivial, you will need to install both Casper and PhantomJS, the framework it is built on.

var casper = require('casper').create();

casper.start('https://wwws.mint.com/login.event', function() {
    this.fill('form#form-login', {
        username: 'mintusername',
        password: 'mintpassword'
    }, true);
}).then(function() {
    this.echo('Downloading transaction history...')
    this.download('https://wwws.mint.com/transactionDownload.event', '/path/to/save/transactions.csv');
});

casper.run(function() {
    this.echo('Done.').exit();
});

This script logs into your Mint account, and downloads your transaction history (as a CSV file) to wherever you specify. From there, you can do what you like with the data. Of course, this script could be expanded significantly to do more advanced things, or to filter the transactions it pulls down, but as a matter of best practice I would advise keeping the screen scraping as simple as possible and add the logic on your program's end.

You can have this script run periodically using launchd for Mac OS X or cron for most Linux flavors.

查看更多
我只想做你的唯一
7楼-- · 2019-03-07 18:29

Look up the Open Financial Exchange (OFX) format on the web. That (I believe) is a generic format for the banking industry.

查看更多
登录 后发表回答