sync: true in the create request to kick off a sync job immediately, saving you a separate API call.
List sources
Retrieves all sources associated with the authenticated user.Authorization: Bearer <token>
Response fields
object[]
required
Array of source objects belonging to your account.
Example
Response
Errors
Create a source
Creates a new source for the given wallet address, or returns the existing source if one already exists for that address. Supports both authenticated and anonymous requests.Authorization: Bearer <token> — omit to create an anonymous source.
Request body
string
required
The source type. Must be
"onchain".string
required
The onchain wallet address to import. Must be a non-empty string.
string
A display name for the source. If omitted, the API assigns a default name.
boolean
When
true, starts a sync job immediately after the source is created or found. The response includes the sync job details in syncJob.integer
The tax year to associate with this source. Must be 2020 or later.
string
The jurisdiction to use for tax calculations (e.g.
"germany").Response fields
object
required
The created or reused source.
boolean
required
true if a new source was created. false if an existing source was found and reused — no duplicate is created.object | null
required
Details of the sync job started on creation. Present only when you passed
sync: true; null otherwise.object | null
required
An anonymous claim handle. Returned only when the request is made without authentication. Use
claimToken to associate the source with an account later. null for authenticated requests.Examples
Response (sync: true)