Answers
The envelope every answer uses - data and meta - and the headers that come with it.
A successful answer is HTTP 200 with
{ "data": "...", "meta": { "attribution": ["..."], "next_cursor": null, "weight": 1, "terms": "https://chartdeck.trade/terms#api" } }meta field | Meaning |
|---|---|
attribution | the sources of this answer, as display lines (Attribution) |
next_cursor | the next page's cursor, or null (Pagination) |
weight | the units this call cost |
terms | the API terms |
data is what the operation's reference page describes: a list (candles, events, stories) or an object. Field names are snake_case; times are explained on Times.
Errors use their own shape: see Errors. Every answer also has X-Request-Id when the server sets one; quote it to support.