Pagination
How to increase API data limit for decentralized exchanges using pagination.
Abyiss implements cursor pagination for all REST requests that return arrays of data. This includes endpoints such as /tokens
and /pools
. By default, these endpoints return the latest items. To retrieve more results per page, you can specify the limit
parameter.
The limit
parameter determines the number of results to be included in each page of the response. It's important to note that the maximum pagination limit may vary depending on the specific exchange. Some exchanges may support higher pagination limits than others.
Example
To fetch a page of tokens with a limit of 500 results, you can use the following API request:
GET /tokens?limit=500
Example URL:
Parameters
limit
100
Number of results per request. Maximum 1,000. (default 100)
Last updated
Was this helpful?