<!--
{
  "availability" : [
    "Apple Ads Platform API: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Apple-Ads-Platform-API",
  "identifier" : "/documentation/Apple-Ads-Platform-API/SearchTermPopularityQueryRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Ads Platform API"
    ],
    "preciseIdentifier" : "data:apple-ads-platform-api:SearchTermPopularityQueryRequest"
  },
  "title" : "SearchTermPopularityQueryRequest"
}
-->

# SearchTermPopularityQueryRequest

Request body for the search term popularity query endpoint.

```
object SearchTermPopularityQueryRequest
```

## Example

```json
{
  "fields": [
    "rankInGenre",
    "searchPopularityInGenre",
    "searchPopularity1to100",
    "searchPopularity1to5"
  ],
  "filters": [
    {
      "field": "countryOrRegion",
      "operator": "EQUALS",
      "value": "US"
    },
    {
      "field": "genre",
      "operator": "EQUALS",
      "value": "PRODUCTIVITY_UTILITIES"
    }
  ],
  "sorting": [
    {
      "field": "rankInGenre",
      "order": "ASC"
    }
  ],
  "timeRange": {
    "start": "2025-01-05",
    "end": "2025-01-11",
    "granularity": "WEEKLY_SUN_SAT"
  },
  "pagination": {
    "offset": 0,
    "pageSize": 20
  }
}
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)