Core APIs
Locations API

Parameters

1min
parameters get get /locations the following parameters can be used to refine the results from the locations api parameter required description api key required the api key for your account q optional the query to use to search for locations, i e new york or mumbai id optional the id of a specific location (location ids are returned with all results from the locations api) parent id optional limits the search to child locations of the given parent id useful for retrieving all sub locations of a given location (all cities within a country, for example) type optional limits the results to a specific type of location valid values are city , country , county , dma region , municipality , neighborhood , state , postal code or province multiple location types should be presented as a comma seperated list (i e type=state,city to include location results that are of type state or city ) country code optional limits the results to locations in specific countries see supported countries https //docs trajectdata com/scaleserp/search api/reference/google countries for a full list of all supported values multiple countries should be presented as a comma seperated list (i e country code=de,fr,us for germany, france and the united states) limit optional limits the number of search results returned per page defaults to 10 the maximum number of location results returned per page is 100 use in conjunction with the the page parameter to implement pagination page optional specifies the page of results to retrieve from 0 (first page) to a maximum page number of 100 (scale serp does not support paging beyond the 100th page) defaults to 0 use in conjunction with the limit parameter to limit the number of results returned per page