OpenStreetMap Nominatim API

Open Source

by OpenStreetMap

Provided by OpenStreetMap

Not yet rated
Platform
API
Pricing
Open Source
Account required
No
Ads
None
Last verified
15 hours ago
Developer
OpenStreetMap
Official URL

Overview

Nominatim is the open-source search engine behind the search box on openstreetmap.org. It does geocoding, which means turning a place name or address into map coordinates, and reverse geocoding, which means finding the nearest address for a given latitude and longitude. All of its answers come from OpenStreetMap data.

The API has a small set of endpoints. Search accepts either a free-form query in any language or a structured one broken into fields such as city and postcode. Reverse returns the address for a coordinate, and lookup returns address details for known OpenStreetMap object IDs. There are also status and debugging endpoints.

There are two ways to use it. The public server run by the OpenStreetMap Foundation is free, but its usage policy is strict: at most one request per second counted across all your users, a Referer or User-Agent that identifies your application, visible OpenStreetMap attribution, and no auto-complete, bulk or systematic querying. The policy also warns that access can be withdrawn. For anything heavier, the project expects you to install Nominatim on your own server, from a single city on a laptop up to the whole planet, or to use one of the commercial providers that host it.

Features

  • Forward geocoding from free-form or structured queries
  • Reverse geocoding from latitude and longitude to an address
  • Lookup of address details by OpenStreetMap object ID
  • Queries accepted in any language
  • Self-hosted installs from one city up to the whole planet
  • Minutely updates to follow OpenStreetMap edits
  • Status endpoint for checking a server

Privacy

Use of the public server is covered by the OpenStreetMap Foundation privacy policy, and the usage policy asks you not to submit personal data or confidential material. The nominatim.org site itself loaded no analytics or ad scripts when checked.

Pros & Cons

Pros

  • Open-source software built on open map data
  • The public server needs no payment to try
  • Can be self-hosted with no query limits other than your own hardware
  • Search and reverse geocoding are covered by the same API

Cons

  • The public server allows at most one request per second per application
  • Auto-complete, bulk geocoding and systematic queries are banned on the public server
  • Results carry the ODbL licence and need OpenStreetMap attribution
  • Public access can be withdrawn without notice, and a planet-wide instance of your own needs a sizeable server

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools