v1

latestOpenAPI 3.0.02026-07-2471143147.5 KB
Markets

Get account trade history

Get trade history for a specific account. Limit to 1000 records per page.

get/v1/trade-history

Query parameters

accountstring

Account address to query (hex format, e.g., "0x...")

Account address to query (hex format)

market_idstring int64

Market ID to filter trades (optional, 0 = all markets)

Market ID to filter trades. Use 0 or omit to query all markets.

start_timestring uint64

(optional) Start timestamp in nanoseconds (inclusive)

Start timestamp in nanoseconds (inclusive)

end_timestring uint64

(optional) End timestamp in nanoseconds (exclusive)

End timestamp in nanoseconds (exclusive)

pageinteger

Page number (1-based, default: 1)

limitinteger

Max number of items to return (default: 100, max: 1000)

sorted_bystring

Sort the results using the given field. Supported values: time (sort by time asc), -time (sort by time desc). Default: -time.

Response

A successful response.

market_idstring int64
wallet_addressstring
pageinteger
has_next_pageboolean