What3Words

What3Words

Geocoding

Three words as rememberable and unique coordinates worldwide

Visit APIπŸ” Alternatives

πŸ“š Documentation & Examples

Everything you need to integrate with What3Words

πŸš€ Quick Start Examples

What3Words Javascript Examplejavascript
// What3Words API Example
const response = await fetch('https://what3words.com', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

The Three Words API provides a groundbreaking way to identify locations around the globe using unique, memorable three-word addresses. With the increasing reliance on precise location data in various applicationsβ€”from delivery services to travel guidesβ€”this API offers an innovative solution that makes it easier for users to remember and communicate geographical coordinates. By utilizing the power of word combinations, it transforms complex GPS coordinates into approachable and user-friendly identifiers, greatly enhancing location sharing and navigation experiences.

Integrating the Three Words API comes with numerous advantages, making it an essential tool for developers looking to enhance their applications. Here are some benefits of using this API:

  • Simplifies communication of locations by using memorable three-word phrases.
  • Increases accuracy in navigation and delivery applications.
  • Reduces errors associated with traditional latitude and longitude coordinates.
  • Enhances user experience with an intuitive addressing system.
  • Supports a wide range of languages, making it accessible globally.

Here’s a JavaScript code example for calling the Three Words API:

const fetch = require('node-fetch');

const apiKey = 'YOUR_API_KEY';
const url = 'https://api.what3words.com/v3/convert-to-3word';

async function getThreeWords(latitude, longitude) {
    try {
        const response = await fetch(`${url}?coordinates=${latitude},${longitude}&key=${apiKey}`);
        const data = await response.json();
        if (response.ok) {
            console.log(`Three words for the location: ${data.words}`);
        } else {
            console.error(`Error: ${data.message}`);
        }
    } catch (error) {
        console.error('Fetch error: ', error);
    }
}

// Example usage:
getThreeWords(51.521251, -0.202353);
πŸ”’

Security Assessment

F
πŸ”’HTTPS
Enabled
SSL Grade: T
πŸ›‘οΈHeaders
0/100
πŸ•’Last Assessed
10 months ago
ℹ️Click for detailed analysis

πŸ“Š 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Apr 7Apr 9Apr 11Apr 13Apr 15Apr 17Apr 19Apr 21Apr 23Apr 25Apr 27Apr 29May 1May 3May 604008001440Minutes
Online
Offline

Related APIs in Geocoding