What is a funding rate?
A funding rate is the periodic payment between long and short holders of a perpetual futures contract — the mechanism that anchors the perpetual contract's price to the underlying spot price.
Perpetual futures (perps) are crypto derivatives that, unlike traditional futures, never expire. The funding rate replaces the expiration mechanism. Every funding interval — typically every 8 hours on Binance, Bybit, OKX; every 1 hour on Hyperliquid — the exchange calculates the rate from the difference between the perp's mark price and a spot index price.
If perps trade above spot (typically because retail is over-long), funding goes positive: longs pay shorts. The cost incentivizes longs to close and shorts to open, dragging the perp price back toward spot.
If perps trade below spot (typically during heavy panic selling), funding goes negative: shorts pay longs. Same mechanism in reverse.
Why AI agents care
Funding rate divergence across exchanges is one of the cleanest sources of delta-neutral yield in crypto. If Binance BTC perp funding is +0.05% and Bybit BTC perp funding is -0.02%, an agent can long Bybit / short Binance and capture the +0.07% spread per interval — risk-free except for execution and counterparty risk.
Funding rates also signal sentiment: persistent +0.3% funding means longs are paying significant premium to maintain exposure, often a precursor to a long-liquidation cascade. Persistent negative funding signals capitulation conditions.
Hive exposes funding rates across 20+ exchanges through normalized MCP tools (get_funding_rates, get_arbitrage_spot_perp, get_arbitrage_cross_exchange). Single-provider data APIs like CoinGecko, Moralis, and Birdeye do not cover derivatives funding.