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 a Address API call using Javascript. It combines calls to Autocomplete endpoint to get suggestions while typing and a call to Geocode endpoint when clicking a suggestion. This last call allows to get exact latitude and longitude and display the pin on the map.

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