Get A Trading Pair Ticker
Description
Get a trading pair ticker
HTTP Request
- GET /open/api/get_ticker
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| symbol | String | Yes | coin pair, example: btcusdt |
Request Example
http
curl 'https://openapi.100ex.com/open/api/get_ticker?symbol=btcusdt'Response Parameters
| Parameter | Type | Description |
|---|---|---|
| amount | String | total amount |
| high | String | the highest price |
| vol | String | trading volume(the last 24 hours) |
| last | Decimal | the latest transaction price |
| low | String | the lowest price |
| buy | Decimal | buying price |
| sell | Decimal | selling price |
| rose | String | change ratio |
| time | Long | the time of record |
Response Example
json
{
"code": "0",
"msg": "suc",
"data": {
"amount": "150111936.8320605",
"high": "99890",
"vol": "1525.95677",
"last": 99312.9200000000000000,
"low": "55",
"buy": 99312.91,
"sell": 99312.92,
"rose": "0.0100076396680202",
"time": 1736149020000
},
"message": null,
"traceId": null
}Status Code
| Code | Description |
|---|---|
| 0 | success |
| 1 | system error |
