get_funding_rate
Retrieve the current funding rate for any perpetual futures contract on major exchanges like Binance, OKX, or Bybit. Understand whether longs pay shorts or vice versa to gauge market sentiment.
Instructions
Get the current funding rate for a perpetual-futures contract on a specific exchange.
Funding rate is a periodic payment between longs and shorts that anchors perp prices to spot. Positive funding means longs pay shorts (crowd is long); negative funding means shorts pay longs.
Args: exchange_id: CCXT exchange ID that supports perps, e.g. "binance", "okx", "bybit", "bitmex". symbol: Perp symbol with settle suffix, e.g. "BTC/USDT:USDT" for the Binance USDT-margined linear perp, "BTC/USD:BTC" for an inverse perp.
Returns:
Funding info with symbol, markPrice, indexPrice, fundingRate,
fundingTimestamp, nextFundingRate, nextFundingTimestamp,
interestRate. Exact fields vary slightly by exchange.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exchange_id | Yes | ||
| symbol | Yes |