A tiny, zero-dependency CLI to fetch live funding rates, open interest and 24h volume for every Hyperliquid perpetual market — straight from the public API.
- 🔑 No API key, no wallet. Read-only, public data only.
- 🪶 Zero dependencies. Pure Python standard library.
- 📊 Funding (hourly + annualised), open interest and 24h volume for 100+ perps.
- 🧰 Table, JSON or CSV output — script it, pipe it, chart it.
git clone https://github.com/dexlytrade/hyperliquid-funding-rates.git
cd hyperliquid-funding-ratesRequires Python 3.9+. That's it — no pip install needed.
python hyperliquid_funding.py # all markets, sorted by |funding|
python hyperliquid_funding.py --top 20 # top 20
python hyperliquid_funding.py --coin BTC ETH # only these coins
python hyperliquid_funding.py --sort volume # sort by: funding | volume | oi
python hyperliquid_funding.py --json # machine-readable JSON
python hyperliquid_funding.py --csv out.csv # write a CSVCOIN MARK FUND/hr FUND APR OI 24h VOL MAXLEV
------------------------------------------------------------------------------
BTC 97,420.0000 0.0013% 11.38% $7.7B $9.0B 40x
ETH 3,512.4500 -0.0009% -7.88% $1.2B $2.1B 25x
...
FUND/hr is the hourly funding rate charged on Hyperliquid. FUND APR annualises it (hourly × 24 × 365) for convenience — it is not a guaranteed yield, and funding flips sign frequently.
One POST to the public info endpoint:
POST https://api.hyperliquid.xyz/info
{ "type": "metaAndAssetCtxs" }
The response pairs each coin in meta.universe with its context (funding, openInterest, markPx, dayNtlVlm, …). See the Hyperliquid API docs.
- Funding-rate dashboards and Telegram/Discord alerts.
- Delta-neutral / funding-arbitrage screening.
- Feeding a spreadsheet or notebook (
--csv/--json).
PRs welcome — add exchanges, output formats, or a small web UI. Keep it dependency-light.
Public market data only. Nothing here is financial advice. Not affiliated with Hyperliquid — this tool reads Hyperliquid's public API.
Maintained by the team behind Dexly — a self-custodial mobile app for trading Hyperliquid perps, spot, tokenized stocks and prediction markets.