If you run a business that has to know where things are, you have probably wrestled with this. You have a spreadsheet of customer addresses and you need them on a map. You have a delivery driver’s GPS coordinates and you need the street address. You want a list of every road, building and point of interest inside a neighborhood you serve. You do not need to buy a mapping product to do any of this. OpenStreetMap offers it through an API, which is simply a way for software, or an AI assistant working on your behalf, to ask for the data and get it back in a form a computer can use.
What OpenStreetMap does
OpenStreetMap, often shortened to OSM, is a collaborative project to create a free, editable map of the world. Think of it as the Wikipedia of maps: people everywhere add and correct roads, buildings, shops and paths, and the result is open for anyone to use. Around that map sits a family of public APIs. There is a main editing API for reading and changing map data, the Overpass API for complex read-only questions about the map, and the Nominatim API for geocoding, which is the jargon for turning an address into a latitude and longitude, and back again. The map data is licensed under the Open Database License (ODbL) 1.0 and the map imagery under CC BY-SA 2.0, which matters if you plan to show it to customers, so read those terms. You can find the project itself at openstreetmap.org.
What you can get done
Geocoding
This is the one most businesses come for. Paste in an address or a place name and get coordinates you can plot, measure distances from, or group by area. Hand it coordinates from a phone or a vehicle and get back a readable address. It is the quiet engine behind store locators, delivery zones and cleaning up messy address lists.
GET /searchtakes an address or place name and returns where it is.GET /reversetakes coordinates and returns the address at that spot.GET /lookupfetches specific OpenStreetMap places when you already know their IDs.
Location & Mapping
Sometimes you want the raw map itself: every feature inside a box drawn around your service area, so you can analyze it in your own tools. That is what this capability gives you.
GET /mapreturns the map data for a bounding box, meaning a rectangle defined by its corner coordinates.
Map Data Contribution & Editing
Because the map is open, you can also improve it. If your business knows the map is wrong about your own location, a new building or an access road, you can fix it, and everyone who uses OpenStreetMap benefits. Edits are grouped into a changeset, which is a bundle of related changes with a note on what you did and why.
PUT /changeset/createopens a new bundle of edits.POST /changeset/{id}/uploadsends your changes in one batch.PUT /changeset/{id}/closefinishes the bundle once you are done.GET /node/{id}reads a single point on the map, such as a shop or a bus stop.PUT /node/{id}updates that point with corrected details.
Getting started
OpenStreetMap is listed as freemium with self-serve signup, and it is a hosted service, so you call their endpoints rather than running anything yourself. There is a free tier, and the pricing section on APIs.io collects what is known about cost.
The documentation lives in three places: the Nominatim geocoding docs, the editing API v0.6 reference, and the Overpass API guide. On APIs.io you can browse the OpenStreetMap profile, along with the Geocoding API, the Overpass API and the Map Data API.
If you have an address list sitting in a spreadsheet today, start with a single GET /search call against one row and see how much of your mapping problem goes away.
