Funding Rates › Methodology
Methodology: how the numbers on this site are made
Every figure here is a public funding value from a venue, rescaled so that venues with different settlement intervals can sit in one table. This page states exactly what the code does, including the places where it is approximate. Page text last reviewed 2026-10-23.
Contents
- The formulas
- Venues and sources
- Interval handling
- Spread and Spread APR
- What gets filtered
- Refresh and stale data
- Rolling history
- Symbol mapping
- Traditional-asset perps
- Pool versus routed markets
- Pre-IPO perps board
- Stock perps board
- Funding rate history
- Per-row freshness, sources and missing data
- Raw versus normalized rates
- Daily briefing
- Machine-readable JSON, CSV and API
- Known limitations
The formulas
Sign convention throughout: a positive rate means longs pay shorts, a negative rate means shorts pay longs. Rates are stored as decimals (0.0001 is 0.01%) and shown as percentages with four decimals.
- Hourly rate = rate per interval ÷ interval hours.
- 8h rate = hourly rate × 8.
- APR = hourly rate × 24 × 365, which is the same as 8h rate × 3 × 365 (a factor of 1,095 on the 8h rate). It is simple annualisation: no compounding, and it assumes the rate never changes.
Illustrative inputs, not market data: 0.0100% per 8h gives 0.00125% per hour and 10.95% APR. A 4-hour venue quoting 0.0020% per interval gives 0.0005% per hour, 0.0040% per 8h and 4.38% APR.
Venues and sources
Fourteen sources feed the tables, listed below by the label that appears in the Venue column. All except the pool are plain HTTPS calls to the venue's public endpoint; the pool is read from the chain. No API keys or accounts are involved.
| Venue (as labelled) | Source | Interval handling | Notes |
|---|---|---|---|
| Hyperliquid | Public Info API (metaAndAssetCtxs) | 1h, read as an hourly rate | Core perps; delisted markets skipped. |
| Hyperliquid (xyz), Hyperliquid (mkts) | Same API, per HIP-3 dex (the Hyperliquid page and /api/hip3.json list every dex from perpDexs) | 1h | Builder-deployed dexes with gold, FX, index and stock perps. The API gives no open/closed flag, so we apply a fixed weekly schedule: non-crypto markets are treated as closed from Friday 21:00 to Sunday 22:00 UTC. |
| Binance | USD-M premiumIndex plus fundingInfo | From fundingInfo per symbol; 8h when a symbol is not listed there | If the direct call fails, the Hyperliquid predictedFundings feed for Binance is used and the row says so in its source note. |
| Bybit | v5 linear tickers | fundingIntervalHour per symbol; 8h if missing | Same predictedFundings fallback as Binance. |
| OKX | public funding-rate, all instruments | Previous to current funding time; 8h if either is missing | USDT swaps are preferred over USD-margined ones when a coin has both. |
| dYdX | Indexer perpetualMarkets (nextFundingRate) | 1h | Active markets only. |
| Aster | premiumIndex plus fundingInfo (Binance-style API) | From fundingInfo; 8h default | |
| Lighter | Public funding-rates feed | Feed value is read as an 8h figure and divided by 8; the Interval column shows 1h | Checked 2026-10-20: for BTC the feed's value matched the hourly funding history endpoint multiplied by 8 (feed 9.6e-05; history 0.0012% per hour × 8 = 0.0096%), so the 8h reading is correct. |
| edgeX | Public metadata plus latest funding rate | fundingRateIntervalMin per contract; 240 minutes (4h) default | |
| GMX | Arbitrum markets/info API | Continuous; annualised API value divided by 8,760 hours | GMX reports an annualised rate scaled by 1e30 (the contract's per-second factor × 31,536,000 seconds); we divide by 8,760 for hourly. Long and short figures include the borrowing fee. One row per asset: of a coin's pools, the one with the most open interest is shown (pool label in the symbol); markets with under $10,000 total open interest or an empty side are dropped. Shown in tables but excluded from spreads and coin statistics, because pool-skew funding plus a borrowing fee is not comparable with order-book funding. |
| Paradex | Public markets and per-market summaries | funding_period_hours from the summary; 8h default | At most 25 markets per run (all non-crypto, top crypto, and coins on 2+ other venues). |
| LeverUp | LeverUp service API (cross-exchange markets) | Hourly rate from the API | Markets routed to Hyperliquid HIP-3; funding equals Hyperliquid's. Open flag follows the API's stale flag. |
| LeverUp (pool) | LeverUp pairs API plus reads of the contract on Monad mainnet | Per-second on-chain funding rate × 3,600 | Pool markets only. Also carries separate long and short holding fees. |
Each source is fetched with an 8-second timeout. One slow or failing venue never blocks the others.
Interval handling
Venues settle funding every 1h, 4h or 8h (some per contract, some continuously). We take the interval from the venue's own data where it provides one and fall back to the default shown in the table above where it does not. The page then shows three things side by side: the rate per interval as the venue quotes it, the interval itself, and the normalised 1h, 8h and APR values.
Two consequences are worth knowing. First, an 8h-equivalent figure for a 1h venue is a projection of the current hourly rate, not what a trader would pay over the next eight hours. Second, venues that settle continuously (GMX, Paradex, the LeverUp pool) are shown with their hourly equivalent, and "next funding" is blank for them.
Spread and Spread APR
For one asset, Spread (8h) = the highest 8h rate across venues minus the lowest 8h rate. Spread APR = Spread (8h) × 1,095. On the home page and the arbitrage scanner the table lists assets that appear on at least 4 venues, widest spread first, and skips closed markets and GMX. Both apply the liquidity screen described under What gets filtered unless the scanner is opened with ?all=1.
Illustrative inputs: venue A at +0.0100% and venue B at −0.0050% per 8h give a spread of 0.0150% per 8h, or 16.43% Spread APR. That is the gap between two quotes, not a return: it ignores trading fees, the price difference between the two contracts, margin on both legs, liquidation risk and rates that change before payment.
Coin pages use a slightly different base: one value per venue (the median of that venue's rows for the coin), with the median across venues as the headline figure. Their statistics also leave out GMX and markets that are routed to Hyperliquid, which would otherwise count Hyperliquid twice. If every remaining market is closed, the last known rates are used and the page says so.
What gets filtered
- Multi-venue crypto only. A crypto asset is kept in the snapshot only when it appears on at least two venues (rows from pool-settled markets and from markets routed to Hyperliquid are always kept). Single-venue long-tail listings do not appear. Gold, FX, index, stock and pre-IPO markets are kept regardless.
- Home page subset. The default home table shows the 25 assets with the most venues, plus assets that have a pool-settled market, capped at 220 rows. Filters in the page (class, venue, asset) show the full set for that slice and are marked noindex.
- Coin pages. Each coin page needs at least 3 independent venues in the latest snapshot (front ends that route orders to Hyperliquid are not counted separately). Coins beyond the original 17 were chosen by summed open interest across the venues that report it, and their page text is generated from the live numbers. With fewer, the page still renders but is marked noindex and dropped from the sitemap until coverage recovers.
- Liquidity screen (default spread views). The home teaser and the arbitrage scanner compare only legs that look liquid, because the widest funding gaps are usually on thin coins. Open interest in USD is read from the feeds already fetched for three venues: Hyperliquid (open interest in coins × mark price), Bybit (its USD open-interest value) and dYdX (open interest in coins × oracle price). A leg on one of those venues counts when the asset's open interest there is at least $1,000,000. Binance, OKX, Aster, Lighter, edgeX, Paradex and LeverUp markets report no open interest in the feeds used here; their leg counts if the asset is one of the curated coins or is listed on 6+ venues, and no venue that does report open interest shows it below the floor. The row then shows the widest gap between qualifying legs, which can be narrower than the all-venue spread on the coin page. Open interest is a rough proxy: it is not order book depth, and the threshold is a judgement call.
?all=1on the scanner turns the screen off and lowers nothing else; the page's canonical URL stays the base scanner URL. - Delisted and disabled markets are skipped by every source that exposes the flag.
Refresh and stale data
A scheduled job rebuilds the snapshot every 10 minutes. The time on each page ("Last updated" in the footer, or the "as of" time next to a statistic) is the time that snapshot was generated, in UTC, not the time the venue last changed its rate. Rendered pages are cached for a few minutes, so a page can lag the snapshot slightly.
When a venue fails in a run, its rows from the previous snapshot are carried forward and tagged stale with the time of its last good fetch (the grey "stale · HH:MM UTC" badge). Carried rows are kept for at most 6 hours since the last good fetch; after that the venue is shown as unavailable and contributes nothing. Missing data is never filled in: a venue that does not list an asset has no row for it (a dash in the heatmap), and a venue that returned nothing and has no carried rows contributes nothing to statistics. Coin-page and home tables carry an Updated column with each row's time (the snapshot time for fresh venues, the last good fetch for stale ones). The status line at the top of the home page counts venues updated in the latest run, so "12/14" means two venues are stale or down. Stale rows are still included in statistics while they are shown, so a stale badge next to a rate means that rate may be out of date.
Rolling history
For the curated coins only, the run that happens in the first ten minutes of each UTC hour stores one summary point: venue count, cross-venue median 8h rate, lowest and highest venue 8h rate. At most 168 points (7 days) are kept; older points are dropped. Hours when the market is closed are skipped. Coin pages show 24h and 7d windows from these points. Averages of hourly medians are not time-weighted by venue interval, and a window shows fewer samples than hours whenever collection started recently or a run was missed; the page states the sample count.
Symbol mapping
Venue symbols are cleaned (quote suffixes such as USDT or -PERP removed, prefixes dropped) and mapped to one canonical asset so rows line up. Contracts quoted in thousands (k-prefix, 1000×) map to the base coin; rates are percentages, so the contract multiplier does not change them. Aliases such as XAU, XAUT and PAXG map to GOLD (tokenised gold is noted in the row), and US500, SPX500 and SP500 map to SP500.
SPX versus SP500. On crypto perp venues a bare "SPX" is normally the SPX6900 memecoin. We treat a bare SPX as the S&P 500 index only when its mark price is above 1,000; otherwise it becomes SPX6900. The index itself is matched by the SP500 / US500 / SPX500 names. This is a heuristic on price, so a mislabelled row would be mapped wrongly.
Traditional-asset perps (gold, FX, indices, stocks)
Hyperliquid lists these through HIP-3, where independent builders deploy their own dexes (here "xyz" and "mkts"). Funding is computed hourly like core perps, but the underlying market is only open during traditional hours. Where a venue gives no open flag we label rows closed from Friday 21:00 UTC to Sunday 22:00 UTC. That is a weekly approximation: it ignores exchange holidays, early closes and the daily break in some markets. Pre-IPO markets are treated as always open. Closed-market rows are kept in tables but excluded from spreads and, unless nothing else is open, from coin statistics. Prices, funding and index definitions differ between builders and venues, so the same canonical name does not guarantee an identical underlying.
Pool versus routed markets
Two kinds of market need separate handling. Routed markets are passed through to Hyperliquid HIP-3: the funding shown is Hyperliquid's, so those rows carry no independent signal and are left out of spreads and coin statistics. Pool markets are on-chain markets that do have their own pricing: a funding rate (per-second value × 3,600 for the hourly figure) plus a separate holding fee for each side. LeverUp is the venue in the data that has both: its plain rows are routed markets and its "LeverUp (pool)" rows are pool markets, so it appears twice in the tables. In the pool rows the long cost is funding plus the long holding fee and the short cost is the short holding fee minus funding, so the two sides pay different amounts. The headline 1h, 8h and APR columns for a pool row show the funding part only; the L / S column shows the per-side totals.
The calculator has separate modes for these cases.
Pre-IPO perps board
The pre-IPO perps page is built on demand from public venue APIs (Hyperliquid io and vntl dexes, OKX swaps, Aster premium index, Lighter order book and funding feed) plus any pre-ipo rows already in the KV snapshot (from other venues). Results are cached in the Worker Cache API for about five minutes; failed fetches omit that venue with a note rather than failing the page.
Valuation scaling. Implied private-company valuation is mark price times a per-venue scale. Hyperliquid, Aster and Lighter use a scale where 1.0 index units ≈ $1 billion of valuation. OKX uses $10 billion per 1.0 on OpenAI and Anthropic and $1 billion on Moonshot. If a row's implied valuation deviates more than 35% from the cross-venue median for that company, the valuation column shows a dash while the mark price stays visible.
Stock perps board
The stock perps page aggregates stock rows from the KV snapshot with a live Hyperliquid xyz fetch on each cache miss. Only tickers listed on at least two venues after merging appear in the summary table. Rows sort by total open interest (where reported) then venue count. Optional ?venue= filters use the same venue-family names as the arbitrage scanner and are normalised for the cache key; the canonical URL is always the base path.
US session labels use America/New_York clock time (pre-market, regular, after-hours, overnight, weekends and NYSE holidays in 2026–2027). Other traditional-asset pages still use the Friday 21:00 – Sunday 22:00 UTC approximation.
Funding rate history
The funding rate history page fetches Hyperliquid fundingHistory (hourly, paginated 500 rows per call) and OKX funding-rate-history (paginated with after) on request. Queries use ?coin=, ?venue=hyperliquid|okx|both and ?days=7|30|90; the canonical URL is always the base path. Responses are cached in the Worker Cache API for about one hour per tuple. CSV export at /funding-rate-history/data.csv uses the same normalisation and carries noindex. A grey chart line overlays this site's KV history-v1.json cross-venue median when the last seven days of hourly samples exist.
Per-row freshness, sources and missing data
Every row in the home and coin tables carries an Updated · source cell. The time is the time of the fetch run that produced the row: all venues are fetched in the same run, so for a venue that answered it equals the snapshot time, and no per-market exchange timestamp is claimed (venues publish rates that move between fetches). The source link is the public endpoint the fetcher calls for that venue (the table above names each one).
Stale rule. A row is marked stale when its venue's latest fetch failed and the row is carried forward from an earlier snapshot; the badge shows the time of the last good fetch. Rows are dropped after 6 hours without a good fetch, and the venue is then listed as unavailable. In the JSON and CSV feeds a row is also flagged stale when its updated_at is more than 30 minutes old when the feed is served (three refresh cycles), for example if the scheduled job stops running.
Retries. Hyperliquid sources (core, xyz, mkts) retry once, after a short pause, before a run counts them as failed; the other venues are tried once per run.
Missing data. A market a venue does not list, or a field a venue does not publish (open interest, mark price, leverage), is left out or empty, never filled in from another venue. Rows above the 3% per 8h sanity cap are removed, not clipped.
Liquidity. Funding rates are not tradable prices. A large spread on a venue with little open interest or a thin order book may not be capturable at size; oi_usd is included where a venue reports it (Hyperliquid, Bybit, dYdX), and the scanner applies the screen described above.
Raw versus normalized rates
The Rate / interval column is the rate as the venue quotes it for one settlement interval; 1h, 8h and APR are the normalized values from the formulas above. Illustrative inputs, not market data:
| Venue interval | Raw rate / interval | 1h | 8h | APR |
|---|---|---|---|---|
| 1h | 0.0010% | 0.0010% | 0.0080% | 8.76% |
| 4h | 0.0020% | 0.0005% | 0.0040% | 4.38% |
| 8h | 0.0100% | 0.00125% | 0.0100% | 10.95% |
Per-venue funding caps, premium and interest-rate components are not modelled by this site: it reads the rate each venue publishes and rescales it by the interval only. Where a venue's caps or index differ, the same market can still behave differently, see the limitations below.
Daily briefing
Capture time. The cron runs every 10 minutes. The first run on or after 00:00 UTC of each UTC day builds that day's briefing from the snapshot it has just stored (so the data is from about 00:00 to 00:10 UTC) and from the previous UTC day's stored digest. The briefing date is the UTC date of that run. A later run the same day does nothing; if building fails, the next run tries again.
Sections. (1) Funding deviations: the top 10 rows of the deviation ranking, which already applies the liquidity screen ($1M reported open interest, or the curated-major rule for venues that report none). (2) Movers: the largest change in 8h funding per liquid coin and venue against the previous day's digest, using today's liquidity screen. (3) Open interest leaders: the largest coin and venue open interest values among venues that report open interest (the page names them); the day-over-day change is shown where the previous day has the same market. (4) New HIP-3 markets: markets, and dexes, listed now that were not in the previous day's HIP-3 set. The summary sentences are fixed templates filled with these numbers; no text is written by a model.
Publication gate. Each day gets a material-change score: new HIP-3 markets, new HIP-3 dexes, movers of 3 bps or more per 8h, entries in today's top-10 deviation list that were not in yesterday's, and the same for the open interest list. Each part counts at most 10. A dated page /briefing/YYYY-MM-DD/ is published, and added to the sitemap, only when the score is at least 12 (constant BRIEFING_MIN_SCORE). A day with no previous digest (the first run, or after a gap) has no movers and is never published on its own. Unpublished dated URLs return 404.
Weekly rollup. Every day, published or not, is kept and listed on its ISO week page /briefing/week/YYYY-Www/ (weeks start on Monday, UTC). A week page is published, and added to the sitemap, once the week's compared days add up to at least 12 points, so quiet days accumulate. Daily digests are kept for 35 days; briefing records for 400 days. See the briefing index.
Machine-readable JSON, CSV and API
Versioned feed. /api/funding-rates.json and /api/funding-rates.csv (no key, CORS-enabled, cached about five minutes) carry the same rows as the tables. JSON top level: version (integer, currently 1; bumped on breaking changes), generated_at (ISO time of the snapshot), stale_after_minutes, docs, venues and rows. Each venues entry: venue, status (ok, stale or failed), updated_at (ISO time of the venue's last good fetch), stale, rows (count) and source (endpoint URL). Each rows entry: venue, symbol (venue's own symbol), asset (canonical asset), asset_class, rate (rate per settlement interval as the venue quotes it), interval_h, rate_1h, rate_8h, apr (decimals, 0.0001 = 0.01%), oi_usd (null when the venue does not report it), updated_at, stale and source. The CSV has the same columns, in that order, without the venue summary. Sign: positive means longs pay shorts.
Full snapshot. The full latest snapshot is published as JSON at /api/latest.json (no key, CORS-enabled, cached for about five minutes). Top-level fields: generated_at (ISO time of the snapshot), venues (one entry per source with venue, ok, status of ok, stale or failed, last_ok for stale venues, and its rows), rows (every market) and assets (per-asset min, max and spread of the 8h rate). Each row carries venue, venue_symbol, canonical_asset, asset_class, rate_1h, rate_8h and apr as decimals (0.0001 = 0.01%), interval_h, settlement, next_funding, market_open and, where the venue reports them, mark_px, oi_usd and max_leverage. The rate per interval as the venue quotes it is rate_1h × interval_h, which is the Rate / interval column on coin pages. Raw errors and timings are not included. A plain-text summary for crawlers is at /llms.txt.
Read-only API
Three more JSON endpoints, all free, read-only and without a key: /api/rates.json, /api/hip3.json and /api/deviations.json. They are built only from the stored snapshot (no venue is called when you request them), so they refresh when the snapshot does: every 10 minutes, on the same cron as the pages. Responses are cached for about five minutes (Cache-Control: public, max-age=60, s-maxage=300). CORS is open: Access-Control-Allow-Origin: *, methods GET, HEAD and OPTIONS (preflight answers 204); any other method gets 405 with an Allow header. If no snapshot has been stored yet the endpoints answer 503. This site's code applies no rate limit of its own beyond what the hosting platform enforces.
/api/rates.json: one row per coin and venue. Top level: generated_at (when the response was built), snapshot_at (ISO time of the snapshot), count, rows and docs. Each row: asset, venue, venue_symbol, class, rate_per_interval (as the venue quotes it), interval_hours, rate_1h, rate_8h, apr (decimals, 0.0001 = 0.01%), settlement (scheduled or continuous), updated_at (the venue's last good fetch), stale and source (name and public endpoint url). The rows are the same as in /api/funding-rates.json.
/api/hip3.json: Hyperliquid HIP-3 dexes from the Info API's perpDexs and, per dex, metaAndAssetCtxs. Top level: generated_at, snapshot_at, dex_count, market_count, dexes, docs. Each dex: name, full_name and deployer (null when the API gives none), status (ok, or stale when its fetch failed and the previous data is carried forward for up to 6 hours), updated_at, interval_hours (1), source, market_count and markets (symbol, rate_1h, rate_8h, apr, oi_usd = coins × mark price, mark_px). Delisted markets and markets above the 3% per 8h sanity cap are left out; at most 16 dexes are fetched per run.
/api/deviations.json: the data behind funding rate deviation. Top level: generated_at, snapshot_at, count, ranked_count, min_venues, baseline, liquidity_screen (min_oi_usd and a short rule), rows, docs. Each row: asset, asset_class, venue, venues_count, rate_8h, apr, median_8h, median_apr, deviation_8h (venue minus median, decimal), deviation_bps_8h, deviation_apr_pp (8h difference × 3 × 365 × 100), robust_z (deviation ÷ (1.4826 × median absolute deviation of the coin's venue rates); null when that is zero) liquid, median_basis and rank (by absolute deviation among liquid rows; null when liquid is false). Rows whose leg fails the liquidity screen stay in the feed with liquid: false and rank: null. The screen is the one the arbitrage scanner uses: reported open interest of at least $1M, or, where a venue reports none, a curated major or an asset on 6+ venues with no venue below the floor. The median is taken over qualifying legs and a coin needs at least 3 of them to be ranked (median_basis is all for coins that do not). The comparable-row rules are those of the coin statistics: GMX, markets routed to Hyperliquid and closed markets are excluded, each venue counts once per coin (median of its rows), and a coin needs at least 3 venues. There is no 7-day baseline because per-venue history is not stored.
An agent card describing the site and these endpoints is at /.well-known/agent.json.
Known limitations
- Rates are what each venue publishes at fetch time. Predicted, last-settled and current-premium values are not always the same thing across venues, and we do not reconcile them.
- GMX funding is set by the imbalance between long and short open interest in each pool and is quoted with a separate borrowing fee, so it is listed per pool but not mixed into spreads or coin statistics (see the venue table for the unit conversion).
- As a sanity guard, any row whose 8h-equivalent rate is above 3% in either direction is treated as bad data and left out of every table, the heatmap, the scanner and the JSON feed. The per-venue count is in the status endpoint.
- Normalising to 1h or 8h makes venues comparable; it does not make them equivalent. Settlement timing, caps, and index methodology differ.
- Binance and Bybit can come from the Hyperliquid predictedFundings feed instead of their own APIs when a direct call fails; the row's source note says when that happened.
- The market-hours rule is an approximation and the SPX mapping is a price heuristic.
- Data may be delayed, stale or wrong. Nothing here is financial advice.
The raw snapshot is available as JSON; its rate_1h, rate_8h and apr fields are decimals computed as above.