Documentation
Ask on ChatGPT

REST API - Exchange Identifiers

When using the REST API, you need to specify exchange identifiers in file paths. Use these exact strings for the exchange portion of file paths.

Available Exchange Identifiers

Spot Exchanges

  • binance_spot
  • bybit_spot
  • kraken_spot
  • okx_spot
  • bitget_spot
  • hyperliquid_spot

Futures/Derivatives Exchanges

  • binance_futures
  • bybit
  • kraken_futures
  • okx_futures
  • bitget_futures
  • hyperliquid_futures
  • lighter
  • aster_futures
  • bitmex

Usage Example

bash
# Download from different exchanges
curl "https://api.cryptohftdata.com/download?file=binance_spot/2025-08-01/20/BTCUSDT_trades.parquet.zst&api_key=your-api-key" \
  -o binance_btc_trades.parquet.zst

curl "https://api.cryptohftdata.com/download?file=bybit/2025-08-01/20/ETHUSDT_liquidations.parquet.zst&api_key=your-api-key" \
  -o bybit_eth_liquidations.parquet.zst

Important Notes

  • • Use these exact exchange identifiers - they are case-sensitive
  • • Not all data types are available on all exchanges
  • • Mark price, open interest, and liquidations are only available on futures/derivatives exchanges
  • • Check data availability for specific trading pairs before making requests

Have questions?

Our support team is available to help you with integration.

Contact Support