Requests with pagination will change in the search API

Daniel Aleixo

Daniel Aleixo

Last updated

Starting march 31st, the request header resources for pagination will be deprecated. As a result, you will have to use the parameters _from and _to in the URL in order to make a request. For example:


This change has already been implemented in the API, but until the due date, both ways to make the request will be permitted. On the other hand, we won’t make any changes in the response header resources (so it will keep working normally).

- The parameters _from and _to must not have a difference bigger than 50. This will limit the number of results shown to 50 at a time.

- There’s also a limit of 2500 items for any given search. Because of that, it’s not possible to have a value over 2500 at the _to parameter.

To know more about how pagination requests work in the search API, take a look at this document.