Usage Instructions
Getting Order Book Data
- Get the
depthsarray from exchange information - Select an appropriate precision value as the
scaleparameter - Call
/fmapi/v1/depthto get order book data
Getting Kline Data
- Select an appropriate
intervalparameter (e.g., 1m, 5m, 15m, 1h, 4h, 1d, etc.) - Set an appropriate
limitparameter (max 1000) - Call
/fmapi/v1/klinesto get Kline data
Notes
- Rate Limits: Market data APIs have rate limits, please control request frequency appropriately
- Data Precision: Price and quantity precision vary by trading pair, please adjust dynamically based on exchange information
- Real-time Data: Order book and trade data are real-time, Kline data may have delays
- Caching Strategy: It is recommended to cache data that doesn’t change frequently (such as exchange information)
Last updated on: