What is a funding rate? How crypto perpetual funding works, with live Hyperliquid rates

GoldRush TeamUpdated 19 min read

A funding rate is a periodic payment between longs and shorts that keeps a perpetual futures price near spot. How it works, who pays, live Hyperliquid rates.

A funding rate is a periodic payment between traders holding long and short positions in a perpetual futures contract (a "perp"), a futures contract that never expires. When the perp trades above the spot price of its asset, the rate is positive and longs pay shorts; when it trades below, the rate is negative and shorts pay longs. On Hyperliquid, funding is paid every hour.

You can read the live funding rate of every Hyperliquid market, and each market's hourly history, from the GoldRush Hyperliquid API. The two scripts that produced this page's figures are at the end.

How a funding rate works

A long position gains when the price rises, and a short position gains when it falls. The spot price is the price of the asset itself, as opposed to the price of a contract on it.

A perpetual contract has no expiry date, so no settlement day pulls its price back to the asset's spot price. Without some other force, the perp's price could drift away from spot and stay there. Hyperliquid's contract specifications describe its perps as derivatives "without expiration date" that rely on funding payments to converge to the spot price over time.

Here is how funding pulls the price back when more traders want to be long than short:

  1. Buying pressure lifts the perp's price above spot.
  2. The funding rate turns positive, so longs pay shorts every hour.
  3. Holding a long now costs money and holding a short earns it, so some traders close longs or open shorts.
  4. That selling pushes the perp's price back toward spot, and the rate shrinks as the gap closes.

When more traders want to be short, the same steps run in reverse with a negative rate.

The funding rate is the size of the payment, as a fraction of the position's value (its size times the asset's price) for each funding interval. On Hyperliquid the interval is one hour. For example (illustrative), a rate of 0.00125% on a position worth $10,000 is a payment of $0.125 for that hour.

Funding is peer to peer. On Hyperliquid, one side of the market pays the other, and the exchange collects no fee on the payment. Each hourly payment is added to or subtracted from the balance of every holder of an open position. The rate's sign tells you which side pays, and its size tells you how much.

Who pays whom: positive and negative funding rates

Funding rate Perp price vs spot (oracle) Who pays Who receives
Positive Perp above spot (premium) Longs Shorts
Negative Perp below spot (discount) Shorts Longs

A positive rate makes holding a long more expensive and pays shorts to hold, which rewards trades that push the perp price back down toward spot. A negative rate does the reverse: shorts pay, longs are paid, and the reward goes to trades that push the perp price back up. Hyperliquid's funding documentation says that a high rate "can incentivize traders to take the opposite position."

On Hyperliquid, a fixed interest rate shifts the table slightly: a market trading at spot, or a little below it, still shows a small positive rate, so longs pay. The rate turns negative, and shorts start paying, only when the hour's average premium is below -0.05%.

Hyperliquid works out each position's payment with this formula:

funding payment (USDC) = position size × oracle price × funding rate

Position size is in the asset (for example, BTC). Hyperliquid turns it into a dollar value with the oracle price, its index of the asset's price on centralized exchanges. It does not use the mark price, a separate price that Hyperliquid uses for margin, liquidations and unrealized profit and loss.

Read the result from the long's side. With a positive rate the result is positive: a long pays that amount, and a short of the same size receives it. With a negative rate the result is negative, and the money flows the other way. For example (illustrative), at a rate of -0.00125% instead of +0.00125%, a 0.5 BTC long at an oracle price of $61,287.50 would receive about $0.38 for the hour instead of paying it.

How the funding rate is calculated on Hyperliquid

As Hyperliquid's funding documentation defines it, the funding rate has two parts: a fixed interest rate, and a premium that measures how far the perp trades from the oracle price. A formula combines them into an 8-hour rate, and Hyperliquid pays one eighth of that rate every hour.

The interest rate is fixed at 0.01% every 8 hours, which is 0.00125% every hour, paid by longs to shorts. Hyperliquid sets it "for consistency with CEXs" (centralized exchanges) and describes it as the difference in cost between borrowing USD and borrowing spot crypto.

The premium is built from impact prices. An impact price is the average price a market order of a fixed dollar size, the impact notional, would fill at against the order book. The impact bid price is the average a seller of that size would get, and the impact ask price is the average a buyer of that size would pay. The premium compares them with the oracle price:

impact_price_difference = max(impact_bid_px - oracle_px, 0) - max(oracle_px - impact_ask_px, 0)premium = impact_price_difference / oracle_px

The first term is above zero only when even a seller gets more than the oracle price, so the perp trades above spot. The second term is above zero only when even a buyer pays less than the oracle price, so the perp trades below spot, and it is subtracted. When the oracle price sits between the impact bid and ask, both terms are zero and so is the premium.

