Pages for a query
get_pages_for_queryRetrieve URLs of a site that appear in Bing for a given query, along with clicks and impressions. Use site URL and query to analyze page performance.
Instructions
Which URLs of the site show up in Bing for a given query, with their clicks and impressions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 50, max 200). Prefer filters or aggregation over large limits | |
| query | Yes | Exact query | |
| sortBy | No | Sort order (default: clicks) | |
| endDate | No | End date, YYYY-MM-DD (optional) | |
| siteUrl | Yes | Site URL exactly as verified in Bing Webmaster Tools (e.g. https://example.com/). Call list_sites if unsure. | |
| aggregate | No | true (default): one row per item summed over the period. false: one row per item per week | |
| startDate | No | Start date, YYYY-MM-DD (optional) |