find_rank_location
Find the place a keyword is searched from, as a person types it: a city, region, postcode or country name. Returns DataForSEO's own places with the locationCode that add_rank_keywords takes. The list does not hold every postcode of a country; a place that is not found can be tracked by coordinates instead ("lat,lng" as the query returns them normalised). bingExact false means Bing cannot be pointed at that place and would search the whole country.
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": {
"country": "<country>",
"query": "<query>"
},
"name": "find_rank_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to look for: "auckland", "1010", "hamburg" — or coordinates "lat,lng". | |
| country | Yes | Country, ISO 3166-1 alpha-2 (e.g. "nz", "de"). |