Google Locations
GET
Find supported Google locations and retrieve location IDs and country codes (free endpoint).
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringSearch locations supported by Piloterr (cities, countries, etc.) by providing a query string. Returns matching locations ordered by reach.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
Default
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
Default
falseSuccessful response
application/json- response
[index: integer]?curl -X GET 'https://api.autom.dev/v1/finder/google-locations?query=string'Example Response
[ { "id": "585069b8ee19ad271e9ba949", "gps": [ -97.7430608, 30.267153 ], "name": "Austin", "reach": 6440000, "google_id": 1026201, "target_type": "City", "country_code": "US", "canonical_name": "Austin,Texas,United States" }]