locations
Find location_code and language_code for paid SEO endpoints from place names or country codes. Use these free codes to target SERP, keyword, or local search queries.
Instructions
Look up location_code and language_code for the paid SEO endpoints (free) (free)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Filter by name, e.g. france or rosenheim | |
| limit | No | Max rows returned (default 100, max 1000) | |
| country | No | Two-letter ISO code, e.g. DE — returns places inside that country instead of the country list |