Get Ticker
Ticker is an overview of the market status of a trading pair, including the latest trade price, top bid and ask prices and 24-hour trading volume
(Authentication type:NONE, See Interface Permission)
Request Format
GET https://api-cloud.bitmart.com/spot/v1/ticker
Request Limit
Request Parameter
Field | Type | Required? | Description |
---|---|---|---|
symbol | String | No | Trading pair symbol (Optional, return ticker data of all trading pairs by default) |
None
Request example
curl https://api-cloud.bitmart.com/spot/v1/ticker?symbol=BTC_USDT
Response Data
Field | Type | Description |
---|---|---|
symbol | string | Trading pair |
last_price | string | Latest price |
base_volume_24h | string | 24-hour trade volume in base currency |
quote_volume_24h | string | 24-hour trade volume in quote currency |
high_24h | string | 24-hour highest price |
open_24h | string | 24-hour open price |
low_24h | string | 24-hour lowest price |
close_24h | string | 24-hour close price |
fluctuation | string | 24-hour price change |
best_ask | string | top ask price |
best_ask_size | string | Size of top ask order |
best_bid | string | top bid price |
best_bid_size | string | Size of top bid order |
url | string | Link to the trading page on BitMart |
Instruction
If no corresponding trading pair is found, this trading pair has been delisted.
If the Symbol parameter is not passed, the default query is all the data, and the data is cached for 5 minutes. If you need to query real-time data, pass the Symbol parameter.
Example of returned data format
{
"message":"OK",
"code":1000,
"trace":"6e42c7c9-fdc5-461b-8fd1-b4e2e1b9ed57",
"data":{
"tickers":[
{
"symbol":"BTC_USDT",
"last_price":"1.00",
"quote_volume_24h":"201477650.88000",
"base_volume_24h":"25186.48000",
"high_24h":"8800.00",
"low_24h":"1.00",
"open_24h":"8800.00",
"close_24h":"1.00",
"best_ask":"0.00",
"best_ask_size":"0.00000",
"best_bid":"0.00",
"best_bid_size":"0.00000",
"fluctuation":"-0.9999",
"url":"https://www.bitmart.com/trade?symbol=BTC_USDT"
}
]
}
}