Fetch valid regions, districts, and cities for parameter-based tasks
Use this endpoint to fetch valid regions, districts, and cities used in parameter-based tasks for the Google Maps Search Export crawler. This is essential when constructing structured tasks where accurate location inputs are required.Documentation Index
Fetch the complete documentation index at: https://docs.lobstr.io/llms.txt
Use this file to discover all available pages before exploring further.
Token YOUR_API_KEYUSCaliforniaSan Diegoregion empty to get regions for a countryregion, leave city empty to get cities in that regiondistrict to narrow down the city list further| Parameter | Required | Description |
|---|---|---|
| country_code | Yes | ISO 2-letter country code (e.g., US, FR, PK) |
| region | Conditional | Required when querying districts or cities. Leave empty to get regions. |
| district | No | Narrows the city list within a region |
| city | No | Used when retrieving a refined list of locations |