Get Single Query History
get_single_query_historyRetrieve search statistics history for a specific query using its query_id. Tracks shows, clicks, and average position over a chosen date range.
Instructions
Get search statistics history for a specific query (by query_id from get_popular_queries).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_to | Yes | End date (YYYY-MM-DD) | |
| host_id | Yes | Host ID (format: https:example.com:443) | |
| user_id | Yes | Yandex Webmaster user ID | |
| query_id | Yes | Query ID from get_popular_queries response | |
| date_from | Yes | Start date (YYYY-MM-DD) | |
| query_indicator | No | Comma-separated: TOTAL_SHOWS,TOTAL_CLICKS,AVG_SHOW_POSITION,AVG_CLICK_POSITION | |
| device_type_indicator | No | ALL, DESKTOP, MOBILE, PHONE, TABLET |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |