GET /0.6/way/{id}
openstreetmap.org:openstreetmap-api
Summary: Get way by ID
Operation ID: getWay
Auth: unknown
Operation ID: getWay
Auth: unknown
Description
Returns a specific way and its tags
Parameters (1)
id
(integer, path, required)
Way ID
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get way by ID - simple example | curl |
https://api.openstreetmap.org/api/0.6/way/1 |
|
| Get way by ID - typical road segment | curl |
https://api.openstreetmap.org/api/0.6/way/123456789 |
|
| Get way by ID - building outline | curl |
https://api.openstreetmap.org/api/0.6/way/9876543210 |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:12:54.120598 | 404 | 135ms | |
| 2026-03-23 09:32:46.781117 | 404 | 124ms | |
| 2026-03-23 09:22:43.741513 | 404 | 136ms |