Data
GEThttps://api.datamaxiplus.com/api/v1/ticker
Fetch the latest ticker for symbol from given exchange.
Request
Query Parameters
exchange stringrequired
Specifes exchange
Example: binance
symbol stringrequired
Specifies symbol
Example: BTC-USDT
market string
Possible values: [spot
, futures
]
Specifies market
Default value:
spot
Example: spot
currency string
Possible values: [KRW
, USD
]
Specifies currency applied to price values
Default value:
USD
Example: KRW
Header Parameters
X-DTMX-APIKEY stringrequired
Your DataMaxi+ API key
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
currency string
data
object
market string
{
"currency": "string",
"data": {
"b": "string",
"d": 0,
"e": "string",
"id": "string",
"p": 0,
"pfiat": 0,
"pusd": 0,
"q": "string",
"s": "string",
"v": 0,
"vfiat": 0,
"vusd": 0
},
"market": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
error string
error
specifies the error message
{
"error": "string"
}
- curl
- python
- go
- nodejs
- CURL
ResponseClear