← Back to Funding Rates

Funding Rates API Documentation

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

Endpoint

GET https://loris.tools/api/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:

Field Type Description
symbols Array List of all available symbols (cleaned/normalized)
exchanges Object Exchange information including names and display names
funding_rates Object Funding rates data organized by exchange and symbol
oi_rankings Object Open interest rankings by symbol (from Binance)
default_oi_rank String Default OI rank value for symbols without ranking
timestamp String UTC 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://loris.tools/api/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.

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