{"section":"announcements","requestedLocale":"en","requestedSlug":"2018-01-24-requests-with-pagination-will-change-in-the-search-api","locale":"en","slug":"2018-01-24-requests-with-pagination-will-change-in-the-search-api","path":"docs/en/announcements/2018/january/2018-01-24-requests-with-pagination-will-change-in-the-search-api.md","branch":"main","content":"> ⚠️ **Warning**: VTEX has two search options - VTEX search and VTEX Intelligent Search. This article refers to the VTEX search. To learn more about the VTEX Intelligent Search application, see [this track](/en/tracks/vtex-intelligent-search--19wrbB7nEQcmwzDPl1l4Cb).\n\nStarting __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:\n\n`http://{{AccountName}}.{{environment}}.com.br/api/catalog_system/pub/products/search?ft=refrigerator&_from=1&_to=30`\n\nThis 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).\n\n> ⚠️ **Important:**<br /> - 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.<br /> <br /> - 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.<br />\n\nTo know more about how pagination requests work in the search API, take a look at this [document](https://developers.vtex.com/docs/api-reference/search-api)."}