Bing Webmaster: Get Query Stats
bing_webmaster_get_query_statsRetrieves Bing search query performance for a site over a date window, including clicks, impressions, CTR, and average position; filter by text, sort, and limit results.
Instructions
The search queries the site appeared for on Bing over a date window, each with clicks, impressions, CTR and average position (impression-weighted across Bing's buckets; click_position is weighted by clicks). Bing only reports its top queries, so totals here are less than the site's — use bing_webmaster_get_traffic_summary for site totals. Bing updates this weekly. Bing has no date parameter on this method: one call returns the site's whole history, which this tool filters to the window, aggregates per key, sorts and cuts. Calling it again with another window costs the same single call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site": "<site>"
},
"name": "bing_webmaster_get_query_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site, e.g. "example.com" or "https://www.example.com/". Matched against the sites this API key reaches (bing_webmaster_list_sites), tolerating a missing scheme, www. or trailing slash; an ambiguous or unknown site is refused with the list of accessible ones. | |
| limit | No | Maximum queries to return (1-1000). Defaults to 50. | |
| sort_by | No | Sort order, best first: clicks, impressions, ctr (highest first — noisy on keys with few impressions), or position (lowest, i.e. best, average position first). Defaults to clicks. | clicks |
| contains | No | Keep only queries containing this text (case-insensitive), e.g. "pricing". | |
| end_date | No | Last day of the window, inclusive, YYYY-MM-DD. Defaults to today (UTC). Bing's search data lags a few days and is bucketed (often weekly), so the newest days are usually empty. | |
| start_date | No | First day of the window, inclusive, YYYY-MM-DD. Defaults to 28 days before end_date. Bing returns the whole history and this server filters it, so any range Bing still holds works. |