Locations Endpoint

Query available Google locations for targeting.


GET/serpnode/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
/serpnode/v1/locations
curl -G 'https://api.serpnode.com/serpnode/v1/locations' \
  --data-urlencode 'q=New York' \
  -H 'apikey: YOUR-API-KEY'