This endpoint returns the locations that match a partial string passed as query parameter (query).
Locations returned can be either airport, port, zipcode, railTerminal or roadTerminal.

The query parameter locationTypes allows to filter the types returned. A list of values can be passed among port,airport,zipcode,railTerminal, roadTerminal.
If this parameter is not passed in the query, all the types will be searched.

The results are returned with this priority order : port > airport > railTerminal > zipcode > roadTerminal.

For each location, geometry (coordinates) is returned as well as properties fields. These fields differ according to the type of the location.

For airports : name, locode, iataCode

For zipcodes : name, country, postalCode

For ports, rail terminals and road terminals : name, locode

Click Try It! to start a request and see the response here!