impact_bid_px and impact_ask_px are the average execution prices for a market order of the impact notional on each side of the book: 20,000 USDC for BTC and ETH, and 6,000 USDC for every other asset. The oracle price is a weighted median of spot exchange prices that each validator computes. Hyperliquid samples the premium every 5 seconds and averages it over the hour.

Here is the premium worked out from BTC's market data recorded at 22:04 UTC on 23 November 2026. The oracle price was 61,287.50, the impact bid 61,250.00 and the impact ask 61,251.00:

  1. Impact bid minus oracle is 61,250.00 - 61,287.50 = -37.50, so the first term is max(-37.50, 0) = 0.
  2. Oracle minus impact ask is 61,287.50 - 61,251.00 = 36.50, so the second term is 36.50.
  3. The impact price difference is 0 - 36.50 = -36.50.
  4. The premium is -36.50 ÷ 61,287.50 ≈ -0.0596%. The response's own premium field reads -0.0005955537, the same value.

A buyer of 20,000 USDC of BTC would have paid less than the oracle price, so at that moment the perp traded slightly below spot. That is one reading; the funding rate uses the average of the 5-second readings over the hour.

The formula combines the average premium with the interest rate as an 8-hour rate:

F = P + clamp(interest_rate - P, -0.0005, 0.0005)

Here P is the average premium index and clamp limits its first argument to the range -0.05% to +0.05% (-0.0005 to 0.0005). Hyperliquid pays one eighth of F every hour.

The clamp produces the two patterns you see in live Hyperliquid data.

A small premium leaves only the interest rate. Whenever P is within 0.05% of the interest rate, the clamp returns interest_rate - P unchanged, the P terms cancel, and F equals the interest rate: 0.01% per 8 hours, or 0.00125% per hour. BTC's funding time at 22:00 UTC on 23 November 2026 recorded a premium of -0.0002936408. Then interest_rate - P is 0.0001 + 0.0002936408 = 0.0003936408, inside the clamp's range, so F = -0.0002936408 + 0.0003936408 = 0.0001 per 8 hours. One eighth of that is 0.0000125, the fundingRate the API reported for that hour. That is why many Hyperliquid markets show exactly 0.00125% an hour for long stretches: BTC was at that rate in 75 of the 168 hours to 23 November 2026, and HYPE in 130.

A large premium passes through. Once P is more than 0.05% away from the interest rate, the clamp stops at its limit and the rate moves with the premium. With an illustrative average premium of +0.10%, interest_rate - P is 0.01% - 0.10% = -0.09%, which the clamp cuts to -0.05%, so F = 0.10% - 0.05% = 0.05% per 8 hours, or 0.00625% per hour. With an illustrative premium of -0.10%, the clamp returns +0.05% and F = -0.05% per 8 hours, so shorts pay longs.

Put together, the rate stays at the 0.00125% hourly baseline while the average premium is between -0.04% and +0.06%. It rises above the baseline only when the premium is above +0.06%, falls below it only when the premium is below -0.04%, and turns negative only when the premium is below -0.05%.

Hyperliquid caps funding at 0.5% per hour, and the cap and the hourly interval are the same for every asset. HIP-3 markets (perps deployed by builders) use a different premium, (0.5 × (impact_bid_px + impact_ask_px) / oracle_px) - 1, so deployers can tune funding with a rate multiplier and their own interest rate.

A worked funding payment

At 22:04 UTC on 23 November 2026, Hyperliquid's BTC perp had a funding rate of 0.0000125 (0.00125%) for the hour and an oracle price of $61,287.50. The payment formula for a 0.5 BTC position gives:

payment = 0.5 BTC × $61,287.50 × 0.0000125 = $0.383

At that rate, a 0.5 BTC long would pay about $0.38 for the hour and a 0.5 BTC short would receive it. The rate for an hour can change until the hour closes, because the premium is averaged over the whole hour.

Annualizing a funding rate

To compare a funding rate with a yield or a borrowing cost, traders annualize it. Multiplying the hourly rate by the 8,760 hours in a year gives a simple annual rate: 0.00125% × 8,760 = 10.95%. Hyperliquid's docs quote the same interest rate as "11.6% APR", which is the compounded figure, where each hour's rate applies to a balance that already includes the earlier hours' payments: 1.00001258,760 − 1 ≈ 11.6%. The scripts below use the simple version, so the baseline rate prints as 10.95%.

An annualized rate assumes one hour's rate holds all year. Funding changes every hour, so treat the annual figure as a way to compare markets at one moment, not as a forecast of what a position will pay or earn.

