Funding rate
SQL API
api.funding_rate
api.funding_rateColumns
Example Queries
1. Latest BTC-USD-PERP-INV funding across exchanges
SELECT
timestamp,
exchange,
contract_type,
funding_rate
FROM api.funding_rate
WHERE market = 'BTC-USD-PERP-INV'
AND timestamp >= now() - INTERVAL 24 HOUR
ORDER BY timestamp DESC, exchange ASC
LIMIT 502. Cross-exchange funding spread
3. Realized 24h funding cost on a long position
REST API
Required for /ohlcv and /trade endpoints. Pass your API key in the x-api-key header. Public /market/* endpoints do not require authentication.
Koinju canonical perpetual symbol. Inverse perps carry the -INV
suffix (e.g. BTC-USD-PERP-INV for the BTC-margined USD-quoted
perp); linear perps don't (BTC-USDT-PERP). Use /market/future
to enumerate available perpetual symbols.
Exchange to filter by — one of binance, bybit, okx, deribit.
For cross-exchange queries, use the SQL API.
Window start. Accepts any format parseable by parseDateTime64BestEffort
— e.g. a plain date (2026-05-01, treated as midnight UTC) or a full
ISO 8601 timestamp (2026-05-01T12:00:00Z).
2026-05-01Window end. Same format as start_datetime. Returned rows satisfy
start_datetime <= timestamp < end_datetime.
2026-05-08OK
Settlement timestamp (UTC)
Exchange that published this funding event
Koinju canonical perpetual symbol
Funding rate that accrued in the period ending at time.
Period varies per exchange (8h for Binance/OKX/Bybit, 1h for Deribit).
OK
Last updated
Was this helpful?