{"uid":"cap_MMdDizbpAqYWsOOy61HC0","slug":"hyperliquid-candles-2693b139","name":"Hyperliquid Candles","description":"Use when an agent needs price history for a Hyperliquid perp or HIP-3 market (xyz:TSLA). Input: coin, interval (1m-1M, default 1h), limit (1-500, default 100), optional start/end (ISO date or unix). Output: JSON candles (time, open, high, low, close, volume, trades) plus summary: change %, high/low, volume, annualized realized volatility. Unknown coin: 400, not charged. Example: ?coin=ETH&interval=1h&limit=24","url":"https://1gateway.dev/v1/crypto/hyperliquid/candles?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["coin"],"properties":{"end":{"type":"string","maxLength":30,"description":"End time: ISO date/time or unix seconds/ms (default now)"},"coin":{"type":"string","pattern":"^([a-z][a-z0-9]{0,9}:)?[A-Za-z0-9]{1,20}$","description":"Hyperliquid perp symbol (BTC, ETH, kPEPE) or HIP-3 dex:COIN (xyz:TSLA). Not listed or delisted: 400…"},"limit":{"type":"integer","default":100,"maximum":500,"minimum":1,"description":"Number of candles, newest last (1-500, default 100)"},"start":{"type":"string","maxLength":30,"description":"Start time: ISO date/time or unix seconds/ms (default end - limit x interval)"},"interval":{"enum":["1m","3m","5m","15m","30m","1h","2h","4h","8h","12h","1d","3d","1w","1M"],"type":"string","default":"1h","description":"Candle interval (default 1h)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["coin","dex","interval","from","to","count","summary","candles","source","note"],"properties":{"to":{"type":"string"},"dex":{"type":"string"},"coin":{"type":"string"},"from":{"type":"string"},"note":{"type":"string"},"count":{"type":"integer"},"source":{"type":"string"},"candles":{"type":"array","items":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"open":{"type":"number"},"time":{"type":"string"},"close":{"type":"number"},"trades":{"type":"integer"},"volume":{"type":"number"}},"additionalProperties":true}},"summary":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"open":{"type":"number"},"close":{"type":"number"},"changePct":{"type":"number"},"volumeBase":{"type":"integer"},"volumeUsdApprox":{"type":"integer"},"realizedVolAnnualizedPct":{"type":"number"}},"additionalProperties":true},"interval":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"0.2000","medianCents":"0.2000","p90Cents":"0.2000","minCents":"0.2000","maxCents":"0.2000","p95Cents":"0.2000","sampleCount":10,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GP8oK_AwG_SHP0tpyb2ry","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches OHLCV candlestick price history for Hyperliquid perpetual futures and HIP-3 markets, with a computed summary including realized volatility.","exampleAgentPrompt":"Can you pull the last 24 hourly candles for ETH on Hyperliquid and tell me the price change, high/low range, and annualized realized volatility?","exampleUseCases":[{"title":"Volatility screening before options trade","prompt":"Fetch the last 100 one-hour candles for BTC on Hyperliquid and tell me the annualized realized volatility and the high/low range for the period."},{"title":"Daily recap for a perp portfolio","prompt":"Get me the last 7 daily candles for SOL, ARB, and ETH perps on Hyperliquid so I can see how each one performed this week — price change, volume, and highs and lows."},{"title":"HIP-3 token price history","prompt":"Pull 4-hour candles for the xyz:TSLA HIP-3 market on Hyperliquid for the past 30 days so I can chart how it's been trading."}],"resultDescription":"Returns a JSON object containing an array of candles (each with timestamp, open, high, low, close, volume, and trade count), plus a summary object with period price change %, overall high and low, total volume, and annualized realized volatility. Also includes metadata: coin, exchange, interval, from/to timestamps, and candle count.","failureModes":["400 error returned (without charge) if the coin symbol is unknown, not listed, or delisted on Hyperliquid","Invalid interval enum value causes a 400 validation error","Limit outside 1-500 range causes a 400 validation error","Malformed start/end timestamps may cause a 400 error","Network or upstream Hyperliquid API outage may cause a 5xx error"],"whenToPreferThis":"Use this endpoint when you need candlestick OHLCV price history specifically for Hyperliquid perpetual futures or HIP-3 DEX markets, including the computed realized volatility summary. Prefer this over generic crypto candle APIs when the trading venue is specifically Hyperliquid, or when you need HIP-3 tokens (e.g. xyz:TSLA). The built-in realized volatility and change % summary saves a secondary computation step.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":10,"lastUsedAt":"2026-11-07T11:45:25.553Z","lastSuccessfullyRanAt":"2026-11-07T11:45:25.553Z","lastHealthCheckAt":"2026-11-19T23:48:21.304Z","isFirstParty":false,"canonicalSlug":"hyperliquid-candles-2693b139"}