Performance by query
get_query_statsRetrieves clicks, impressions, CTR, and average position per search query in Bing to analyze keyword performance and guide SEO decisions.
Instructions
Clicks, impressions, CTR and average position per search query in Bing. Bing keeps weekly data for recent months; by default rows are summed per query over the period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum rows to return (default 50, max 200). Prefer filters or aggregation over large limits | |
| 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. | |
| contains | No | Only rows whose query/URL contains this text (case-insensitive) | |
| 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) |