What this endpoint does
With this API, you can:- Fetch the latest CeFi funding rate for a given symbol
- Return rates from all supported exchanges by default if
exchangeis not provided - Filter to one or multiple exchanges using a comma-separated list
- Use an optional quote currency to refine the contract symbol format on some venues
- Query via REST, and also use the WebSocket version when needed
What you’ll need
- Basic knowledge of REST APIs
- A trading symbol (example:
ETH,BTC) - A Mobula API key
Get a free API key: Here
When to use CeFi Funding Rate
Use this endpoint when you want to:- Compare funding rates across multiple centralized exchanges
- Monitor long vs short funding pressure for a symbol
- Track venue differences for arbitrage and risk monitoring
- Build funding rate widgets for dashboards
- Pull rates from a specific venue like
deribitorokxwhen needed
Walkthrough to Get CeFi Funding Rate
1. Prepare your query
The CeFi Funding Rate endpoint requires one parameter:| Parameter | Description |
|---|---|
symbol | The trading symbol (example: BTC, ETH) |
quote: Optional quote currency (example:USDT,USDC)exchange: Optional exchanges, comma-separated (example:deribit,binance,okx,lighter)
exchange, the endpoint returns rates across all supported exchanges by default.
2. Find a symbol to test
To test quickly, you can use a major symbol:- Use
BTCorETHas yoursymbol
- Add
quote=USDT(common for many perp venues) - Add
exchange=binance(or any supported venue) to narrow results
symbol parameter.
3. Fill the API form
Enter the symbol, setexchange and quote if needed, then click Send.
Reviewing the response
The response returns aqueryDetails object plus one object per exchange:
queryDetails: Echoes what you queried, like symbol, quote, and exchange selectionbinanceFundingRate/bybitFundingRate/okxFundingRate/deribitFundingRate: Exchange-specific funding rate objects when availablehyperliquidFundingRate/gateFundingRate/lighterFundingRate: Additional venue objects when available depending on your query
- If you do not provide
exchange, the endpoint returns rates across all supported exchanges by default. - For Gate.io, contracts use a USDT settle format like
SYMBOL_USDT. - For Lighter, a positive rate means longs pay shorts, and a negative rate means shorts pay longs.
- For Hyperliquid DEX (HIP3) funding, you must prefix the symbol with
dex:(example:dex:BTC).
Try It Live with Mobula CeFi Funding Rate Demo (UI)
You can also test this endpoint using our demo UI: Demo UI Homepage CeFi Funding Rate Demo UI DocsSummary
The CeFi Funding Rate endpoint helps you:- Fetch the latest CeFi funding rate for a symbol like
BTCorETH - Compare rates across multiple exchanges by default or specify exchanges to filter
- Optionally use
quoteto refine contract formats for certain venues - Visualize results instantly in the CeFi Funding Rate Demo UI
Try Mobula for Free
Try our free API today and start building in minutes.Get your free API key: Here