Plaid Finance

Plaid financial data API: bank accounts, transactions, balances, income, assets, identity verification, and ACH payments. Connect to 12,000+ financial institutions for personal finance and lending apps.

mkurman Updated

File contents

Overview

Plaid connects applications to 12,000+ financial institutions for bank accounts, transactions, balances, income, identity verification, and ACH payments. Standard for fintech apps needing secure financial data access.

Installation

uv pip install plaid-python

Link Token

import plaid
from plaid.api import plaid_api

config = plaid.Configuration(
    host=plaid.Environment.Sandbox,
    api_key={"clientId": "YOUR_CLIENT_ID", "secret": "YOUR_SECRET"},
)
client = plaid_api.PlaidApi(plaid.ApiClient(config))

resp = client.link_token_create(plaid.LinkTokenCreateRequest(
    user={"client_user_id": "user-123"},
    client_name="My App",
    products=["transactions", "auth"],
    country_codes=["US"],
    language="en",
))
print(resp.link_token)

Get Transactions

resp = client.transactions_sync(plaid.TransactionsSyncRequest(access_token=access_token))
for tx in resp.added:
    print(f"{tx.date}: {tx.name} — ${tx.amount:.2f}")

References

mkurman/zorai/tree/main/skills/scientific-skills/plaid-finance commit 0f33b8a2db

Frequently asked questions

npx skillmds@latest add mkurman/plaid-finance