The TaxMaxi Sources API lets you connect onchain wallets, sync their transaction history, and run tax calculations against the normalized data. A source represents a single wallet address. Once you create a source, you kick off a sync job to import raw transaction records from the blockchain and normalize them into a consistent format. When the sync is complete, you can request a tax calculation for any supported jurisdiction and year. Most endpoints require a bearer token — pass it asDocumentation Index
Fetch the complete documentation index at: https://docs.taxmaxi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <token> on every protected request.
Base URL
/v1 prefix.
Authentication
Include your session token in theAuthorization header on every request that requires authentication:
POST /v1/sources is the only endpoint that accepts unauthenticated requests. When you call it without credentials, the API creates an anonymous source and returns a claim token you can use to associate that source with an account later.
Workflow
Create a source
Call
POST /v1/sources with a wallet address. Pass sync: true to start a sync immediately, or trigger it separately.Sync the source
Call
POST /v1/sources/:sourceId/sync to import and normalize transactions. Poll GET /v1/sources/:sourceId/jobs/:jobId until the job status reaches completed or failed.Endpoint reference
| Method | Path | Auth required | Description |
|---|---|---|---|
GET | /v1/sources | Yes | List all sources for your account |
POST | /v1/sources | No | Create or reuse a source |
POST | /v1/sources/:sourceId/sync | Yes | Start a sync job for a source |
POST | /v1/sources/:sourceId/replay | Yes | Replay normalization from cached raw data |
GET | /v1/sources/:sourceId/jobs/:jobId | Yes | Poll the status of a sync job |
POST | /v1/sources/:sourceId/tax | Yes | Calculate tax for a completed source |
Pages in this section
Create
List your sources or create a new one from a wallet address.
Sync
Start a sync job, replay normalization, and poll job status.
Tax
Calculate taxable gains, losses, and income for a source.