limit and offset — and every paginated response includes a meta object that tells you exactly where you are and how many total results exist. This makes it straightforward to build efficient polling loops, bulk exports, and infinite-scroll interfaces.
Query parameters
Addlimit and offset directly to your request URL as query parameters.
| Parameter | Type | Default | Maximum | Description |
|---|---|---|---|---|
limit | integer | 50 | 200 | Number of items to return in this response |
offset | integer | 0 | — | Number of items to skip before returning results |
The meta object
Every paginated response wraps results in adata array and includes a meta object:
| Field | Type | Description |
|---|---|---|
count | integer | Number of items in the current response page |
total | integer | Total items matching your query across all pages |
offset | integer | The offset value used for this response |
limit | integer | The limit value used for this response |
total to calculate how many pages remain. Use count to detect the last page — when count is less than limit, you’ve reached the end.
The arbitrage endpoints do not always return a
total count. On those endpoints, rely on meta.count to detect the end of results: when count is less than limit, there are no more pages.Fetching a page with curl
To fetch the second page of 25 results, setoffset=25 and limit=25:
curl
limit=200:
curl
Iterating through all pages in Python
The function below fetches all results from a paginated endpoint by incrementingoffset until all items have been retrieved. It uses limit=200 to minimize the number of requests:
python
The meta.source field on arbitrage endpoints
Arbitrage responses include an additionalmeta.source field that indicates where the data was served from:
| Value | Meaning |
|---|---|
database | Results were read directly from the primary database — fresh, authoritative data |
cache | Results were served from the cache layer — may be up to a few seconds behind the latest scan |
| (empty string) | Source is not tracked for this response type |
meta.source to understand data freshness when timing is critical. If you need the most current opportunity data, check that meta.source is database or confirm that freshness.is_stale is false on individual opportunities.
