Skip to main content
Solved

How to paginate API calls

  • Aug 19, 2026 9:43 PM UTC
  • 2 replies
  • 25 views

DPassey 20080e0 everettsd
Forum|alt.badge.img+2

Does anyone know how to paginate through an API call (like /users)?  Or, how do I change the result count so that I can grab more that 20 rows at a time?

Best answer by EStapf_iiQ

Hi ​@DPassey 20080e0 everettsd Thanks for your question!

Use two query parameters appended to the URL to paginate and adjust the record count:

  • $p (Page Number): Controls which page of results to retrieve using a zero-based index (0 for page 1, 1 for page 2, etc.).

  • $s (Page Size): Controls how many rows to return per request (defaults to 25, with a maximum recommended limit of 1000).

Example Usage

  • Fetch 100 rows per page (Page 1): /users?$s=100&$p=0

  • Fetch the next 100 rows (Page 2): /users?$s=100&$p=1

Hope this helps!

View original

2 replies

EStapf_iiQ
Forum|alt.badge.img+14
  • Employee
  • Answer
  • Aug 19, 2026 10:52 PM UTC

Hi ​@DPassey 20080e0 everettsd Thanks for your question!

Use two query parameters appended to the URL to paginate and adjust the record count:

  • $p (Page Number): Controls which page of results to retrieve using a zero-based index (0 for page 1, 1 for page 2, etc.).

  • $s (Page Size): Controls how many rows to return per request (defaults to 25, with a maximum recommended limit of 1000).

Example Usage

  • Fetch 100 rows per page (Page 1): /users?$s=100&$p=0

  • Fetch the next 100 rows (Page 2): /users?$s=100&$p=1

Hope this helps!


DPassey 20080e0 everettsd
Forum|alt.badge.img+2

Exactly what I needed for my app.  Thanks!