Pagination

This page explains how to paginate through the results of the Rankbid API.

When you make a request to an endpoint that returns a list of resources, the response will contain at most 100 resources. You can change the size of a resource page by passing the limit query parameter. The maximum value for the limit parameter is 100. In order to get the next page of results, you will need to pass the offset query parameter.

Getting the 2nd page of completed auctions with default page size

GET
/v1/auctions
curl -G https://www.rankbid.io/api/v1/auctions \
  -H "Authorization: Bearer {api_key}" \
  -d "status=completed" \
  -d "offset=100"

Was this page helpful?