Get Transactions
GET
/api/v1/wallets/{address}/transactions
const url = 'https://api.qeychain.xyz/api/v1/wallets/example/transactions?page=1&per_page=50&hide_spam=true&sort_by=timestamp&sort_order=desc&include_lineage=false&include_tax_impact=false';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.qeychain.xyz/api/v1/wallets/example/transactions?page=1&per_page=50&hide_spam=true&sort_by=timestamp&sort_order=desc&include_lineage=false&include_tax_impact=false'Get paginated transaction history with advanced filters.
Filters:
type: Filter by transaction type (swap, send, receive, stake, etc.)chain: Filter by blockchain networkfrom_date/to_date: Date range filterhide_spam: Hide spam/trash transactions (default true)asset: Filter by asset symbol(s), comma-separated
Sorting:
sort_by: timestamp (default), value_usd, fee_usdsort_order: desc (default), asc
Optional data:
include_lineage: Include source/destination lots for each transactioninclude_tax_impact: Include realized gains/losses for taxable transactions
Response includes:
- tx_hash, timestamp, type, chain
- from_asset, to_asset, quantity, value_usd, fee_usd
- filter_meta with available_years, available_types, available_assets, spam_count
- Optionally: lineage (source_lots, destination_lots) and tax_impact
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”address
required
Address
string
Query Parameters
Section titled “Query Parameters”page
Page
Page number (1-indexed)
integer
Page number (1-indexed)
per_page
Per Page
Items per page (max 100)
integer
Items per page (max 100)
type
hide_spam
Hide Spam
Hide spam/trash transactions (default true)
boolean
Hide spam/trash transactions (default true)
include_lineage
Include Lineage
Include source/destination lot lineage
boolean
Include source/destination lot lineage
include_tax_impact
Include Tax Impact
Include tax impact (realized G/L) for each transaction
boolean
Include tax impact (realized G/L) for each transaction
owned_wallets
Any of:
Array<string>
null
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Get Transactions Api V1 Wallets Address Transactions Get
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}