Tracken Accounts API
Programmatic access to a company's books: the chart of accounts, the ledger, sales and purchase invoices, payments, bank reconciliation, documents, fixed assets, reports and VAT returns.
One API: the Tracken Accounts web app calls exactly these operations.
What "one API" means for you
There is no separate internal API behind the app. What the app can do with a company's books, your program can do through the same endpoints, with the same rules.
curl "https://accounts-api.tracken.ee/v1/sales-invoices?limit=5" \
-H "Authorization: Bearer $TOKEN"tracken sales-invoices list --limit 5
# table output shows money and dates as 1 240,00 and 12.10.2026: add -o tableimport { Tracken } from "@tracken/sdk";
const tracken = new Tracken({
auth: { clientId: process.env.TRACKEN_CLIENT_ID!, clientSecret: process.env.TRACKEN_CLIENT_SECRET! },
});
const page = await tracken.salesInvoices.list({ query: { limit: 5 } });
console.log(page.body.data[0].total); // "1240.00"{
"data": [
{
"id": "0b8f0c2e-5f3c-4a52-9d7e-1c2b3a4d5e6f",
"number": "2026-0142",
"date": "2026-10-12",
"currency": "EUR",
"net_total": "1000.00",
"tax_total": "240.00",
"total": "1240.00"
}
],
"meta": { "pagination": { "limit": 5, "next_cursor": "c2VxOjQy…", "has_more": true } }
}From nothing to your first answer
The full walkthrough in Getting started- 1
Get a key
In Tracken Accounts open the company (a sandbox copy while you build), then Settings → API access → New API credential. Pick its scopes and copy the client ID and secret.
Create an API credential - 2
Make your first request
Exchange the credential at Tracken ID for a 10-minute token, then read the organization it belongs to:
Get an access tokencurl https://accounts-api.tracken.ee/v1/organization \ -H "Authorization: Bearer $TOKEN" - 3
Learn the rules once
Every operation shares the same conventions:
Read the conventions{"data": …}envelopes, money as decimal strings,Idempotency-Key,If-Match, cursor lists.
Start here
tracken CLI (npm i -g @tracken/cli, 0.2.0, beta) and its local MCP server for Claude Code.Environments
Version 1 is in beta: it works on real companies and may still change before v1 is stable; every change is in the changelog.
| Environment | API | Sign-in (Tracken ID) | Status |
|---|---|---|---|
| Production | https://accounts-api.tracken.ee/v1 | https://id.tracken.ee | Beta |
What "draft" means
The document may still change in ways that break a client, and each change is listed in the changelog.