🆕Token Perp Positions
Authorizations
apiKeystringRequired
API key for authentication
Body
Request model for TGM perp positions endpoint.
This endpoint provides perp positions data for a specific token.
token_symbolstringRequiredExample:
Token symbol
BTClabel_typestring · enumOptionalDefault:
Label type filter
all_tradersExample: all_tradersPossible values: filtersany ofOptionalExample:
Additional filters to apply to the query.
{"include_smart_money_labels":["Smart HL Perps Trader","Fund"],"position_value_usd":{"min":10000},"side":["Long"],"upnl_usd":{"min":0}}order_byany ofOptional
Custom sort order to override the endpoint's default ordering.
Examples:
- [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value USD descending
- [{"field": "upnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending
- [{"field": "leverage", "direction": "DESC"}] - Sort by leverage descending
Responses
200
TGM perp positions 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-positionsLast updated
Was this helpful?