trade

Get trade history

Get paginated trade history for a token

get/v1/tokens/{tokenName}/trades

Request

Query parameters

tokenNamestring

Ignored; tokenName is resolved from the path.

cursorstring
Example:eyJpZCI6MTIzLCJjcmVhdGVkQXQiOiIyMDI0LTAxLTAxVDAwOjAwOjAwWiJ9

Cursor from previous response for pagination. Omit for first page.

pageSizenumber
Example:20

Number of items per page (default: 50, max: 1000)

searchstring

Search query string

sortBystring

Field to sort by (must be in allowed list)

sortOrder'ASC' | 'DESC'

Sort order (default: DESC)

Response

Cursor-paginated trade history.

errorfalse required

Successful response marker.

messagestring required

Response message.

statusnumber required

HTTP status code.

Example response

{
  "message": "Success",
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.