Account transactions
Get account transaction history
Retrieve the unified transaction history for an account.
This is the recommended endpoint for displaying an account's activity to investors. It returns deposits, withdrawals, transfers and yield accruals merged into a single, paginated, time-ordered stream.
- Results are paginated using a cursor. Pass the nextCursor returned by the previous call to retrieve subsequent pages.
- Sorted anti-chronologically (newest first) by default; pass direction=asc for chronological order.
- Optional transactionType filter narrows to one of deposit, withdrawal, transfer, or yield.
- Canceled and failed entries are excluded.
get/v0/account-transactions/
Request
- Base URLhttps://distributor-api.spiko.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
accountIdstring uuid required
a Universally Unique Identifier
transactionType'deposit' | 'withdrawal' | 'transfer' | 'yield'
direction'asc' | 'desc'
"desc" returns newest transactions first (anti-chronological), "asc" returns oldest first (chronological). Defaults to "desc".
limitstring
defaults to "50" if not provided, max 10000
cursorstring
searchstring
Full-text search across relevant fields
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.