Address API Get Started

The best way to convert addresses in lat/lng or the other way round

  1. Overview
  2. Example

Overview

Woosmap Address API is a geocoding service allowing geocode requests (get lat/long for a given address) and reverse geocode requests (get address for given lat/long). Use results from this API either to put a marker on map, obtain human-readable addresses (thanks to reverse geocoding) or even compute travel distances and duration (from obtained lat/long using our Woosmap Distance API).

Propose search autocompletion to your users by using the Autocomplete endpoint and provide him with address suggestions for every typed character.

        https://api.woosmap.com/address/...

    

Example

Here is a sample of an Address API call using Javascript. It combines calls to Autocomplete endpoint to get suggestions while typing and a call to Details endpoint when clicking a suggestion. This last call allows getting and displaying exact latitude and longitude of the selected address on the map.

Was this article helpful?
Have more questions? Submit a request