Why Raw Funding Rates Lie Across Venues
Every hyperliquid binance funding rate arbitrage thread starts with a screenshot: Binance BTC funding at 0.01%, Hyperliquid at 0.0015%, "short Binance long HL, free money". It is not, because the two numbers are not in the same units. Hyperliquid pays funding every hour. Binance's standard interval is eight hours, and some contracts settle every four. A rate without its interval is not a yield.
The fix is to annualise before comparing. An hourly rate compounds 8,760 times a year, an 8-hour rate 1,095 times, a 4-hour rate 2,190. Only after that conversion can you subtract one venue from the other and call the difference a spread.
This post builds a scanner that does the conversion with our API, then spends as long on the costs as on the signal, because that is where most of these trades die.
How Do I Normalise 1h and 8h Funding to APR?
Multiply the per-period rate by the number of periods in a year. Keep it simple (no compounding); the error is negligible at these magnitudes and the sign is what matters.
| Venue | Raw rate (example) | Interval | Periods / year | APR |
|---|---|---|---|---|
| Binance | 0.00010000 | 8h | 1,095 | 10.95% |
| Binance (4h contract) | 0.00005000 | 4h | 2,190 | 10.95% |
| Hyperliquid | 0.00001250 | 1h | 8,760 | 10.95% |
All three rows are the same yield. Ranked by raw rate, Binance looks eight times more expensive to be long. That is the whole trap.
Do not assume Binance's interval. Our Binance funding rows carry funding_time for every settlement, so the interval is the gap between consecutive rows: 28,800,000 ms is 8h, 14,400,000 ms is 4h. Derive it per symbol rather than hard-coding 8h. Hyperliquid's hourly cadence is fixed and its /hyperliquid/funding-rates history carries time per settlement too.
PERIODS = {3600_000: 8760, 14_400_000: 2190, 28_800_000: 1095}
def apr(rate, interval_ms):
return rate * PERIODS[interval_ms]
The Three Endpoints a Scanner Needs
All three are on the free tier. Two are per coin; one gives the entire Hyperliquid universe in a single call.
GET /api/v1/derivatives/funding-rates?coin=BTC: both venues for one coin.binance.current_rate,binance.avg_rate(over 30 settlements) andbinance.count;hyperliquid.current_rate,hyperliquid.history_count,history_availableandhistory_status(ok,warmingorunavailable). Since 2026-10-17, a coin Binance does not list gives abinanceblock ofnullvalues pluserror, not zeros. A zero used to look like a perfectly neutral market; now you can tell it is simply not there.GET /api/v1/derivatives/binance/funding-rates?symbol=BTC&limit=100: Binance history.rates[]offunding_rate,funding_time,mark_price, pluscurrent_rate,avg_rateandcount. A bare coin means its USDT perp; an unlisted symbol is a 400unknown_symbol, a Binance outage a 503 withRetry-After.GET /api/v1/hyperliquid/funding-rates?coin=BTC&limit=100: Hyperliquidcurrent_rateplushistory[]offunding_rate,premiumandtime. Notesymbolis accepted as an alias and any unknown query parameter is a 400.
For the universe pass, GET /api/v1/hyperliquid/open-interest returns every Hyperliquid perp with funding_rate, open_interest_usd, mark_price, oracle_price and premium in one response, so you shortlist there and only spend per-coin calls on candidates.
curl "https://cryptodataapi.com/api/v1/derivatives/funding-rates?coin=SOL" \
-H "X-API-Key: cdk_live_your_key"{
"coin": "SOL",
"binance": {"current_rate": 0.0001, "avg_rate": 0.000083, "count": 30},
"hyperliquid": {"current_rate": 0.0000125, "history_count": 100,
"history_available": true, "history_status": "ok"}
}Numbers above are illustrative. The shape, and the null-plus-error rule for an unlisted coin, are exact.
A Funding Arbitrage Scanner in Python
Shortlist from the Hyperliquid universe, then fetch Binance history for each candidate, derive its interval from funding_time, annualise both legs and rank by spread. Free keys allow 10 requests a minute, so the shortlist matters; Pro lifts that to 30.
import httpx, time
BASE = "https://cryptodataapi.com/api/v1"
H = {"X-API-Key": "cdk_live_your_key"}
PERIODS = {3600_000: 8760, 14_400_000: 2190, 28_800_000: 1095}
hl = httpx.get(f"{BASE}/hyperliquid/open-interest", headers=H, timeout=30).json()
# shortlist: liquid perps with a non-trivial hourly rate either way
cands = sorted(
(a for a in hl["assets"] if a["open_interest_usd"] > 20_000_000),
key=lambda a: -abs(a["funding_rate"]))[:8]
rows = []
for a in cands:
r = httpx.get(f"{BASE}/derivatives/binance/funding-rates",
params={"symbol": a["coin"], "limit": 3}, headers=H, timeout=30)
if r.status_code == 400: # not a Binance perp: no cross-venue trade
continue
r.raise_for_status()
b = r.json()
if b["count"] < 2:
continue
gap = b["rates"][-1]["funding_time"] - b["rates"][-2]["funding_time"]
b_apr = b["current_rate"] * PERIODS.get(gap, 1095)
hl_apr = a["funding_rate"] * 8760
rows.append((a["coin"], round(hl_apr*100, 2), round(b_apr*100, 2),
round((hl_apr - b_apr)*100, 2)))
time.sleep(6) # stay inside the free 10/min
for coin, h, b, spread in sorted(rows, key=lambda x: -abs(x[3])):
side = "short HL / long Binance" if spread > 0 else "long HL / short Binance"
print(f"{coin:6} HL {h:7.2f}% BIN {b:7.2f}% spread {spread:7.2f}% {side}")Positive spread means Hyperliquid longs pay more than Binance longs, so the carry trade is short the HL perp and long the Binance perp, collecting on one leg and paying less on the other. The sign flips with the spread, and it flips often. A scan is a snapshot, not a position.
The Costs That Decide Whether the Spread Is Real
A 10% annualised spread sounds large. It is roughly 0.027% a day. Four taker legs (open and close on two venues) at Hyperliquid's published taker fee of 4.5 bps per side (/hyperliquid/meta, fees.perps.taker = 0.00045) plus Binance's own schedule can cost 15-25 bps round trip, which is one to three weeks of carry before anything else goes wrong. The things that go wrong:
- Basis divergence. You are long one mark price and short another. If the two perps drift apart, mark-to-market loss can exceed weeks of funding. Hyperliquid pays funding on its oracle price, not the mark; a persistent
premiumis exactly that drift. - Funding mean-reverts. The extreme rate that put a coin at the top of the scan is the one most likely to normalise within hours. Check
avg_rateon Binance and thehistory[]on Hyperliquid against the current print before sizing. - Liquidation on either leg. Two margined positions, two liquidation prices. A squeeze that moves the coin 15% can liquidate the losing leg before the winning leg's unrealised gain is available as margin on the other venue.
- Capital efficiency. Collateral is split across two venues, so the yield is on half your capital at best.
- Execution timing. Hyperliquid settles on the hour; Binance at its own boundaries. Entering just after a settlement forfeits that period's payment on the receiving leg.
Rule of thumb: require the annualised spread to cover the full round-trip fee within a week and require the spread to have persisted across several of the last Binance settlements. Most scan results fail one of the two.
Raw-Rate Ranking vs APR-Normalised Ranking
| Ranking on raw rates | Ranking on APR with interval from funding_time | |
|---|---|---|
| Binance 8h vs HL 1h | Binance looks ~8x more extreme | Comparable yields |
| Binance 4h contracts | Silently halves their apparent yield | Correct, per symbol |
| Coin not on Binance | Pre-2026-10-17 zeros looked like a neutral venue | null + error, skipped |
| Persistence | Not visible | avg_rate and history[] show it |
The deeper discussion of the interval trap with live numbers is in API to Get the Current BTC Perpetual Funding Rate; the crowding read across venues is in Crypto Funding Rates API: Cross-Exchange Basis and the regime version, which already reports an APR field, in market_get_funding_regime.
How to Use This in a Bot (and When Not To)
Use the scanner as a screen, run every hour just after the Hyperliquid settlement, and only promote a coin to a trade when the APR spread has held for several Binance settlements and clears fees in a week. Log the interval you derived, the history_status and the Binance error if any, so a skipped coin is explainable.
- Do not trade a one-sample spread. Pull
limit=100on both histories and look at persistence first. - Do not treat
history_count: 0withhistory_status: warmingas a dead feed; the livecurrent_rateis valid and the history arrives seconds later. - Do not size on funding alone. Open interest and the
premiumfield tell you whether the rate is backed by crowding or by a thin book. - Not for the free tier at scale. Scanning 150 coins per-coin is 150 requests; use the universe call to shortlist, or move to Pro.
Funding arbitrage is a real but thin carry. The scanner's value is less in finding the trade than in not taking the ones a raw-rate screenshot would have sold you.
Frequently asked questions
How do I compare Hyperliquid and Binance funding rates fairly?
Annualise both first. Hyperliquid pays hourly, so multiply by 8,760; Binance's standard interval is 8 hours (multiply by 1,095) but some contracts settle every 4 hours (2,190). Derive the Binance interval from the gap between consecutive funding_time values rather than assuming it.
Which endpoint gives both venues' funding for one coin?
GET /api/v1/derivatives/funding-rates?coin=BTC returns a binance block (current_rate, avg_rate over 30 settlements, count) and a hyperliquid block (current_rate, history_count, history_available, history_status). Since 2026-10-17 a coin Binance does not list gives null values plus error, not zeros.
What costs eat a funding arbitrage spread?
Four taker legs across two venues, basis divergence between the two marks, funding mean-reversion, liquidation risk on either leg and capital split across venues. A 10% APR spread is about 0.027% a day, so fees alone can take one to three weeks of carry.
Is there a single call for every Hyperliquid coin's funding rate?
Yes, GET /api/v1/hyperliquid/open-interest returns every active Hyperliquid perp with funding_rate, open_interest_usd, mark_price, oracle_price and premium, which is the right call to shortlist candidates before per-coin lookups.



