Geocode

Building requests for the Geocode Autocomplete API

Before you can start using the API, you will need to obtain the authentication token.

The following headers will be required, where the word token must be replaced by the token obtained in the authentication process:

--header 'Content-Type: application/json' \
--header 'Authorization: Bearer token'

As we’ll see below, the Geocode Autocomplete API has 4 different endpoints for each type of use:

  1. Geocode: To return coordinates from an address.
  2. Reverse Geocode: To return address from coordinates.
  3. Suggestions: Autocomplete to return suggestions from addresses or part of them.
  4. Multi Geocode: To return the coordinates of more than one address.