Pagination
Some APIs may contain a large number of documents. It is possible to paginate data in such APIs by passing limit
and offset
parameters in the GET query string.
Parameter
Type
Description
limit
Number
Maximum number of documents the API will return.
offset
Number
Number of documents to skip in the results set.
Example
To fetch 20 AMM pools from record 60 through 79, offset
parameter would be set to 60 and limit
parameter would be set to 20.
Last updated