Perp Markets API
Every perpetual futures market on an exchange: mark price, funding, open interest, 24h volume. Biggest first.
You send
Nothing required.
+ 1 optional: venue
You get back
JSON with these fields, inside data:
venue, count, markets, blind, source
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 5 s old
- Auth
- Bearer key
- Chains
- Solana
curl "https://api.crypto2api.com/v1/crypto/perps?venue=hyperliquid" \
-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.
- venueoptionalquery · string
Which exchange: hyperliquid, binance, bybit, dydx, or all for every exchange in one list. Default hyperliquid.
e.g. hyperliquid
default hyperliquid
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
Key fields
- venuestring
- Venue.
- countnumber
- How many items came back.
- marketsarray
- A list of markets.
- blindarray
- What could not be read this time, so you know what the answer does not cover.
- markets[].venuestring
- Venue.
- markets[].marketstring
- Market.
- markets[].mark_price_usdnumber
- Mark price, in US dollars.
- markets[].index_price_usdnumber
- Index price, in US dollars.
- markets[].funding_rate_8h_pctnumber
- Funding rate 8h, in %.
- markets[].funding_interval_hoursnumber
- Funding interval hours.
7 more fields
- markets[].next_funding_atstring
- Next funding, time (ISO 8601, UTC).
- markets[].open_interest_usdnumber
- Open interest, in US dollars.
- markets[].volume_24h_usdnumber
- Volume 24h, in US dollars.
- markets[].price_change_24h_pctnumber
- Price change 24h, in %.
- markets[].max_leveragenumber
- Max leverage.
- sourcestring
- Where the numbers were read from.
- markets[].symbolstring
- The ticker, e.g. BONK.
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 5 s 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
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/perps?venue=hyperliquid" \
-H "Authorization: Bearer c2a_your_key"