Take the 2-minute tour ×
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
3  
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
add comment

6 Answers

up vote 5 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
add comment

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
    
Here's one written in bash: https://github.com/jchavannes/mintreport. It can also import into MySQL and email reports. I have it cron'd to run once a day at 8am. –  jchavannes Sep 12 '13 at 3:41
add comment

Yes, there is a screen scraping API though Yodlee.

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
2  
You're wasting your time, Yodlee charges per account added when using their API. –  Justin May 15 '13 at 0:50
add comment

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 '13 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 '13 at 1:09
    
Sorry @Justin, it didn't have Python 3 support at the time, though now it does :) –  mrooney Apr 2 at 5:16
add comment

Intuit now exposed API's that mint uses underneath. Check out the "Customer Account Data" information at https://developer.intuit.com/docs. That page also has other API's that Intuit exposes.

share|improve this answer
    
From what I can tell, this API costs a minimum of $1k per month to use. –  Eric Hu Jul 14 '13 at 23:35
add comment

You might be interested in a Google spreadsheet "application" I created. I call it Mojito. :-)

Mojito directly imports your transactions from Mint.com and allows you to create budgets using any combination of categories and tags. It's not intended to replace Mint.com, but rather act as a companion. Feel free to check it out and share it with others.

You can find more information and get a copy of the spreadsheet here: http://b3devs.blogspot.com/

share|improve this answer
add comment

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.