Skip to content
OSINTtools.io

what3words API

Converts between three-word addresses for 3 m squares and map coordinates, via website, app or API.

Base URL
https://api.what3words.com/v3
Sign-in
API key
Pricing
Subscription
Format
REST
Endpoints
5

Compiled by OSINTtools.io editors from developer.what3words.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The what3words API converts between coordinates and three-word addresses (a 3 m x 3 m grid of the world), suggests valid addresses for partial or misspelled input, and returns sections of the grid. An investigator can use it to turn a three-word address found in a post, message or report into coordinates, or the reverse.

All calls are HTTPS GET requests to https://api.what3words.com/v3, with parameters URL-encoded. The key goes in the key query parameter or the X-Api-Key header; the examples here use the header. Errors come back as {"error": {"code": "...", "message": "..."}}.

The Free plan includes only autosuggest and available-languages. Business plans have a billing-period quota for convert-to-coordinates.

Quick start

  1. Get a key

    Create an account with what3words and copy your api key. Where to get it

  2. Make your first request

    Convert latitude and longitude to a three-word address.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.what3words.com/v3/convert-to-3wa?coordinates=51.432393%2C-0.348023' \
      -H 'X-Api-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "country": "GB",
      "square": {
        "southwest": {
          "lng": -0.195543,
          "lat": 51.520833
        },
        "northeast": {
          "lng": -0.195499,
          "lat": 51.52086
        }
      },
      "nearestPlace": "Example Town, Exampleshire",
      "coordinates": {
        "lng": -0.195521,
        "lat": 51.520847
      },
      "words": "alpha.beta.gamma",
      "language": "en",
      "locale": null,
      "map": "https://w3w.co/alpha.beta.gamma"
    }

Authentication

Send your API key in the X-Api-Key header of every request.

The key can also be sent as the `key` query parameter.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Free plan: 10 requests per second on autosuggest and 200 on available-languages. Basic, Standard, Plus and Premium plans: 200 requests per second on every function.

Pricing: subscription.

Errors

StatusMeaning
400Bad request: invalid or missing parameter (for example BadWords, MissingInput, DuplicateParameter)
401MissingKey or InvalidKey
402Feature not available on the Free plan, or the convert-to-coordinates quota is exceeded
404URL not found
405Method not allowed; use GET
429Rate limit exceeded

Convert

  • Passive: the target is not contacted
  • Plan: Not on the Free plan

Returns the three-word address of the 3 m square that contains the coordinates, with the square's corners and the nearest place.

Query parameters

coordinatesstringrequired

Latitude and longitude as a comma-separated pair

Example: 51.432393,-0.348023
languagestring

ISO 639-1 language code of the address; oo for Bosnian-Croatian-Montenegrin-Serbian

Example: enDefault: en
formatstring

Response format

Example: jsonDefault: jsonOne of: json, geojson
localestring

Language variant, for example mn_la; null if the language has no variants

Example: mn_la
Response fields · 12Show

countrystring

ISO 3166-1 alpha-2 country code

latnumber

Latitude of the square's south-west corner

lngnumber

Longitude of the square's south-west corner

latnumber

Latitude of the square's north-east corner

lngnumber

Longitude of the square's north-east corner

nearestPlacestring

Nearest place name

latnumber

Latitude of the square's centre

lngnumber

Longitude of the square's centre

wordsstring

The three-word address

languagestring

Language of the address

localestring

Language variant, or null

mapstring

Link to the address on the what3words map

curl 'https://api.what3words.com/v3/convert-to-3wa?coordinates=51.432393%2C-0.348023' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "country": "GB",
  "square": {
    "southwest": {
      "lng": -0.195543,
      "lat": 51.520833
    },
    "northeast": {
      "lng": -0.195499,
      "lat": 51.52086
    }
  },
  "nearestPlace": "Example Town, Exampleshire",
  "coordinates": {
    "lng": -0.195521,
    "lat": 51.520847
  },
  "words": "alpha.beta.gamma",
  "language": "en",
  "locale": null,
  "map": "https://w3w.co/alpha.beta.gamma"
}
  • Takes: Name
  • Passive: the target is not contacted
  • Cost: Counts against the plan's convert-to-coordinates quota on Business plans
  • Plan: Not on the Free plan

Returns the coordinates and square for a three-word address. The words may be prefixed with ///, URL-encoded as %2F%2F%2F. A non-existent address returns 400 with code BadWords.

Query parameters

wordsstringrequiredtakes your name

Three words separated by a dot-like character

Example: alpha.beta.gamma
formatstring

Response format

Example: jsonDefault: jsonOne of: json, geojson
Response fields · 12Show

countrystring

ISO 3166-1 alpha-2 country code

latnumber

Latitude of the south-west corner

lngnumber

Longitude of the south-west corner

latnumber

Latitude of the north-east corner

