Look Up Search Locations
webscraping_ai_serp_locationsFind valid location names for SERP queries by returning matching cities, states, or countries with canonical names, country codes, types, and population data.
Instructions
Look up names for the location parameter of webscraping_ai_serp. Returns up to 10 matching locations as JSON, most populous first, each with id, name, canonical_name (pass it as location), country_code, target_type (e.g. City, State, Country), reach (approximate population) and gps ([longitude, latitude]). Matches English names, e.g. petersburg. Free. API docs: https://webscraping.ai/docs#serp-locations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Part of a location name, e.g. austin. Without it, the most populous locations are returned. | |
| limit | No | Maximum number of locations to return, from 1 to 10 (10 by default). |