Pagination

Some requests will return a paginated set of results, and you can retrieve more pages by incrementing the page query parameter.

The data from the request will be returned in the data key. The following keys will also be present on the request:

  • current_page - The page returned in this request
  • from - The start of the range for this request
  • to - The end of the range for this request
  • total - The total number of results available on all pages
  • first_page_url - The URL for retrieving the first page of results
  • last_page - The index of the last page
  • last_page_url - The URL for retrieving the last page of results
  • next_page_url - The URL for retrieving the next page of results (nullable)
  • prev_page_url - The URL for retrieving the previous page of results (nullable)
  • path - The base URL for this request, without the page parameter.
  • per_page - The maximum number of results returned per page