Skip to content

Export Transactions

GET
/api/v1/wallets/{address}/transactions/export
curl --request GET \
--url 'https://api.qeychain.xyz/api/v1/wallets/example/transactions/export?format=csv&range=all&hide_spam=true&sort_by=timestamp&sort_order=desc&include_lineage=false'

Export the filtered transaction history as a downloadable CSV (or JSON).

Applies the same filters as GET /transactions (type, chain, asset, spam, date) plus a quick range preset (all / 1m / 3m / 6m / 9m / 1y / fy / custom), and returns every matching row (no pagination, subject to the plan tx limit).

address
required
Address
string
format
Format

Export format: csv or json

string
default: csv

Export format: csv or json

range
Range

Quick range: all, 1m, 3m, 6m, 9m, 1y, fy, custom

string
default: all

Quick range: all, 1m, 3m, 6m, 9m, 1y, fy, custom

from_date
Any of:
string

Start date (ISO 8601) — used when range=custom

to_date
Any of:
string

End date (ISO 8601) — used when range=custom

type
Any of:
string

Filter by type(s), comma-separated

chain
Any of:
string

Filter by blockchain network

asset
Any of:
string

Filter by asset symbol(s), comma-separated

hide_spam
Hide Spam

Hide spam/trash transactions

boolean
default: true

Hide spam/trash transactions

sort_by
Any of:
string

Sort field: timestamp, value_usd, fee_usd

sort_order
Any of:
string

Sort direction: desc, asc

include_lineage
Include Lineage

Include lot lineage + tax-impact columns

boolean

Include lot lineage + tax-impact columns

owned_wallets
Any of:
Array<string>

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}