OpenStreetMap API

REST API for reading and editing OpenStreetMap's collaborative geodata, including map nodes, ways, and relations with full version history, changeset tracking, and GPS trace retrieval.

Claim this API

Are you the operator of OpenStreetMap API? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with OpenStreetMap API? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Screenshot:
Screenshot of OpenStreetMap API homepage
Slug: openstreetmap
Key: openstreetmap.org:openstreetmap-api
Base URL: https://api.openstreetmap.org/api/0.6/
Auth: none
Endpoints: 35
Category: batch_118
Reachable: yes
CORS: unknown
Tier: verified
Last checked: 2026-03-14 22:15:11.004640

Links

Homepage: https://www.openstreetmap.org
API Base: https://api.openstreetmap.org/api/0.6/
SDKs:

Topics

CARTOGRAPHY, GEOGRAPHY, GEOLOCATION

Endpoints (35)

Path Summary Response Auth
0.6/changeset/{id} Get changeset by ID application/json —
0.6/map Get map data by bounding box application/json —
0.6/node/{id} Get node by ID application/json —
0.6/relation/{id} Get relation by ID application/json —
0.6/way/{id} Get way by ID text/html —
api/0.6/capabilities Get server capabilities application/json —
api/0.6/changeset/{id} Get changeset by ID application/json —
api/0.6/changesets Query changesets application/json —
api/0.6/map Get map data by bounding box application/json —
api/0.6/node/{id} Get node by ID application/json —
api/0.6/node/{id}/history Get node history application/json —
api/0.6/nodes Get multiple nodes application/json —
api/0.6/relation/{id} Get relation by ID text/plain —
api/0.6/relation/{id}/history Get relation history application/json —
api/0.6/relations Get multiple relations application/json —
api/0.6/trackpoints Get GPS trackpoints application/gpx+xml —
api/0.6/way/{id} Get way by ID application/json —
api/0.6/way/{id}/history Get way history text/html —
api/0.6/ways Get multiple ways application/json —
api/versions Get API versions application/json —
map Get map data for bounding box ? —
node/{id} Get a single node ? —
node/{id}/history Get node history ? —
node/{id}/relations Get relations for node application/xml —
node/{id}/ways Get ways for node application/xml —
nodes Get multiple nodes ? —
relation/{id} Get a single relation ? —
relation/{id}/full Get relation with full details application/xml —
relation/{id}/history Get relation history application/xml —
relations Get multiple relations ? —
versions.json Get API versions application/json —
way/{id} Get a single way ? —
way/{id}/full Get way with full details application/xml —
way/{id}/history Get way history application/xml —
ways Get multiple ways ? —