Mistakes that give the wrong funding number

  • Applying F from the formula as an hourly rate makes every payment eight times too large. F is an 8-hour rate; Hyperliquid pays one eighth of it each hour.
  • Converting position size with the mark price gives a payment that differs from Hyperliquid's whenever the mark and oracle prices differ. At 22:04 UTC on 23 November 2026, BTC's mark price was 61,261.0 and its oracle price 61,287.5.
  • Treating the live funding value as settled gives an hourly figure that can still change, because it moves until the hour closes. Use fundingHistory for the rates that were applied.
  • Comparing a simple annual rate with a compounded one shows a gap (10.95% against 11.6% for the baseline) that comes only from the method.
  • Reading a positive rate as income is wrong for a long: a positive rate is a cost for a long and income for a short, and a negative rate is the reverse.

Live Hyperliquid funding rates on 23 November 2026

These are the 10 largest Hyperliquid perp markets by open interest at 22:06 UTC on 23 November 2026, with the funding rate for the hour in progress. Open interest is the total size of the positions open on one side of a market (every long has a matching short), shown here in US dollars at the oracle price. The data is Hyperliquid's metaAndAssetCtxs market feed, as printed by funding-now.mjs, the first script at the end of this page.

Market Funding per hour Simple annual rate Who pays Open interest (USD)
BTC 0.00125% 10.95% longs pay shorts $2,272,662,855
HYPE 0.00125% 10.95% longs pay shorts $1,181,910,318
ETH -0.00045% -3.97% shorts pay longs $1,032,463,554
SOL -0.00049% -4.32% shorts pay longs $302,041,606
ZEC 0.00031% 2.74% longs pay shorts $225,193,860
NEAR -0.00076% -6.70% shorts pay longs $99,659,536
LIT 0.00125% 10.95% longs pay shorts $69,645,251
XMR 0.00984% 86.24% longs pay shorts $66,116,092
XRP -0.00068% -5.97% shorts pay longs $65,088,529
VVV 0.00125% 10.95% longs pay shorts $56,703,604

To read a row, check three things in order:

  1. The sign says who pays. ETH's -0.00045% is negative, so ETH shorts were paying longs.
  2. The size against the 0.00125% baseline says whether the premium mattered. A rate at exactly 0.00125% means the premium was small enough for the clamp to cancel it. A rate above the baseline means the perp traded above the oracle price. A positive rate below the baseline, like ZEC's 0.00031%, means it traded slightly below: longs still paid, but less than the baseline. A negative rate means it traded further below.
  3. The simple annual rate puts markets on one scale. XMR's 86.24% against BTC's 10.95% shows XMR longs paying almost eight times as much per dollar of position for that hour.

Four of the ten (BTC, HYPE, LIT and VVV) sat exactly at the 0.00125% interest-rate baseline. XMR's rate was above it, so its perp was trading above the oracle price. ETH, SOL, NEAR and XRP had negative rates, so shorts were paying longs. Across all 179 listed perps on Hyperliquid's main DEX at 22:04 UTC, 123 had a positive rate and 56 a negative one.

Over the previous 7 days (168 hourly funding times, 16 November 23:00 UTC to 23 November 22:00 UTC), funding on the four largest markets looked like this. The data is each coin's fundingHistory, as printed by funding-history.mjs. The cumulative rate is the 168 hourly rates added together. The last column applies it to a position value held fixed at $10,000 (BTC: 0.1002% of $10,000 is $10.02); a real position's payment moves with the oracle price each hour.

Market Hours longs paid Hours shorts paid Hours at exactly 0.00125% Cumulative rate Paid by a $10,000 long
BTC 127 41 75 0.1002% $10.02
HYPE 152 16 130 0.1619% $16.19
ETH 97 71 21 0.0018% $0.18
SOL 70 98 11 -0.0674% -$6.74 (received)

None of the four had an hour above 0.00125% that week, so every positive hour was the interest-rate baseline or less, and the deepest negative hour was SOL's at -0.00458%. HYPE longs paid funding in 152 of 168 hours, while SOL shorts paid in 98, so a SOL long was paid $6.74 per $10,000 for holding through the week. These rates show which side paid and how much; they don't show who held the positions or why.

Reproduce these funding figures with the GoldRush API

The two scripts in this section produced the live table and the 7-day table above. Run them to get the same figures for today.

The GoldRush Hyperliquid Info API is a drop-in replacement for Hyperliquid's public POST /info endpoint: the request bodies and responses are identical, with no per-IP rate limit. Each request names a type, and three types cover funding: two return market funding rates, and one returns a single wallet's payments.

