Top Cities
kinsta_analytics_top-citiesIdentify your website's geographic audience by retrieving top visitor cities for a Kinsta environment. Specify an environment ID and optional date range or time span to get the data.
Instructions
Get top visitor cities.
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": {
"env_id": "<env_id>"
},
"name": "kinsta_analytics_top-cities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Custom end date (YYYY-MM-DD) | |
| from | No | Custom start date (YYYY-MM-DD) | |
| env_id | Yes | The environment ID | |
| time_span | No |