Crypto Perpetual Futures and Funding Rate Data API

Perpetual futures are where most crypto volume trades, and their funding rates show which side is paying to hold its position. Each exchange has its own API, symbols and limits. AuraStream serves perpetuals and funding rates from Binance, Bybit, Deribit, dYdX and Hyperliquid through one API, with no exchange keys needed.

What you get

  • Binance: USD-M perpetual futures bars with volume, trade count and taker buy volume, and the funding rate history (fundingRate at each funding time). Spot pairs too.
  • Bybit: mark-price bars for linear (BTCUSDT) and inverse (BTCUSD) perpetuals.
  • Deribit: perpetuals, dated futures and options, for example BTC-PERPETUAL or BTC-27MAR26-100000-C.
  • dYdX v4: bars with USD volume, trade count, open interest and the order book mid price.
  • Hyperliquid: bars with volume and trade count for its perpetuals, including HYPE.

Every exchange offers bars from one minute to one day. Binance, Bybit and Hyperliquid also have weekly bars, and Bybit and Hyperliquid monthly ones.

Example: Bitcoin funding rates and perpetual prices on Binance

import requests
import pandas as pd

URL = "https://api.aurastream.unbiased-alpha.com/timeseries"
HEADERS = {"x-api-key": "YOUR_AURASTREAM_API_KEY"}

def get(**params):
    body = {"start": "2025-06-01", "end": "2025-07-01", "source": "binance",
            "instrument": "futures", **params}
    return requests.post(URL, headers=HEADERS, json=body).json()

funding = get(tickerlist=["BTCUSDT"], interval="1h", bars="funding")
bars = get(tickerlist=["BTCUSDT"], interval="1h")

rates = pd.DataFrame.from_dict(funding["BTCUSDT"], orient="index")["fundingRate"].astype(float)
close = pd.DataFrame.from_dict(bars["BTCUSDT"], orient="index")["Close"].astype(float)
print(rates.describe())

The response is a dictionary keyed by ticker, then by timestamp. Binance sends prices and volumes as strings, so convert them with astype(float). To query another exchange, change source to "bybit", "deribit", "dydx" or "hyperliquid" and use that exchange’s symbols.

Timestamps differ by exchange

Binance and Hyperliquid bars are stamped at their close; Bybit and dYdX bars at their open. When you combine exchanges, align the bars before comparing them, or a one-bar shift will show up as a lead-lag effect that isn’t there.

From Claude or ChatGPT

With the AuraStream MCP server you can ask “Compare Bitcoin funding rates on Binance with the perpetual’s price over the last month” and the assistant fetches the data itself. Add https://aurastream.unbiased-alpha.com/mcp to your client with your API key, or install it with pip install aurastream-mcp.

From OpenBB

With the open-source openbb-aurastream extension (pip install openbb-aurastream), Binance funding rates are one line in the OpenBB Platform: obb.aurastream.funding_rates("BTCUSDT")

Pricing

None of these exchanges needs an API key. The free plan includes 500 calls a month without a credit card.

Get a free API key Documentation: Binance, Bybit, Deribit, dYdX, Hyperliquid

Questions

How much Hyperliquid history is there?

Hyperliquid serves the most recent 5,000 bars of each interval: about seven months of hourly bars, or many years of daily ones. For longer histories, use a coarser interval.

Which exchanges have funding rates?

Binance, for its USD-M perpetuals, with "bars": "funding".

Is this real-time data?

No. AuraStream is a historical data API for research and backtesting.