> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quoindata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination

> Page through records and search results with cursors.

[`records`](/api-reference/property-data/list-records) and [`search`](/api-reference/search/search-records) return results in pages of up to 100 (default 50, set with `limit`). When more results exist, the response includes `next_cursor` in both `data` and `meta`.

Pass it back as `cursor`, with the same other parameters, to get the next page. When `next_cursor` is absent, you have everything.

```python theme={null}
params = {"kind": "permit", "limit": 100}
while True:
    page = call(f"/entities/{q_id}/records", params, billable=True)
    handle(page["items"])
    if "next_cursor" not in page:
        break
    params["cursor"] = page["next_cursor"]
```

* Cursors are opaque. Don't build or edit them.
* A cursor from `records` doesn't work on `search`, and the other way round.
* Each page is a separate billable call. Use `kind` or a tighter filter rather than paging through everything.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.