Locations API

Lookup supported locations for Google Search


In order to conduct a search from a specific locaiton, you must supply a valid location to search from. This API will let you search for a given location and you must use the canonical_name as the location parameter.

This API is free to use and incurs no costs.


GET /v1/google/locations

Example

curl --get https://api.noble-serp.com/v1/google/locations \  -H "Authorization: Api-Key ns_xxxxxxxxx" \  -d q="san francisco"

Parameters

Lookup Parameters

ParameterRequiredDescription
qYesThe search query

Pagination

ParameterDescription
fromResults offset
limitNumber of results to return

Sample Response

[  {    "id": 9073451,    "parent_id": 2840,    "name": "San Francisco Bay Area",    "canonical_name": "San Francisco Bay Area,United States",    "country_code": "US",    "target_type": "Region",  },  {    "id": 200807,    "parent_id": 21137,    "name": "San Francisco-Oakland-San Jose, CA",    "canonical_name": "San Francisco-Oakland-San Jose,CA,California,United States",    "country_code": "US",    "target_type": "DMA Region",  },]