topvisor_get_history
Retrieve position history for keywords in a specified project and regions. Use a date range or specific dates to get ranking data over time.
Instructions
Get position history for a project and regions. Requires either 'dates' array OR both 'date1' and 'date2'. Returns keywords[] with positionsData.
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": {
"project_id": "<project_id>",
"regions_indexes": "<regions_indexes>"
},
"name": "topvisor_get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| regions_indexes | Yes | Region indexes (from topvisor_list_regions, NOT region_key) | |
| date1 | No | YYYY-MM-DD start date (use with date2) | |
| date2 | No | YYYY-MM-DD end date (use with date1) | |
| dates | No | Array of specific YYYY-MM-DD dates. Use either dates OR date1+date2 pair — both cannot be absent. | |
| fields | No | ||
| competitors_ids | No | ||
| type_range | No | Date range type: 0=all, 1=today, 2=last N days (default), etc. | |
| count_dates | No | ||
| only_exists_first_date | No | ||
| show_headers | No | ||
| show_exists_dates | No | ||
| show_visitors | No | ||
| show_top_by_depth | No | ||
| positions_fields | No |