Contract Market Data Endpoints
Last updated
Last updated
Rate Limit:20 requests per 2 seconds
HTTP Request Time to return to server
GET /api/swap/v3/market/time
Response:
Response Field
Field | Description |
---|---|
Rate Limit:20 requests per 2 seconds
HTTP Requests Get market data.
GET /api/swap/v3/market/contracts
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests get order book data
GET /api/swap/v3/market/depth
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get all symbol ticker data
GET /api/swap/v3/market/tickers
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get Ticker Data By Symbol
GET /api/swap/v3/market/ticker
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get Trades List By Symbol
GET /api/swap/v3/market/trades
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Retrieve the candlestick charts of the trading pairs.
GET /api/swap/v3/market/candles
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get index price by symbol.
GET /api/swap/v3/market/index
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get present open interest of a specific symbol.
GET /api/swap/v3/market/open_interest
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Retrieve the ceiling of the buy price and floor of sell price of the contract.
GET /api/swap/v3/market/price_limit
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get the time of next settlement.
GET /api/swap/v3/market/funding_time
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get funding rate history
GET /api/swap/v3/market/historyFundRate
Request Parameter
Response:
Response Field
Rate Limit:20 requests per 2 seconds
HTTP Requests Get the mark price.
GET /api/swap/v3/market/mark_price
Request Parameter
Response:
Response Field
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Description | granularity |
---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
Parameters | Type | Required | Description |
---|---|---|---|
Field | Description |
---|---|
epoch
Unix timestamp in seconds
iso
ISO8601 standard time format
timestamp
Unix timestamp in milliseconds
symbol
Contract name
coin
Margin currency
contract_val
Contract value
delivery
Settlement time
forwardContractFlag
(true or false) , forward contract or not
priceEndStep
Prices' Last Digit in Cents
quote_currency
Denominated currency
size_increment
Quantity Precision
tick_size
Price Precision
underlying_index
Contract currency
minLeverage
minimum leverage
maxLeverage
maximum leverage
symbol
String
Yes
Contract name
limit
Integer
Yes
depth size Range between (1- 200)
asks
Sell side depth
bids
Buy side depth
timestamp
Timestamp
symbol
Contract name
best_ask
Best ask price
best_bid
Best bid price
high_24h
Highest price in the past 24 hours
last
Last traded price
low_24h
Lowest price in the past 24 hours
timestamp
System timestamp
volume_24h
Trading volume of past 24 hours
priceChangePercent
24-hour price change percentage
base_volume
24-hour volume, by currency
symbol
String
Yes
Contract name
symbol
Contract name
best_ask
Best ask price
best_bid
Best bid price
high_24h
Highest price in the past 24 hours
last
Last traded price
low_24h
Lowest price in the past 24 hours
timestamp
System timestamp
volume_24h
Trading volume of past 24 hours
priceChangePercent
24-hour price change percentage
base_volume
24-hour volume, by currency
symbol
String
Yes
Contract name
limit
String
Yes
Number of results per request
symbol
Contract name
price
Deal price
side
Transaction direction: sell, buy
size
The number of transactions
timestamp
Transaction timestamp
trade_id
Transaction id
symbol
String
Yes
Contract name
startTime
Long
Yes
Start time (time stamp)
endTime
Long
Yes
End time (time stamp)
granularity
String
Yes
Bar size in seconds, default 60, must be one of [60/180/300/900/1800/3600/7200/14400/21600/43200/86400/604800] or returns error
1min
60
5min
300
15min
900
30min
1800
1h
3600
4h
14400
12h
43200
1d
86400
7d
604800
timestamp
System timestamp
open
Open price
high
Higest price
low
Lowest price
close
Closing price
volume
Transaction volume
currency_volume
Transaction volume (converted by currency)
symbol
String
Yes
Contract name
symbol
Contract name
index
Index price
timestamp
System timestamp
symbol
String
Yes
Contract name
symbol
Contract name
amount
Total holdings
forwardContractFlag
Is it a forward contract
timestamp
System timestamp
base_volume
Total holdings,left coin vol
target_volume
Total holdings,right coin vol
symbol
String
Yes
Contract name
symbol
Contract name
forwardContractFlag
Is it a forward contract
highest
Maximum Buy Price
lowest
Lowest selling price
timestamp
System timestamp
symbol
String
Yes
Contract name
symbol
Contract name
forwardContractFlag
Is it a forward contract
funding_time
time of current funding
symbol
String
Yes
Contract name
pageIndex
String
Yes
Page number, empty default first page, starting from 1
pageSize
String
Yes
Number of data per page
symbol
Contract name
funding_rate
Funding rate
funding_time
Settlement time
symbol
String
Yes
Contract name
symbol
Contract name
mark_price
Specify the margin price
timestamp
System timestamp