Back to services

Nominatim

Server application for geocoding (address -> coordinates) and reverse geocoding (coordinates -> address) on OpenStreetMap data.

View alternatives to Nominatim
Suggest edit
Open source
Self-hostable
GPL-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

Nominatim is open-source geocoding software that uses OpenStreetMap (OSM) data to find locations on Earth by name or address (geocoding), and can also find the matching address for any coordinates (reverse geocoding). It powers the search function on the OpenStreetMap website. According to its official site, it can handle about 30 million queries per day on a single server.

Key Features

Finding places by name or address (geocoding)

  • Can serve as the backend for a website's search box, accepting free-form queries in any language, such as "Cafe Paris, New York".
  • Offers a structured query mode, for example postcode=12345, city=London, type=cafe, which makes it easy to geocode large numbers of addresses in bulk and automatically.

Finding addresses from locations (reverse geocoding)

  • Enter the latitude and longitude of any location on Earth, and it returns the nearest address.
  • You can also look up the address information for an OSM object by its ID.

Scalable deployment

  • Scales from small to large: you can run a search service for a single city on a laptop, or import worldwide data on a large server.

Configurable import

  • You decide which OpenStreetMap features should be imported, and Nominatim imports only what you specify.

Staying in sync with OpenStreetMap

  • OSM data is continuously improved by thousands of editors. Nominatim supports minutely updates, so it can keep up with these changes in a timely way.

How to Use It

1. Use the public API (for occasional use)

You can call the public Nominatim service operated by the OSM Foundation directly. You must comply with the official usage policy; the service is not suitable for high-frequency or large-volume requests. For the interface, see the API documentation.

2. Install and host it yourself (for advanced users)

If you need a large number of queries or custom features, you can set up your own instance. At the time this entry was written, the latest version listed on the official site was 5.3.3, and the source code is available from the site's download page. For the steps, see the installation guide. Nominatim uses PostgreSQL/PostGIS as its database. The hardware required depends on the scope of the imported data: data for a single city or region needs modest resources, while worldwide data requires a well-equipped server.

Target Users

  • Developers who need to add place search to a website or app
  • Data analysts or GIS professionals who need to convert addresses to coordinates in bulk
  • Businesses and organizations that want an open-source alternative to commercial geocoding APIs
  • Projects and service providers in the OpenStreetMap ecosystem

Notable Points

  • Fully open source, with the code hosted on GitHub in the osm-search/Nominatim repository. Code contributions and bug reports are welcome.
  • Supported by organizations and companies such as the Sovereign Tech Fellowship, OpenCage, GraphHopper, Komoot and LocationIQ.
  • Provides learning resources such as documentation, tutorials (Cookbook) and a blog.
  • You can fund the project's development through GitHub Sponsors and other means.