Build with Ledgi
Programmatic access to your financial data. A CLI for your terminal, a skill for your AI agent, and an API for everything else.
Your finances in the terminal
The ledgi CLI gives you full read and write access to your Ledgi data from any terminal. List accounts, check your net worth, log ISA deposits, and more, without opening a browser.
- Cross-platform: macOS and Linux
- Table and JSON output modes
- All account types supported
- Scriptable for automation
Let your AI agent manage your finances
Install the Ledgi skill into Claude Code and ask questions about your finances in natural language. The skill connects to your Ledgi account via the API and can read and update your data on your behalf.
Install
Example prompts
“What's my net worth?”
“Add my Monzo account with £2,500”
“How much ISA allowance do I have left?”
“Show me my pension total”
“Log a £500 ISA deposit”
Direct API access
A RESTful JSON API authenticated with API keys. Use it to build your own integrations, automate reporting, or connect Ledgi to any tool that can make HTTP requests.
Create an API key from Settings › API Keys in your dashboard.
| Method | Endpoint | Description | Scope |
|---|---|---|---|
| GET | /agent/accounts | List all accounts | accounts:read |
| GET | /agent/holdings | List investment holdings | holdings:read |
| GET | /agent/networth | Net worth with full breakdown | networth:read |
| GET | /agent/snapshots | Historical net worth snapshots | snapshots:read |
| GET | /agent/isa/summary | ISA allowance summary | isa:read |
| POST | /agent/accounts/bulk-upsert | Create or update accounts | accounts:write |
| POST | /agent/holdings/bulk-upsert | Create or update holdings | holdings:write |
| POST | /agent/snapshots | Create a net worth snapshot | snapshots:write |
| POST | /agent/isa/deposit | Log an ISA deposit | isa:write |
Getting started
From zero to your first API call in under five minutes.
Sign up and create an API key
Create a Ledgi account, then go to Settings › API Keys in your dashboard to generate a key. Keys start with ledgi_sk_ and support granular scope-based permissions.
Install the CLI
Install the ledgi binary in one command. Works on macOS and Linux. No runtime dependencies required.
Authenticate
Run ledgi login --api-key ledgi_sk_... to connect the CLI to your account. Your key is stored securely in your system keychain.
Run your first command
Try ledgi accounts list to see all your accounts, or ledgi networth to get your current net worth breakdown.
Quick install