HomeDocumentation

Documentation

Build on top of Ledger — programmatic access to your financial graph.
Introduction
Overview, glossary, and how Ledger thinks about your money.
Authentication
API keys, OAuth, and rotating credentials safely.
Resources
Accounts, transactions, holdings, goals.
Webhooks
Subscribe to balance and transaction events.
Integrations
Plaid, Yodlee, Stripe, and custom CSV.
SDKs
TypeScript, Python, Go and Ruby clients.
Quick start
Authenticate, then fetch your accounts.
# 1. Get a token
curl -X POST https://api.ledger.app/v1/oauth/token \
  -d "client_id=$LEDGER_CLIENT_ID" \
  -d "client_secret=$LEDGER_CLIENT_SECRET"

# 2. List linked accounts
curl https://api.ledger.app/v1/accounts \
  -H "Authorization: Bearer $TOKEN"

# 3. Stream transactions via webhook
{
  "event": "transaction.created",
  "data": { "id": "tx_8e3", "amount": -42.10, "currency": "USD" }
}