Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I have been using mint.com for some time to track my personal finances, and I'd like to be able to download my data so I can perform more in-depth analysis than what is provided on the site. Mint.com also lost a good chunk of my data recently, and their customer service is less than stellar, so I'd like to keep a copy locally.

Obviously, an API provided by mint.com would be ideal, but as far as I know there isn't one available. Let me know if I've missed that.

A second option is to write a script that authenticates to mint.com and scrapes the site periodically. Has anybody attempted to do this (in any language on any platform)? I have a feeling it would be a little more difficult than sending a password to a login page and saving the session cookie returned in the response.

A third option is to write a plugin (firefox or chrome) that saves the data when I am logged in and looking at the site.

I figure that other people have attempted to get their data out of mint, so I thought I'd ask before putting in the time to do it myself.

share|improve this question
Do you really need an API? What are you looking for that the "Export all transactions" link doesn't give you. – David A. Jan 17 '11 at 21:53
1  
automation... non tech savvy users can't export all transactions, they wouldn't know how, and imagine how much trouble it is if you have 10 accounts... to do that every time you'd probably rather just not bother – Jason Jan 18 '11 at 1:28
Purely from a automation standpoint. I'd prefer to not have to download the csv's manually (transactions page, various trends pages, etc) on a regular basis. Also, they don't expose everything that way (though to be honest, all I really care about is transactions and net worth). – arscan Jan 18 '11 at 21:44

5 Answers

up vote 3 down vote accepted

Unfortunately, Mint does not have an API. However, you are not alone in wanting this. Check out this forum post. It appears there at least a couple of people willing to develop/co-develop a scraping tool. Maybe they have made some progress.

share|improve this answer
Thanks, I saw these but figured that mint may have edited away any posts from people that have put together authentication automation scripts. Looks like I'll probably just code it up myself. – arscan Jan 18 '11 at 22:10

Yeh, there is a screen scraping api though

Yodlee: http://www.yodlee.com

Check it out if you wanna get your scrape on

share|improve this answer
Thanks, didn't realize that Yodlee provided an API. I may try them out. – arscan Jan 18 '11 at 22:11
You're wasting your time, Yodlee charges per account added when using their API. – Justin May 15 at 0:50

A second option is to write a script that authenticates to mint.com and scrapes the site periodically. Has anybody attempted to do this (in any language on any platform)?

Here is a Ruby script I wrote that does this: https://github.com/toddmazierski/mint-exporter

I have a feeling it would be a little more difficult than sending a password to a login page and saving the session cookie returned in the response.

Thankfully it's not — that's exactly how the script works! :-)

share|improve this answer

I've written a small scraping library here: https://github.com/mrooney/mintapi. It can be used from Python, or outputs JSON from the command-line for use anywhere. It works with Mint.com as of today (2/18/2013).

share|improve this answer
Worked perfectly!!! – stephenmm May 14 at 1:09
Looks promising, however doesn't seem to work. :( Gives invalid syntax on the very last line - "print json.dumps". – Justin May 15 at 1:09

You should check out Yodlee.com It is much older than Mint but you can sing up as a developer and you can access their API in real time. You can write your own apps to access your data.

share|improve this answer
This very site was given as a choice well over a year ago, please read the answers provided to ensure that you are not duplicating. – Bradley A. Tetreault Oct 14 '12 at 23:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.