🆕Token Perp Trades
Authorizations
apiKeystringRequired
API key for authentication
Body
Request model for TGM perp trades endpoint.
This endpoint provides perp trades data for a specific token.
token_symbolstringRequiredExample:
Token symbol
BTCfiltersany ofOptionalExample:
Additional filters to apply to the query.
{"order_type":["MARKET"],"side":["Long"]}order_byany ofOptional
Custom sort order to override the endpoint's default ordering.
Examples:
- [{"field": "block_timestamp", "direction": "DESC"}] - Sort by timestamp descending
- [{"field": "value_usd", "direction": "DESC"}] - Sort by trade value descending
Default: block_timestamp DESC, transaction_hash ASC, trader_address ASC (ensures stable pagination and prevents duplicate rows)
Responses
200
TGM perp trades data
application/json
400
Bad Request
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
404
Not Found
application/json
422
Unprocessable Content
application/json
429
Too Many Requests
application/json
500
Internal Server Error
application/json
post
/api/v1/tgm/perp-tradesLast updated
Was this helpful?