Get compressed, aggregate trades. Trades that fill at the time, from the same taker order, with the same price will have the quantity aggregated.
Weight(IP): 4
Security Type: NONE
Notes: Data Source:* Database
Request parameters.
Current average price for a symbol.
Weight(IP): 2
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Order book
Weight: Adjusted based on the limit:
| Limit | Request Weight |
|---|---|
| 1-100 | 5 |
| 101-500 | 25 |
| 501-1000 | 50 |
| 1001-5000 | 250 |
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Get recent trades.
Weight(IP): 25
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Get block trades.
Weight(IP): 25
Security Type: MARKET_DATA
Notes:
Request parameters.
Get older trades.
Weight(IP): 25
Security Type: NONE
Notes: Data Source:* Database
Request parameters.
Kline/candlestick bars for a symbol. Klines are uniquely identified by their open time.
Weight(IP): 2
Security Type: NONE
Notes: Data Source:* Database
Supported kline intervals (case-sensitive):
| Interval | interval value |
|---|---|
| seconds | 1s |
| minutes | 1m, 3m, 5m, 15m, 30m |
| hours | 1h, 2h, 4h, 6h, 8h, 12h |
| days | 1d, 3d |
| weeks | 1w |
| months | 1M |
Notes:*
If startTime and endTime are not sent, the most recent klines are returned.
Supported values for timeZone:
Hours and minutes (e.g. -1:00, 05:45)
Only hours (e.g. 0, 8, 4)
Accepted range is strictly [-12:00 to +14:00] inclusive
If timeZone provided, kline intervals are interpreted in that timezone instead of UTC.
Note that startTime and endTime are always interpreted in UTC, regardless of timeZone.
Request parameters.
Query the reference price for a symbol.
Weight(IP): 2
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Describes how reference price is calculated for a given symbol.
Weight(IP): 2
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Note: This endpoint differs from GET /api/v3/ticker/24hr.
The statistical time range of this endpoint can be up to 59999ms longer
than the requested windowSize.
openTime starts at the beginning of a minute, while the end time is
the current time. Therefore, the actual interval can be up to 59999ms
longer than the requested window.
For example, if closeTime is 1641287867099 (January 04, 2022
09:17:47:099 UTC) and windowSize is 1d, then openTime is
1641201420000 (January 3, 2022, 09:17:00 UTC).
Weight: 4 for each requested symbol regardless of windowSize.
The weight for this request will cap at 200 once the number of symbols in the request is more than 50.
Security Type: NONE
Notes: Data Source:* Database
Request parameters.
24 hour rolling window price change statistics. Careful when accessing this with no symbol.
Weight:
| Parameter | Symbols Provided | Weight |
|---|---|---|
| symbol | 1 | 2 |
| symbol parameter is omitted | 80 | |
| symbols | 1-20 | 2 |
| 21-100 | 40 | |
| 101 or more | 80 | |
| symbols parameter is omitted | 80 |
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Best price/qty on the order book for a symbol or symbols.
Weight: |Parameter|Symbols Provided|Weight| |---|---|---| |symbol| 1 |2| | |omitted| 4| |symbols| Any |4|
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Latest price for a symbol or symbols.
Weight: |Parameter|Symbols Provided|Weight| |---|---|---| |symbol| 1 |2| | |omitted| 4| |symbols| Any |4|
Security Type: NONE
Notes: Data Source:* Memory
Request parameters.
Price change statistics for a trading day.
Weight: 4 for each requested symbol. The weight for this request will cap at 200 once the number of symbols in the request is more than 50.
Security Type: NONE
Notes: Data Source:* Database
*Notes:**:
timeZone:-1:00, 05:45)0, 8, 4)Request parameters.
The request is similar to klines having the same parameters and response.
uiKlines return modified kline data, optimized for presentation of
candlestick charts.
Weight(IP): 2
Security Type: NONE
Notes: Data Source:* Database
startTime and endTime are not sent, the most recent klines are returned.timeZone:-1:00, 05:45)0, 8, 4)timeZone provided, kline intervals are interpreted in that timezone instead of UTC.startTime and endTime are always interpreted in UTC, regardless of timeZone.Request parameters.
MarketApi - object-oriented interface MarketApi