history: Get way history

API: openstreetmap.org:openstreetmap-api
Endpoint: /way/{id}/history
Response format: application/xml
Auth: unknown
Method: GET
Last Status: 200
Latency: 215ms

Description

Retrieves the complete edit history of a way, showing all past versions of the feature. Each version includes the way's tags and node references at that point in time. Useful for tracking changes to roads, buildings, or other linear features over time. Returns an OSM XML document with multiple way elements, one per version.

From spec: Returns all versions of a way including historical data

Usage Tips

- Versions are sorted chronologically from oldest to newest - Each version includes changeset ID, timestamp, and editing user - Historical versions may reference nodes that no longer exist - Useful for auditing edits, understanding feature evolution, or reverting changes

Parameters (1)

id (integer, path, required)

The way ID

Examples (1)

Get edit history of Avalanche Gulch climbing route probe-gate

Demonstrates retrieving the complete edit history of a way, showing how the feature has been modified over time.

curl 'https://api.openstreetmap.org/api/0.6/way/613529174/history'
import requests

resp = requests.get("https://api.openstreetmap.org/api/0.6/way/613529174/history")
data = resp.json()
import zingu_apis

api = zingu_apis.api("openstreetmap")
result = api.fetch("way/{id}/history")

for item in result:
    print(item)
const resp = await fetch("https://api.openstreetmap.org/api/0.6/way/613529174/history");
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 03:32:39.638934 200 215ms
2026-04-15 00:13:39.172363 200 220ms
2026-04-14 03:31:30.946202 200 421ms
2026-04-12 13:04:19.393840 200 224ms
2026-04-10 02:21:09.013140 200 157ms