GET 0.6/relation/{id}
openstreetmap.org:openstreetmap-api
Summary: Get relation by ID
Operation ID: getRelation
Auth: unknown
Operation ID: getRelation
Auth: unknown
Description
Returns a specific relation and its tags
Parameters (1)
id
(integer, path, required)
Relation ID
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get a boundary relation (country) | curl |
https://api.openstreetmap.org/api/0.6/relation/148838 |
|
| Get a route relation (bus route) | curl |
https://api.openstreetmap.org/api/0.6/relation/1234567 |
|
| Get a multipolygon relation | curl |
https://api.openstreetmap.org/api/0.6/relation/987654 |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:49:19.304971 | 200 | 160ms | |
| 2026-03-23 10:28:12.116175 | 404 | 145ms | |
| 2026-03-23 10:18:24.837147 | 410 | 150ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 10:49:19.304971 | e3b0c44298fc |
b25d9db4cd52 |