Skip to main content
POST
mobilitydatabase_find_locations

Authorizations

X-API-Key
string
header
required

Your fetchbean API key (fb_…). Keys are not accepted through Authorization.

Headers

Idempotency-Key
string

A caller-generated key for safely retrying this execution after a network failure. Reusing the same key with the same operation and input returns the original result; reusing it for a different call is rejected.

Body

application/json
search_query
string

Accent-insensitive prefix match on the name and its hierarchy: 'mon' finds Montréal

country_code
string

ISO 3166-1 alpha-2

subdivision_code
string

ISO 3166-2, e.g. CA-QC

location_type
Allowed value: "country"
limit
integer

Defaults to 20 here (upstream's own default is its maximum)

Required range: 0 <= x <= 100
offset
integer
Required range: x >= 0

Response

Success

The response is of type object.