Type Returns Credits
metaAndAssetCtxs Every perp with its funding rate for the hour in progress, open interest, mark and oracle price 1 per call
fundingHistory The funding rate and premium applied at each hourly funding time for one coin, up to 500 entries per call 1 per call
userFunding One wallet's own funding payments, with the USDC paid or received each hour 1 per call

This page doesn't use userFunding. Funding rates are market-wide; userFunding takes a wallet address and a startTime and returns that wallet's own payments, each with the signed position size (szi, positive for a long) and a usdc amount that is negative when the wallet paid and positive when it received.

Prerequisites:

  • Node.js 24, the version these scripts ran on. They use the built-in fetch, so there is nothing to install.
  • A GoldRush API key in the GOLDRUSH_API_KEY environment variable. Sign up for the 14-day free trial, which includes 25,000 credits. Send the key in an Authorization: Bearer header.
  • Save each script as a .mjs file so Node.js runs it as an ES module with top-level await.

Current funding rate for every market

metaAndAssetCtxs returns a two-element array: the perp universe, and a context object for each market in the same order. This script joins them, converts each funding value to an hourly percentage and a simple annual rate, and prints the 10 largest markets by open interest:

// funding-now.mjs: the current funding rate of the 10 largest Hyperliquid perp markets by open interest.const INFO_URL = "https://hypercore.goldrushdata.com/info"; async function info(body) {  const res = await fetch(INFO_URL, {    method: "POST",    headers: {      Authorization: `Bearer ${process.env.GOLDRUSH_API_KEY}`,      "Content-Type": "application/json",    },    body: JSON.stringify(body),  });  const data = await res.json();  if (!res.ok || data.error) throw new Error(`HTTP ${res.status}: ${JSON.stringify(data)}`);  return data;} const [meta, ctxs] = await info({ type: "metaAndAssetCtxs" }); const markets = meta.universe  .map((asset, i) => ({ asset, ctx: ctxs[i] }))  .filter(({ asset }) => !asset.isDelisted)  .map(({ asset, ctx }) => {    const hourly = Number(ctx.funding);    return {      coin: asset.name,      hourlyPct: (hourly * 100).toFixed(5) + "%",      aprPct: (hourly * 24 * 365 * 100).toFixed(2) + "%",      payer: hourly > 0 ? "longs pay shorts" : hourly < 0 ? "shorts pay longs" : "no payment",      openInterestUsd: Math.round(Number(ctx.openInterest) * Number(ctx.oraclePx)),    };  })  .sort((a, b) => b.openInterestUsd - a.openInterestUsd); console.table(markets.slice(0, 10));

Run it with node funding-now.mjs. It prints one row per market; its run at 22:06 UTC on 23 November 2026 gave the live table. Here is BTC's entry from a response recorded a minute earlier, at 22:04 UTC, trimmed to the first market:

[  {    "universe": [{ "szDecimals": 5, "name": "BTC", "maxLeverage": 40, "marginTableId": 56 }]  },  [    {      "funding": "0.0000125",      "openInterest": "37079.7728199999",      "prevDayPx": "60926.0",      "dayNtlVlm": "5114779706.8558216095",      "premium": "-0.0005955537",      "oraclePx": "61287.5",      "markPx": "61261.0",      "midPx": "61250.5",      "impactPxs": ["61250.0", "61251.0"],      "dayBaseVlm": "82449.9842899998"    }  ]]

funding is the rate for the hour in progress as a decimal string (0.0000125 is 0.00125%), and it moves during the hour as new premium samples arrive. openInterest is in the asset, so the script multiplies it by oraclePx to get dollars. impactPxs (impact bid, then impact ask) and oraclePx are the inputs to the premium formula, and premium is its result at that moment. The API returns numbers as strings to keep their precision. Number() is fine for display, but for accounting it adds floating-point rounding errors to running totals; keep the strings, or use a decimal library.

Hourly funding history for one market

fundingHistory returns the rate that was applied at each hourly funding time for one coin between startTime and endTime (milliseconds; endTime defaults to now). This script fetches the last 7 days, counts the hours each side paid, and works out what a $10,000 long paid over the window:

