Locations Endpoint
Query available Google locations for targeting.
GET/v1/locations
List Locations
When q is provided, performs a full-text search over canonical names.
Optional attributes
- Name
q- Type
- string
- Description
- Query string to filter locations.
Response Properties
- Name
locations- Type
- array
- Description
- List of locations with fields:
google_id,google_parent_id,name,canonical_name,country_code,target_type.
Request
GET
/v1/locationscurl -G 'https://api.serpnode.com/v1/locations' \
--data-urlencode 'q=New York' \
-H 'apikey: YOUR-API-KEY'