lngnumber

Longitude of the north-east corner

nearestPlacestring

Nearest place name

latnumber

Latitude of the square's centre

lngnumber

Longitude of the square's centre

wordsstring

The three-word address

languagestring

Language of the address

localestring

Language variant, or null

mapstring

Link to the address on the what3words map

curl 'https://api.what3words.com/v3/convert-to-coordinates?words=alpha.beta.gamma' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "country": "GB",
  "square": {
    "southwest": {
      "lng": -0.195543,
      "lat": 51.520833
    },
    "northeast": {
      "lng": -0.195499,
      "lat": 51.52086
    }
  },
  "nearestPlace": "Example Town, Exampleshire",
  "coordinates": {
    "lng": -0.195521,
    "lat": 51.520847
  },
  "words": "alpha.beta.gamma",
  "language": "en",
  "locale": null,
  "map": "https://w3w.co/alpha.beta.gamma"
}
  • Takes: Name
  • Passive: the target is not contacted
  • Plan: Any plan, including Free

A partial address needs the first two words and the first character of the third. Clip parameters limit results and can be combined (the result is the intersection); focus then ranks what remains. distanceToFocusKm is meaningful only when focus is given.

Query parameters

inputstringrequiredtakes your name

Full or partial three-word address

Example: alpha.beta.g
focusstring

lat,lng point to rank results by proximity

Example: 51.4,-0.3
clip-to-countrystring

Comma-separated ISO 3166-1 alpha-2 country codes; invalid codes return no results

Example: GB,BE
clip-to-bounding-boxstring

south_lat,west_lng,north_lat,east_lng

Example: 51.4,-0.4,51.6,-0.1
clip-to-circlestring

lat,lng,kilometres; one circle per call

Example: 51.5,-0.2,10
clip-to-polygonstring

Closed polygon of comma-separated lat,lng pairs: at least 4 entries, at most 25 pairs

Example: 51.4,-0.4,51.4,-0.1,51.6,-0.1,51.4,-0.4
input-typestring

Kind of input

Example: textDefault: textOne of: text, vocon-hybrid, nmdp-asr, generic-voice
languagestring

Fallback ISO 639-1 language; required for voice input

Example: en
prefer-landboolean

Prefer land results; set false to include more sea results

Example: true
localestring

Language variant, for example mn_la

Example: mn_la
Response fields · 7Show

countrystring

ISO 3166-1 alpha-2 country code

nearestPlacestring

Nearest place name

wordsstring

Suggested three-word address

distanceToFocusKminteger

Distance to the focus point in km

rankinteger

Rank of the suggestion

languagestring

Language of the address

localestring

Language variant, or null

curl 'https://api.what3words.com/v3/autosuggest?input=alpha.beta.g' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "suggestions": [
    {
      "country": "GB",
      "nearestPlace": "Example Town, Exampleshire",
      "words": "alpha.beta.gamma",
      "distanceToFocusKm": 1,
      "rank": 1,
      "language": "en",
      "locale": null
    },
    {
      "country": "BE",
      "nearestPlace": "Sample City, Sample Region",
      "words": "alpha.beta.golf",
      "distanceToFocusKm": 105,
      "rank": 2,
      "language": "en",
      "locale": null
    }
  ]
}

Grid

  • Passive: the target is not contacted
  • Plan: Not on the Free plan

The box may be at most 4 km corner to corner, otherwise the error BadBoundingBoxTooBig is returned. Longitudes may wrap past 180.

Query parameters

bounding-boxstringrequired

south_lat,west_lng,north_lat,east_lng

Example: 52.207988,0.116126,52.208867,0.117540
formatstring

Response format

Example: jsonDefault: jsonOne of: json, geojson
Response fields · 4Show

latnumber

Latitude of the line's start

lngnumber

Longitude of the line's start

latnumber

Latitude of the line's end

lngnumber

Longitude of the line's end

curl 'https://api.what3words.com/v3/grid-section?bounding-box=52.207988%2C0.116126%2C52.208867%2C0.117540' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "lines": [
    {
      "start": {
        "lng": 0.116126,
        "lat": 52.208009
      },
      "end": {
        "lng": 0.11754,
        "lat": 52.208009
      }
    }
  ]
}

Account and reference

  • Passive: the target is not contacted
  • Plan: Any plan, including Free

Returns each language's code, English name and native name. oo (Bosnian-Croatian-Montenegrin-Serbian) is described in the docs but is not in their example list.

Response fields · 3Show

codestring

Language code

namestring

English name

nativeNamestring

Name in the language itself

curl 'https://api.what3words.com/v3/available-languages' \
  -H 'X-Api-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "languages": [
    {
      "nativeName": "Deutsch",
      "code": "de",
      "name": "German"
    },
    {
      "nativeName": "English",
      "code": "en",
      "name": "English"
    }
  ]
}