For every read command that is served over our API you can use extensive filters and sorting by sending a specific payload in the request header.
The default and maximum value of items per page is 100. If you want to reduce the number of returned items you can set a different limit.
We use cursor-based pagination. Here is a step-by-step example workflow of how you can skip through pages:
has_more is trueListOffers{"pagination":{"starting_after":980}}has_more field is still truehas_more is falseUse starting_after to navigate forward and ending_before to navigate backward. Never use both starting_after and ending_before together.
{
"pagination": {
"limit": 50,
"starting_after": "980"
}
}
There are several options to sort the items in the response body. You can order them in an ascending (ASC) or descending (DESC) way and you can sort them by different arguments, like ID, creation date, or currency to name a few.
Every read command offers a variety of filter options. Within each service, different filter options are available: