For developers and power users

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.

Command-line interface

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
ledgi - terminal
$curl -fsSL https://raw.githubusercontent.com/LedgiApp/ledgi-cli/main/install.sh | bash
Installing ledgi...
ledgi v1.0.0 installed to /usr/local/bin/ledgi
$ledgi login --api-key ledgi_sk_...
Logged in. Fetching account data...
$ledgi accounts list --output table
ID NAME TYPE BALANCE CURRENCY
abc123 Monzo Current current 2,500.00 GBP
def456 Vanguard ISA isa_stocks 15,000.00 GBP
ghi789 Workplace Pension pension 45,000.00 GBP
$
Claude Code plugin

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

$/plugin marketplace add LedgiApp/skills
$/plugin install ledgi@ledgi-skills

Example prompts

AI

What's my net worth?

AI

Add my Monzo account with £2,500

AI

How much ISA allowance do I have left?

AI

Show me my pension total

AI

Log a £500 ISA deposit

REST API

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.

accounts:readaccounts:writeholdings:readholdings:writenetworth:readsnapshots:readsnapshots:writeisa:readisa:write

Create an API key from Settings › API Keys in your dashboard.

MethodEndpointScope
GET/agent/accountsaccounts:read
GET/agent/holdingsholdings:read
GET/agent/networthnetworth:read
GET/agent/snapshotssnapshots:read
GET/agent/isa/summaryisa:read
POST/agent/accounts/bulk-upsertaccounts:write
POST/agent/holdings/bulk-upsertholdings:write
POST/agent/snapshotssnapshots:write
POST/agent/isa/depositisa:write

Getting started

From zero to your first API call in under five minutes.

1

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.

2

Install the CLI

Install the ledgi binary in one command. Works on macOS and Linux. No runtime dependencies required.

3

Authenticate

Run ledgi login --api-key ledgi_sk_... to connect the CLI to your account. Your key is stored securely in your system keychain.

4

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

$curl -fsSL https://raw.githubusercontent.com/LedgiApp/ledgi-cli/main/install.sh | bash