For the complete documentation index, see llms.txt. This page is also available as Markdown.

Perp Trades

Data Freshness & Historical Coverage

For data freshness and historical coverage, see Data Coverage by Chain; this endpoint follows it except where noted below.

  • Covers the Hyperliquid perpetuals dataset (reliable from May 2025), not per-chain history — see the Hyperliquid note on the coverage page.

Get "Token God Mode" (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

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
post/api/v1/tgm/perp-trades

Last updated

Was this helpful?