/
API
v2.0
v2.1
latest
v2.0
supported until 05/2027
Partner with us
Try Foxentry
Intro
Low Code & No Code
API Reference
Recipes
FAQ
Support
SDKs
?
+100
Intro
Low Code & No Code
API Reference
Recipes
FAQ
Support
SDKs
Try Foxentry
Partner with us
API version
v2.1
v2.0
You are reading the docs for
API v2.0
, an older version.
Go to v2.1
All recipes
Location
POST /location/validate
Check for typos in locations and correct them
Stage
1
/7
01
Authenticate
Firstly you need to properly authenticate. If you do not have your API key. Please sign up at app.foxentry.com/registration
02
Choose the API version
You can choose the API if you need to. If you remove this part, the latest version would be used by default.
03
Specify the location data to validate
Use at least one parameter. If more than one parameters are used, the validator will check the validity of the combination as well.
04
Check the datascope
You can use "basic" or "full" datascope. Full datascope returns more information about the location (such as GPS data).
05
Check the zipFormat
You can set up the format of the ZIP number you'd like to be returned. True = the ZIP will be formatted such as "186 00"
06
Check the cityFormat
You can set up the format of the City name you'd like to be returned. Minimal = Praha, basic = Praha 8, extended = Praha 8 - Karlín.
07
Check the acceptPostOfficeAsCity
If true, the postOffice name is accepted as city. For example Thámova 137/16, Praha 8 and Thámova 137/16, Praha 86 would be both valid.
‹ Back
Next step ›
Try it live ›
Request
Response
Copy
Copied