Hyperliquid Spot

Get Hyperliquid Spot TWAP

Get TWAP data for a Hyperliquid Spot pair.

get/v1/hyperliquid/spot/twap/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/hyperliquid/spot/twap/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:HYPE-USDC

Hyperliquid Spot pair symbol, for example HYPE-USDC

Query parameters

integer
OR
string date-time
Example:1704067200000

Start timestamp for bounded historical queries.

integer
OR
string date-time
Example:1704070800000

End timestamp for bounded historical queries.

cursorstring

Cursor for pagination. Use the value from the previous response metadata.

limitinteger

Maximum number of records to return (default: 100, max: 1000; larger values are capped at 1000).

Response

Hyperliquid Spot TWAP data

successboolean
dataSpotTwapRecord[]

Example response

{
  "success": true
}

Changes

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