ABCC API
Search…
⌃K

Meta

The returned information generally has some common fields, and the server will put these data in the meta.
Script
Type
Explanation
Page
Integer
The currently requested page code
per_page
Integer
number per page
total_count
Integer
Total number of resources
Example
api/v1/exchange/trades
{
"meta": {
"page": 1,
"per_page": 10,
"total_count": 3
},
"trades": [{
"id": 64,
"price": "0.383",
"volume": "100.0",
"funds": "38.3",
"market_code": "ethbtc",
"created_at": "2018-09-12T01:56:26Z",
"side": "bid"
},
{
"id": 62,
"price": "0.381",
"volume": "100.0",
"funds": "38.1",
"market_code": "ethbtc",
"created_at": "2018-09-11T14:35:31Z",
"side": "ask"
},
{
"id": 60,
"price": "0.382",
"volume": "100.0",
"funds": "38.2",
"market_code": "ethbtc",
"created_at": "2018-09-11T14:35:14Z",
"side": "ask"
}
]
}
All resources can be supported by the list API method. For example, there are trades and trades. These list API methods all have the same data structure.
Parameter
Type
Explanation
page
Integer
requested page code
per_page
Integer
number per page
Last modified 1yr ago