Supply: Pagination

Modified on Fri, 6 Mar at 5:16 PM

By default, the API will return 10 parts.

You can add the "limit" parameter to adjust this value up to a maximum of 100 parts requested.


You can also select what "page" you start on by adding a "start" parameter which is an index-based offset. So, by default, page 2 will begin on the 11th hit if the default limit is 10.

The page start value cannot exceed 1000.


Here is an example of using limits and start pages:

#This will return 15 parts
query partsByMpn {
  supSearchMpn (q: "acs770", limit: 15){
    hits
    results {
      part {
        id
        name
        mpn        
      }
    }
  }
}
#This will return ten parts, but start on the 3rd part, skipping the first two parts
query partsByMpn {
  supSearchMpn (q: "acs770", start: 2){
    hits
    results {
      part {
        id
        name
        mpn        
      }
    }
  }
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article