You are reading the docs for API v2.0, an older version.

Go to v2.1

Search location

POSThttps://api.foxentry.com/location/search

This enpoint mainly serves as autocomplete but can be used to search for specific addresses based on filter criteria as well. Foxentry will automatically offer you suggestions to complete the address you are writing down.

Pay attention to the client section in the request body. You can specify the user's location in order to receive more relevant suggestions.

Headers

Api-Versionstring
API version the request is sent to. Without it the latest version is used.
Authorizationstringrequired
Your API key, sent as a Bearer token. Same key as in the key box on the right.

Body params

requestobjectrequired
Custom ID assigned by you if you need so.
queryobjectrequired
Parameters you want to validate or search for.
Type of search.
Searched value.
Street.
Street with number.
Full number.
First part of the number.
Second part of the number.
City.
ZIP code.
Federal state.
Region.
District.
Country code in format ISO-3166-1 alpha-2.
optionsobject
Options that change how the endpoint behaves.
clientobject
Information about your user, to make results more relevant.

Empty fields use the example value shown in grey. Everything you type here is written into the request on the right, and the other way round.

Responses