πŸ†•Perp Trades

Get TGM Perp Trades Data

post

Retrieve perpetual trade data for a specific token on Hyperliquid. Shows individual trades with detailed information including trader address, trade side (Long/Short), action type (Add/Reduce/Open/Close), order type (Market/Limit), and trade metrics.

Key Features:

  • Hyperliquid perpetual contracts only

  • Smart money filtering capabilities

  • Detailed trade breakdown with parsed action fields

  • Support for both Long and Short position trading

  • Market and Limit order types

Request Parameters:

  • token_symbol: Token symbol to fetch trades for (e.g., "BTC", "ETH")

  • date: Date range for the trades

  • filters: Additional filters for side, action, order_type, etc.

  • pagination: Page and per_page parameters

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_symbolstringRequired

Token symbol

Example: BTC
filtersany ofOptional

Additional filters to apply to the query.

Example: {"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
Responses
200

TGM perp trades data

application/json
post
/api/v1/tgm/perp-trades

Last updated

Was this helpful?