Usage

from Python

From python, instantiate the Mint class (from the mintapi package) and
you can make calls to retrieve account/budget information. We recommend
using the keyring library for persisting credentials.

importmintapi# ius_session and thx_guid are optional, and will be automatically extracted if possible (see above for installing selenium/chromedriver)mint=mintapi.Mint(email,password,ius_session,thx_guid)# Get basic account informationmint.get_accounts()# Get extended account detail at the expense of speed - requires an# additional API call for each accountmint.get_accounts(True)# Get budget informationmint.get_budgets()# Get transactionsmint.get_transactions()# as pandas dataframemint.get_transactions_csv(include_investment=False)# as raw csv datamint.get_transactions_json(include_investment=False,skip_duplicates=False)# Get net worthmint.get_net_worth()# Initiate an account refreshmint.initiate_account_refresh()

You will notice the login step requires an ius_session and thx_guid.
These are session cookies that must persist. If you choose not to
install selenium and chromedriver, you must obtain these values by
searching your browser’s cookies. In Chrome, for example, visit
chrome://settings/cookies and type intuit (not mint). Alternatively,
you can login to Mint manually with your browser in inspect mode and
poke around in the network tab. Providing these two cookies eliminates
the need to 2-step authenticate. Mint requires this with all new
browsers attempting to connect.

from anywhere

Run it as a sub-process from your favorite language;
pip install mintapi creates a binary in your $PATH. From the
command-line, the output is JSON: