pagination object; you follow the cursor it gives you until there are no more
pages.
The pagination object
Every collection response carries apagination block:
Opaque token for the next page. Pass it back as the
cursor query param. It is null
on the final page.true while more pages remain; false on the final page. Use this as your stop
condition.The page size in effect for this response.
Total matching rows, included only when you request it (see below).
Request a page
Number of items per page,
1–200. A few endpoints cap it lower — GET /search and
GET /creators/top allow 1–25 (default 10). Each endpoint’s reference page
lists its exact range.The previous response’s
pagination.next_cursor. Omit it to fetch the first page.When
true, the response adds pagination.total_count. This runs an extra COUNT
query, so request it only when you need the total.Link headers
List responses also include an RFC 8288Link header with rel="first" and,
when more pages exist, rel="next" — a ready-to-follow absolute URL:
rel="next" if you prefer not to assemble URLs yourself; the absence of a
next link mirrors has_next: false.
Fetch all pages
Loop whilehas_next is true, passing the previous next_cursor each time.