// funding-history.mjs: one coin's hourly funding over the last 7 days, and what it cost a $10,000 long.const INFO_URL = "https://hypercore.goldrushdata.com/info";const COIN = process.argv[2] ?? "BTC";const NOTIONAL_USD = 10_000; const startTime = Date.now() - 7 * 24 * 60 * 60 * 1000;const res = await fetch(INFO_URL, {  method: "POST",  headers: {    Authorization: `Bearer ${process.env.GOLDRUSH_API_KEY}`,    "Content-Type": "application/json",  },  body: JSON.stringify({ type: "fundingHistory", coin: COIN, startTime }),});const history = await res.json();if (!res.ok || history.error) throw new Error(`HTTP ${res.status}: ${JSON.stringify(history)}`); const rates = history.map((h) => Number(h.fundingRate));const total = rates.reduce((sum, r) => sum + r, 0); console.log({  coin: COIN,  from: new Date(history[0].time).toISOString(),  to: new Date(history.at(-1).time).toISOString(),  hours: rates.length,  hoursLongsPaid: rates.filter((r) => r > 0).length,  hoursShortsPaid: rates.filter((r) => r < 0).length,  cumulativeRatePct: (total * 100).toFixed(4) + "%",  // Positive: a long paid this much over the window and a short received it. Negative: the reverse.  longPaidOn10kUsd: (total * NOTIONAL_USD).toFixed(2),});

Run it with node funding-history.mjs BTC (or any other coin). On 23 November 2026 at 22:05 UTC it printed:

{  coin: 'BTC',  from: '2026-11-16T23:00:00.012Z',  to: '2026-11-23T22:00:00.066Z',  hours: 168,  hoursLongsPaid: 127,  hoursShortsPaid: 41,  cumulativeRatePct: '0.1002%',  longPaidOn10kUsd: '10.02'}

Read it as: across 168 hourly funding times, longs paid in 127 and shorts in 41, the rates added up to 0.1002%, and a $10,000 BTC long held through the week paid $10.02. A negative longPaidOn10kUsd would mean the long received money.

The script reads these from the raw fundingHistory response, one entry per funding time. These are its last two entries, oldest first as the API returns them:

[  { "coin": "BTC", "fundingRate": "0.0000125", "premium": "-0.0002797613", "time": 1795467600036 },  { "coin": "BTC", "fundingRate": "0.0000125", "premium": "-0.0002936408", "time": 1795471200066 }]

fundingRate is the hourly rate that was applied, and premium is the premium recorded for that hour. Both hours applied 0.0000125, the baseline, because both premiums (about -0.028% and -0.029%) were within 0.05% of the interest rate. time is the funding time as a Unix timestamp in milliseconds.

Each call returns at most 500 entries, about 20 days of hourly funding. For a longer window, call again with startTime set to the last time you received plus 1.

Errors from the Hyperliquid Info API

Without a valid key, the GoldRush endpoint answers 401 and both scripts stop with the response body. This is the error they printed when run with no GOLDRUSH_API_KEY set:

Error: HTTP 401: {"error":"unauthorized"}

It means the Authorization header was missing or the key was wrong: check that GOLDRUSH_API_KEY is exported in the shell that runs the script. The Info API reference lists the other errors. A malformed body returns 400 with {"error":"invalid request"}, and a type the API doesn't serve returns 400 with {"error":"unsupported_type","type":"<the type you sent>"} instead of being forwarded to Hyperliquid.

Frequently asked questions

What does a positive funding rate mean?

A positive funding rate means the perpetual contract trades above the spot price of its asset, so traders holding long positions pay traders holding short positions. On Hyperliquid, a positive rate also includes the fixed interest component of 0.00125% per hour, which is why a quiet market shows a small positive rate rather than zero.

What does a negative funding rate mean?

A negative funding rate means the perpetual contract trades below the spot price, so traders holding short positions pay traders holding long positions. On 23 November 2026 at 22:04 UTC, 56 of Hyperliquid's 179 listed perps had a negative rate, including ETH and SOL.

How often is funding paid on Hyperliquid?

Every hour. Hyperliquid designed its funding to closely match centralized perpetual exchanges, so its formula gives an 8-hour rate, but it pays one eighth of that rate at the end of each hour to every position open at that time.

Is the funding rate a fee paid to the exchange?

No. Funding moves directly between traders on opposite sides of the market. Hyperliquid's docs state that funding is peer to peer and that no fees are collected on the payments.

What is the maximum funding rate on Hyperliquid?

Hyperliquid caps funding at 0.5% per hour for every asset. Its funding documentation notes that this cap is much less aggressive than those of centralized exchanges.

Why is the Hyperliquid funding rate often exactly 0.00125%?

0.00125% per hour is Hyperliquid's fixed interest rate of 0.01% per 8 hours. When the average premium is within 0.05% of that interest rate, the clamp in the funding formula cancels the premium and leaves only the interest rate. BTC's rate was exactly 0.00125% in 75 of the 168 hours to 23 November 2026, and HYPE's in 130.

Next steps

Get new guides by email

New tutorials and best practices for building with blockchain data, sent as they're published.