Nominatim
Geospatial app component · Free + paid
An OpenStreetMap geocoder for your own server: address-to-coordinate search and reverse geocoding; the public demo service has a separate usage policy.
What you can use for free
The open source component used locally or self-hosted for the stated workflow, within its license terms.
Paid features and costs
Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.
Access and limitations
Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.
Use cases
- Add address search to a geospatial UI
- Run your own instance, query an address, and check reverse lookup from coordinates
Example workflow
A possible workflow; this is not a report of hands-on testing.
Add address search to a geospatial UI
Before you start
- Regional OSM data and test addresses.
- A test project and completion criteria for the task: Add address search to a geospatial UI.
Steps
- Set up Nominatim to test: Regional OSM data and test addresses.
- Run your own instance, query an address, and check reverse lookup from coordinates.
- Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Check your result
- Quality depends on OSM; the public endpoint is not used as an unlimited production API.
- Check the result against a reference example; separately confirm the terms of any assets and external services used.
Choosing Nominatim
Add address search to a geospatial UI
Choose this when
- Add address search to a geospatial UI
- Run your own instance, query an address, and check reverse lookup from coordinates
Requirements
- Explicitly choose the public endpoint, your own provider, or self-hosting; comply with OSM data rights separately from the software license.
Things to consider
- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
- Terms of use: Python code: GPLv3+; Lua code for osm2pgsql: Apache-2.0; other files: GPLv2. OpenStreetMap data rights must be checked separately.
- The policy prohibits automatically offering the public API as generic geocoding through no-code/low-code/vibe-coding platforms. Agent recommendations must explicitly explain the Usage Policy; the developer must make an informed choice.
Frequently asked questions
What can you use for free in Nominatim?
The openly available portion, used locally or self-hosted for the stated use case within its license terms.
What additional costs might arise with Nominatim?
Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
What terms of use matter for Nominatim?
Python code: GPLv3+; Lua code for osm2pgsql: Apache-2.0; other files: GPLv2. OpenStreetMap data rights must be checked separately.
How do you get started with Nominatim?
Set up Nominatim to test: Regional OSM data and test addresses. Run your own instance, query an address, and check reverse lookup from coordinates. Integrate the checked version into your project; document its configuration, limitations, and recovery method.
Can I embed public Nominatim in an application’s address search for free?
The API provides search, reverse, and lookup for OSM objects. Public nominatim.openstreetmap.org has a separate Usage Policy: at most one request per second across the application, an identifying User-Agent/Referer, attribution, and caching. Client-side autocomplete and systematic object collection are prohibited; self-hosted instances have separate operating conditions.
License
Python code: GPLv3+; Lua code for osm2pgsql: Apache-2.0; other files: GPLv2. OpenStreetMap data rights must be checked separately.
GPL 3.0 — open-source code with copyleft
You can run, modify, and sell the program. When distributing a GPL program or a derivative product based on it, recipients must receive the corresponding source code and GPL rights; GPL-covered code cannot be made closed-source. Ordinary use of a tool does not make your project or the independent outputs it creates subject to GPL.
License termsApache 2.0 — permissive license with patent terms
You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.
License termsGPL 2.0 — open-source code with copyleft
Commercial use and sale are permitted. When distributing the program or a derivative version, comply with GPL and give recipients access to the corresponding source code. Simply using an editor or utility does not require you to open-source your independent work. Any stated exceptions apply only within their defined scope.
License termsTechnologies and topics
- Nominatim
- Geospatial application component