Perp Markets
Perpetual futures markets on Hyperliquid: price, 24h change, funding and open interest across every listed perp, in one call.
Call it
The first response is 402 with the exact price and every rail you can
pay with. Pay, repeat the request with the proof, and you get the result.
curl -X POST https://api.glianalabs.com/v1/tools/perp-markets \
-H 'content-type: application/json' \
-d '{}'When to use it
Use when an agent sizes leverage risk, looks for crowded or discounted positioning through funding, or checks a perp is liquid before trading it. Inputs: all optional — coins (comma-separated, e.g. BTC,ETH,SOL; case-sensitive symbols like kPEPE also match), sort (volume, open_interest, funding or change; default volume), limit (1-50, default 10). Returns markets[] with mark_price, oracle_price, change_24h_pct, funding_rate_hourly, funding_apr_pct, open_interest (in coins), open_interest_usd, volume_24h_usd, premium and max_leverage, plus not_found for requested coins with no market. Funding on Hyperliquid is paid hourly; funding_apr_pct annualises the current hourly rate and is not a forecast.
What it costs
$0.0020 per successful call — flat, with no plan, minimum or monthly fee. A call that fails validation is refused before it runs, so it is never charged.
Not sure this is the right endpoint? GET /v1/consult?intent=… is
free and answers that.
Often used with this
DEX Pairs
$0.0100On-chain DEX liquidity for a token: which pools exist, how deep they are, and how much they trade.
Token Price
$0.0020Spot prices for cryptocurrencies and tokens. Use when an agent values a holding, converts an amount, or checks a market before acting.
Exchange Rate
$0.0020Fiat currency conversion across 160+ currencies.