PROVIDER - Local-First Accounting

rotki

rotki is local-first crypto accounting software that merges exchange, on-chain and DeFi data into one ledger for portfolio tracking, PnL and tax reporting, running offline.

Crypto Payments & Digital Assets Germany 2026.12.01 0 views
3.7pts
Advertisement

Service Overview

rotki is local-first crypto accounting software: it merges exchange accounts, on-chain addresses, DeFi positions and traditional financial accounts into one ledger for portfolio tracking, profit and loss, and tax reporting. Data stays on the machine by default, with transaction history and balances never uploaded to a third-party server.

The project is AGPL-3.0 licensed with roughly 4,100 stars on GitHub and a 1.44.x release line, written in Python and TypeScript, shipping a desktop client and a command line. The open-source edition covers basic accounting, while Premium subscriptions raise event limits and unlock multi-device sync and deeper analytics.

Key Strengths

  • The encrypted ledger lives locally, so history and balances avoid third-party custody.
  • Exchanges, on-chain addresses and DeFi positions aggregate into one profit view.
  • Asset movement matching and cost-basis calculation support tax-ready figures.
  • AGPL-3.0 licensing lets teams audit processing logic and import behaviour.
  • An API and integrations pass accounting output into external reporting flows.

Limitations

  • The open-source edition caps history at 1,000 events, so long ledgers need a subscription.
  • Exchange keys and chain access must be prepared, making the first setup slow.
  • It targets individuals and small teams without consolidated multi-entity reporting.
  • Tax rules vary by jurisdiction, so reports still need local accountant sign-off.
  • It runs on the desktop and cannot host several people in one shared online ledger.

Product Ecosystem

Sources feed a local ledger that outputs profit, cost basis and filing reports Data sources Exchanges, chains, DeFi Local ledger Encrypted store, events Accounting Cost basis and PnL Output Reports and API Data types: spot and futures fills · transfers and fees · staking and lending · fiat on and off ramps The ledger is encrypted on the local machine, and syncing is a paid capability (scope: official docs, 2026-12)
Figure 1: Multi-source data into a local ledger (scope: official documentation, 2026-12)

Accounting runs collect, match, then calculate: the ledger pulls every source into one place, matches transfers and fees, and derives profit and taxable amounts from cost basis.

Data Connections

Exchanges connect through read-only API keys and addresses are added directly, with DeFi positions parsed per protocol. Create keys with read-only scope so the tool can never withdraw funds.

Ledger and Events

Each trade, transfer and fee becomes a ledger event, and event count determines the tier. Long histories benefit from tidying deposits and withdrawals first, which reduces matching errors later.

Accounting and Reports

Realised and unrealised profit derive from cost basis, and reports export for accountant review. Jurisdictions differ on treatment, so conclusions belong with an accountant who knows the local rules.

Privacy and Backups

The ledger is encrypted locally, and backups carry the same password protection. Multi-device use goes through paid sync or manual encrypted backup transfer, with versions matched before migrating.

Use Cases

  • Good fit|Individuals across several exchanges: consolidate scattered accounts into one book.
  • Good fit|Users preparing crypto tax filings: produce cost-basis data for reporting.
  • Good fit|Holders who value data privacy: the ledger never leaves the machine.
  • Good fit|DeFi participants: lending and staking rewards enter the same accounting.
  • Evaluate first|Institutions needing collaboration: no multi-entity or online sharing.
  • Evaluate first|Accounts with very large histories: event caps push users up tiers.
  • Evaluate first|Users without any technical grounding: keys and nodes take patience.

Fee Structure & Revenue Share

Channel / Model Standard Fee or Share Access and Withdrawal Threshold Settlement and Extras
Starter open source Free 1,000 history events, one device No settlement step
Supporter 9 EUR per month 3,000 events, one device Yearly billing saves two months
Basic 25 EUR per month 30,000 events, up to two devices Yearly billing saves two months
Advanced 45 EUR per month 100,000 events, up to four devices Adds deeper analytics and larger backups
Custom Negotiated Customised events and devices For teams and institutions

Subscriptions govern event allowance, devices and analytics, while the open-source edition stays free indefinitely.

FAQ

  • Is any data uploaded? The ledger is encrypted locally by default, and data leaves only when you sync or call external endpoints. Paid sync uploads encrypted content that the provider cannot read. Privacy-focused users can stay local and back up manually.
  • Are exchange keys safe? Create keys with read-only scope, disable withdrawal and trading, and rotate them periodically. Enable IP allow lists where the exchange offers them. If a key leaks, revoke it at the exchange rather than only deleting the local record.
  • Can reports be filed directly? They provide cost basis and profit data as a reference, but rules differ by jurisdiction. Send exports to an accountant familiar with local rules before filing. Dual residents and multiple citizenships should confirm residency treatment carefully.
  • How do I move the ledger to a new machine? Migrate the encrypted backup and match versions, upgrading from older to newer. Verify event totals and balances afterwards before wiping the old device. With sync enabled, validate scope on a test account first.

Integration and Code Examples

Exporting a balance snapshot

# List current holdings as JSON (configure accounts and sources first)
rotki asset balances --output json > balances-2026-12.json

Read-only key setup

1. Create the exchange API key with read permissions only
2. Disable withdrawal, transfer and trading permissions
3. Add the machine's egress IP to any allow list
4. Rotate the key after reconciliation and update the config

Exports contain positions and trade details, so redact before sharing.

Community and Resources

Visit rotki Website → https://rotki.com/
Visit Website ↗