Skip to main content
The CeFi Funding Rate endpoint lets you fetch the latest funding rate for a given symbol across supported exchanges. By default, it returns results from multiple CeFi venues so you can compare rates quickly. You can also specify one or more exchanges to narrow the response.

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 exchange is 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
Note: All Mobula endpoints require an 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 deribit or okx when needed
If you want spot market pricing and change metrics for a token, use: Get Market Details If you want onchain market trade history (DEX trades), use: Market Trades Pair If you want a specific onchain trade by transaction hash, use: Token Trade by Transaction

Walkthrough to Get CeFi Funding Rate

1. Prepare your query

The CeFi Funding Rate endpoint requires one parameter:
ParameterDescription
symbolThe trading symbol (example: BTC, ETH)
Optional parameters you can use:
  • quote: Optional quote currency (example: USDT, USDC)
  • exchange: Optional exchanges, comma-separated (example: deribit,binance,okx,lighter)
Tip: If you do not provide 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 BTC or ETH as your symbol
If you want a venue-specific contract format:
  • Add quote=USDT (common for many perp venues)
  • Add exchange=binance (or any supported venue) to narrow results
This symbol is used as the symbol parameter.

3. Fill the API form

Enter the symbol, set exchange and quote if needed, then click Send.

Reviewing the response

The response returns a queryDetails object plus one object per exchange:
  • queryDetails: Echoes what you queried, like symbol, quote, and exchange selection
  • binanceFundingRate / bybitFundingRate / okxFundingRate / deribitFundingRate: Exchange-specific funding rate objects when available
  • hyperliquidFundingRate / gateFundingRate / lighterFundingRate: Additional venue objects when available depending on your query
Important interpretation notes:
  • 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 Docs

Summary

The CeFi Funding Rate endpoint helps you:
  • Fetch the latest CeFi funding rate for a symbol like BTC or ETH
  • Compare rates across multiple exchanges by default or specify exchanges to filter
  • Optionally use quote to 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