---
title: QueryRequestPagination
framework: Apple Ads Platform API
role: symbol
role_heading: Object
platforms: [apple ads platform api 1.0+]
path: apple-ads-platform-api/recommendationqueryrequestpagination
---

# QueryRequestPagination

Pagination parameters for a recommendation query request.

## Declaration

```data
object RecommendationQueryRequestPagination
```

## Properties

offset: The zero-based index of the first result to return. Use with pageSize to page through large result sets. Defaults to 0. pageSize: The maximum number of results to return per page. Minimum 1, maximum 1000. Defaults to 20.

## Discussion

Discussion The QueryRequestPagination controls pagination in recommendation query requests. The response includes a pagination envelope with offset, pageSize, and totalCount indicating how many records matched the filters in total. To retrieve the next page, increment offset by pageSize: {   "offset": 20,   "pageSize": 20 } Continue until offset + pageSize >= totalCount. New recommendations may appear or disappear between pages because the result set isn’t snapshotted.

## See Also

- [RecommendationQueryRequest](apple-ads-platform-api/recommendationqueryrequest.md)
- [Sorting](apple-ads-platform-api/recommendationsorting.md)
- [SortingOrder](apple-ads-platform-api/recommendationsortingorder.md)
- [FilterCondition](apple-ads-platform-api/recommendationfiltercondition.md)
- [FilterOperator](apple-ads-platform-api/recommendationfilteroperator.md)
- [RecommendationState](apple-ads-platform-api/recommendationstate.md)
- [RecommendationStatus](apple-ads-platform-api/recommendationstatus.md)
- [RecommendationCategory](apple-ads-platform-api/recommendationcategory.md)
