← Back to Funding Rates

Funding Rates API Documentation

Access real-time funding rates data from multiple exchanges via our REST API.

⚠️ IMPORTANT: Production Trading Warning

DO NOT rely on this API for production trading systems. While we strive for accuracy, we cannot guarantee data integrity, availability, or real-time precision. This API is provided for informational purposes only.

Use at your own risk. Loris Tools is not responsible for any trading losses that may occur from using this data. Always verify funding rates directly with exchanges before making trading decisions.

📋 Commercial Use Attribution Requirement

Anyone using this API for commercial purposes MUST provide attribution by linking back to Loris Tools.

Required attribution format:

Funding rate data provided by <a href="https://loris.tools">Loris Tools</a>

This includes but is not limited to: websites, applications, trading bots, research reports, or any service that generates revenue. Personal use is permitted without attribution.

Endpoint

GEThttps://api.loris.tools/funding

Returns funding rates data for all supported symbols across all exchanges.

Parameters

This endpoint accepts no parameters and returns all available data.

Response Format

The API returns a JSON object with the following structure:

FieldTypeDescription
symbolsArrayList of all available symbols (cleaned/normalized)
exchangesObjectExchange information including names and display names
funding_ratesObjectFunding rates data organized by exchange and symbol
oi_rankingsObjectOpen interest rankings by symbol (from Binance)
default_oi_rankStringDefault OI rank value for symbols without ranking
timestampStringUTC timestamp of the response
Note: Funding rates are multiplied by 10,000 for precision. For example, a value of 25 represents 0.0025 or 0.25%.

Example Request

curl -X GET "https://api.loris.tools/funding" \
    -H "Accept: application/json"

Example Response

{ "symbols": ["BTC", "ETH", "SOL", "DOGE", ...], "exchanges": { "exchange_names": [ {"name": "binance_1_perp", "display": "BINANCE"}, {"name": "bybit_1_perp", "display": "BYBIT"}, {"name": "okx_1_perp", "display": "OKX"}, ... ], "exchanges": ["binance_1_perp", "bybit_1_perp", "okx_1_perp", ...] }, "funding_rates": { "binance_1_perp": { "BTC": 8, "ETH": -15, "SOL": 25, ... }, "bybit_1_perp": { "BTC": 12, "ETH": -10, "SOL": 30, ... }, ... }, "oi_rankings": { "BTC": "1", "ETH": "2", "SOL": "3", ... }, "default_oi_rank": "500+", "timestamp": "2024-01-15 14:30:25" }

Rate Limits

The API data is updated every 60 seconds. There are currently no rate limits in place, but please be respectful with your requests. There is no benefit to making requests faster than 60 seconds.

Error Responses

In case of errors, the API returns appropriate HTTP status codes with error details:

500 Internal Server Error

{ "error": "Error message describing the issue" }

Exchange Notes

  • Extended, Hyperliquid, Lighter, Vest: These exchanges use 1-hour funding intervals. Rates are multiplied by 8 for comparison with 8-hour exchanges.
  • Symbol Normalization: Symbols are cleaned and normalized to remove quote currencies and separators for consistent comparison.
  • Quote Priority: When multiple quote currencies are available, the API prioritizes USDT → USD → USDC → BUSD → UST.