Skip to main content

Trading Data Endpoints

Get comprehensive trading data including recent trades, historical candlestick data, and trading analytics.

Get Recent Trades

Retrieve recent trades for a specific trading pair.

Parameters

Response

Response Fields

User-Specific Trades

To get trades for a specific user, include the user parameter:
User-specific trade queries have a 10-second timeout and are limited to 100 results to prevent long-running queries.

Get Kline/Candlestick Data

Get candlestick data for technical analysis and charting.

Parameters

Supported Intervals

Response

Kline Data Format

Each kline is an array with the following structure:

Time Range Queries

You can specify custom time ranges for historical data:

Trading Analytics

Volume Analysis

Use kline data to calculate trading volume over different periods:

Price Change Calculation


WebSocket Real-Time Data

For real-time trade updates, consider using the WebSocket API:

Error Responses

Rate Limits

Trading data endpoints have the following rate limits:
  • Recent trades: 600 requests per minute
  • Kline data: 300 requests per minute
  • User-specific trades: 100 requests per minute
Kline data is cached and updated in real-time. Historical data older than 30 days may have reduced granularity.