Pagination
Last updated
Was this helpful?
Last updated
Was this helpful?
For queries that result in a larger dataset than can be returned in a single response, a continuation_token
field is included. Calling the same endpoint again with the continuation_token
query parameter added will return the next result page. For convenience, a next_url
field is also included, containing a URL that can be called directly to get the next page. Paginated endpoints also takes a page_size
parameter that specifies the maximum number of items that should be included in each response. Only the first call should include page_size
, all subsequent calls should only use continuation_token
. Paginating over a request with set to latest
will preserve the current version across subsequent pagination requests.
Parameters
continuation_token
No
page_size
No
Maximum number of records to return in one response
The following script can be used to browse pages in Python. Make sure to update your trade_url
and X-Api-Key
.