Skip to Content

Usage Instructions

Getting Order Book Data

  1. Get the depths array from exchange information
  2. Select an appropriate precision value as the scale parameter
  3. Call /fmapi/v1/depth to get order book data

Getting Kline Data

  1. Select an appropriate interval parameter (e.g., 1m, 5m, 15m, 1h, 4h, 1d, etc.)
  2. Set an appropriate limit parameter (max 1000)
  3. Call /fmapi/v1/klines to get Kline data

Notes

  1. Rate Limits: Market data APIs have rate limits, please control request frequency appropriately
  2. Data Precision: Price and quantity precision vary by trading pair, please adjust dynamically based on exchange information
  3. Real-time Data: Order book and trade data are real-time, Kline data may have delays
  4. Caching Strategy: It is recommended to cache data that doesn’t change frequently (such as exchange information)
Last updated on: