Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
Public Nominatim place-search responses derived from OpenStreetMap for checking one user-requested address or road candidate.
Report a ProblemFrom Source to Product Signal
Read the public Nominatim usage policy before calling this shared service: at most one request per second per application, a distinct identifying User-Agent, attribution, caching, no autocomplete, and no systematic or bulk queries. Start with one public landmark address. ODbL share-alike applies to the OSM-derived data; keep a provider switch available if the public service withdraws access.
Install the packages, then run the notebook cell.
python -m pip install requests
import requests
response = requests.get(
"https://nominatim.openstreetmap.org/search",
params={"q": "1600 Pennsylvania Avenue NW, Washington, DC",
"format": "jsonv2", "limit": 1},
headers={"User-Agent": "TrilemmaDataCatalogExample/1.0 (https://data.trilemma.foundation/)"},
timeout=30,
)
response.raise_for_status()
for place in response.json():
print(place["display_name"], place["lat"], place["lon"])Test a Useful Signal
Check one user-triggered place candidate with the shared Nominatim API.
OpenStreetMap Foundation is a community source. Last verified 2026-09-28. Temporal coverage: current OpenStreetMap search index.