Convert To What 3 Words
GET
https://api.woosmap.com/what3words/convert-to-3wa
This function will convert a latitude and longitude to a 3 word address, in the language of your choice. It also returns country, the bounds of the grid square, a nearby place (such as a local town) and a link to the what3words map site.
Rate limit: 20/1s
Ratelimit: 20/1s
Authorization
Query Parameters
Response
Successful Response
Any of
country
string required
nearestPlace
string required
words
string required
language
string required
locale
string
map
string required
square
object required
Show 2 propertiesHide 2 properties
coordinates
object required
Errors
401
Unable to locate credentials.
application/json
detail
string required
402
Out of free quota.
application/json
detail
string required
403
Credentials found, but not matching.
application/json
detail
string required
422
Validation Error
429
Rate limit reached
application/json
details
string required
curl -L -X GET 'https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY' \
-H 'Referer: http://localhost'
import requests
url = "https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY"
payload={}
headers = {
'Referer': 'http://localhost'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
var requestOptions = {
method: 'GET',
redirect: 'follow'
};
fetch("https://api.woosmap.com/what3words/convert-to-3wa?coordinates=48.858304,2.294514&key=YOUR_PUBLIC_API_KEY", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
{
"coordinates": {
"lat": 48.858304,
"lng": 2.294514
},
"country": "FR",
"language": "en",
"map": "https://w3w.co/couch.spotted.amended",
"nearestPlace": "Paris",
"square": {
"northeast": {
"lat": 48.858317,
"lng": 2.294535
},
"southwest": {
"lat": 48.85829,
"lng": 2.294494
}
},
"words": "couch.spotted.amended"
}