Meta

The returned information generally has some common fields, and the server will put these data in the meta.

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.

Last updated