API referenceMarkets
HYPERPEAK DATA

Historical OHLCV candles API endpoint.

GET/v1/markets/{coin}/candles

Retrieve stored OHLCV candles for supported Hyperliquid perpetual markets and intervals.

Parameters

NameType / locationDetails
coinrequiredstring · pathExample: BTC
intervalstring · queryOne of: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M
startTimerequiredinteger · queryUnix milliseconds. Ordered range, maximum 31 days.
endTimerequiredinteger · queryUnix milliseconds. Ordered range, maximum 31 days.
limitinteger · queryDefault: 50
cursorstring · queryOpaque cursor returned in meta.pagination.nextCursor. Keep the same filters.

What you can build

  • Render price charts
  • Calculate technical indicators
  • Analyze bounded historical periods

Data source and freshness

This endpoint reads Hyperpeak’s indexed Hyperliquid market intelligence. Every response identifies its source, data timestamp, fetch time, and coverage in the meta object.

Response example

JSON
{
  "data": [],
  "meta": {
    "source": "hyperpeak",
    "dataAsOf": "2026-09-16T00:00:00Z",
    "fetchedAt": "2026-09-16T00:00:01Z",
    "coverage": "See endpoint fields"
  }
}

Limits and errors

This request uses one admitted API request. Historical ranges are limited to 31 days and list responses use cursor pagination where shown. Review the rate limits and error handling guide.

Related endpoints

Response contractJSON includes data and meta with source, dataAsOf, fetchedAt, and coverage. Lists include meta.pagination with nextCursor and hasMore. Financial decimals can be strings. Native numeric timestamp fields use Unix seconds; request ranges use milliseconds.
FROM REFERENCE TO REQUEST

Try it yourself.

Uses your real allowance
Held in memory only. Never saved in browser storage.
cURL
curl 'https://api.hyperpeak.ai/v1/markets/BTC/candles?interval=1h&startTime=1795330800000&endTime=1795417200000&limit=50' \
  -H "Authorization: Bearer YOUR_API_KEY"
GET · api.hyperpeak.ai
Hyperpeak API v1 · OpenAPI 3.1View complete schemas