Hyperliquid

Closed Trade Funding and Leverage

Returns immutable funding and leverage context for one closed trade identified by the composite key from /hyperliquid/trades. Use this for a selected trade detail instead of enriching every history row. funding_status=complete distinguishes a real zero from unavailable historical data; leverage fields are omitted when the completed-trade source has no value.

get/gateway/v1/hyperliquid/trades/context

Query parameters

addressstring required

Wallet address: a 0x EVM address or an ENS name (e.g. vitalik.eth). Solana addresses are not supported.

Wallet address: a 0x EVM address or an ENS name (e.g. vitalik.eth). Solana addresses are not supported.

symbolstring required

Hyperliquid perpetual market id, including a builder prefix for HIP-3 markets (for example xyz:GOLD).

Hyperliquid perpetual market id, including a builder prefix for HIP-3 markets (for example xyz:GOLD).

direction'long' | 'short' required

Opening direction of the episode.

Opening direction of the episode.

open_timeinteger required

Episode open time, Unix seconds, copied from GET /hyperliquid/trades.

Episode open time, Unix seconds, copied from GET /hyperliquid/trades.

close_timeinteger required

Episode close time, Unix seconds, copied from GET /hyperliquid/trades.

Episode close time, Unix seconds, copied from GET /hyperliquid/trades.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/schemas/DataObjectResponseHyperliquidTradeContext.json"
}

Changes

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