GET
/
api
/
v2
/
finder
/
google-locations

Locations API allows you to search Piloterr supported locations. It should return an array of locations ordered by reach. Locations that reach the most people will be first. This API is free to use.

Search Query

query
string
required

Parameter restricts your search to locations that contain the supplied string. (e.g., Austin will find ‘Austin, TX’, ‘The University of Texas at Austin’, ‘Rochester, MN-Mason City, IA-Austin, MN,United States’, etc.)

Response

id
string

Unique location identifier

google_id
number

Google location identifier

google_parent_id
number

Google parent identifier

name
string

Location name

canonical_name
string

Full canonical name including city, state/province, and country

country_code
string

Two-letter country code

target_type
string

Location type (City, Country, etc.)

reach
number

Population reach of the location

gps
array

GPS coordinates [longitude, latitude]