Skip to content

Perp Candles API

Open, high, low, close and USD volume candles for a perpetual futures market, newest first.

GET/v1/crypto/perp/:symbol/candles

You send

  • symbol The coin as a plain base asset: BTC, ETH, SOL, HYPE. Exchange spellings like BTCUSDT or BTC-USD work too

+ 3 optional: venue, interval, limit

You get back

JSON with these fields, inside data:

venue, market, interval, candles, symbol, note, …

Example and every field explained ↓

It costs

$0.002 / call

The first 100 priced calls a day are free on every key.

Freshness
up to 1 min old
Auth
Bearer key
Chains
Solana
curl "https://api.crypto2api.com/v1/crypto/perp/BTC/candles?venue=hyperliquid&interval=1h&limit=100" \
  -H "Authorization: Bearer c2a_your_key"

Swap in your key for c2a_your_key. No key yet? curl -X POST https://api.crypto2api.com/v1/keys makes one, free, no sign-up, or just press Run below.

Used forChain & perps

Solana only. This endpoint takes no chain parameter — sending one is a 400.

Parameters

Required first. Each example is a value that works.

Response

Every answer is { data, cost_usd, balance_usd, cached, request_id }. Below is a real data from this endpoint, read when the page was built.

Example data

"symbol": "BTC",
"venue": "hyperliquid",
"market": "BTC",
"interval": "1h",
"open_at": "2026-11-28T23:00:00.000Z",
"open": 59390,
"high": 59424,
"low": 59334,
"close": 59334,
"volume_usd": 5671801.73
},
"open_at": "2026-11-28T22:00:00.000Z",
"open": 59260,
"high": 59413,
"low": 59217,
"close": 59389,
"volume_usd": 36319268.12
}
],
"note": "This exchange reports candle volume in coins; volume_usd is coins × each candle's close.",
"source": "Hyperliquid (hyperliquid.xyz)"
}

Key fields

venuestring
Venue.
marketstring
Market.
intervalstring
The candle size.
candlesarray
The candles, newest first: open, high, low, close, volume.
symbolstring
The ticker, e.g. BONK.
notestring
A plain sentence about how to read this answer.
sourcestring
Where the numbers were read from.
The wrapper every answer comes in
data
The answer itself: the example above.
cost_usd
What this one call was charged — 0 while you are inside the free 100 a day.
balance_usd
What is left on the key after it.
cached
true means another caller asked first, so the answer may be up to 1 min old.
request_id
Quote this if you report something; it is on your Activity page too.

A fact the API could not read is left out or named, never estimated. When an upstream is down you get a 503 with a stable code you can branch on, not a half-filled answer.

Try it

A real call against the live API. The first 100 priced calls a day are free.

Response

"symbol": "BTC",
"venue": "hyperliquid",
"market": "BTC",
"interval": "1h",
"open_at": "2026-11-28T23:00:00.000Z",
"open": 59390,
"high": 59424,
"low": 59334,
"close": 59334,
"volume_usd": 5671801.73
},
"open_at": "2026-11-28T22:00:00.000Z",
"open": 59260,
"high": 59413,
"low": 59217,
"close": 59389,
"volume_usd": 36319268.12
}
],
"note": "This exchange reports candle volume in coins; volume_usd is coins × each candle's close.",
"source": "Hyperliquid (hyperliquid.xyz)"
}

What this example answered when the page was built, shortened. Run it for a live answer.

Copy it

Runs as-is, with your key in place of c2a_your_key. It follows the boxes above.

curl "https://api.crypto2api.com/v1/crypto/perp/BTC/candles?venue=hyperliquid&interval=1h&limit=100" \
  -H "Authorization: Bearer c2a_your_key"

More in Perps

All endpoints →