API Server

For our power users, we provide a Docker image which provides a quick, simple way to host the what3words HTTP API on your own servers. It does not require an internet connection, and works entirely offline. Once we have given you access, simply pull the docker image from our central repository and run it (see sample below). This will give you access to a local, low-latency version of our API, easily accessible from any programming language.

Please see our v2 API docs for a full list of features.

Some of the features:

  • Conversion of 3 word address to coordinate
  • Conversion of coordinates to 3 word addresses
  • Search for similar 3 word addresses (powered by Autosuggest)
  • Voice search

For access to the Local API, or for more information, please contact us at support@what3words.com

Example

              
docker login
docker build -t what3words-api:2.2.1 .
docker run -d -p 8080:8080 what3words-api:2.2.1

# Convert to coordinate
curl --request GET --url 'http://localhost:8080/v2/forward?addr=index.home.raft&lang=en'

# Convert to 3 word address
curl --request GET --url 'http://localhost:8080/v2/reverse?coords=51.521251%2C-0.203586&lang=en'