Historical Trades
Get historical trades
GET /historical_trades
Returns trades for the given ticker
Query Parameters
Name
Value
Required
ticker_id
string: DEMONIZA/USDT
type
string: buy/sell
limit
integer: 10
start_time
timestamp: 1709150766
Response
{
"buy": [
{
"trade_id":1234567,
"price":"0.009",
"base_volume":"10000",
"target_volume":"90",
"trade_timestamp":"1700050000",
"type":"buy"
},
...
],
"sell": [
{
"trade_id":1234567,
"price":"0.009",
"base_volume":"10000",
"target_volume":"90",
"trade_timestamp":"1700050000",
"type":"sell"
}
]
}
{
"success": false,
"error": {
"message": "The given data was invalid!",
"validations": [
"Pair attribute must be set"
],
"code": 422
}
}Last updated