Access shelter data programmatically
The Schutzraum API provides public, read-only access to all shelter data. No authentication required.
https://schutzraum.appPlease use the API responsibly. Excessive requests may be rate-limited.
Returns a paginated list of shelters with optional filtering.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page | number | No | 1 | Page number |
limit | number | No | 20 | Items per page (1β10000) |
type | string | No | β | Shelter type filter |
city | string | No | β | City name (partial match) |
search | string | No | β | Search name, city, address |
condition | string | No | β | gut, mittel, schlecht, unbekannt |
protection | string | No | β | hoch, mittel, niedrig, unbekannt |
wheelchair | boolean | No | β | Filter wheelchair accessible |
verified | boolean | No | β | Filter verified shelters |
minCapacity | number | No | β | Minimum capacity |
sort | string | No | name | name, city, capacity, type |
order | string | No | asc | asc or desc |
GET https://schutzraum.app/api/shelters?type=bunker&city=Berlin&limit=10
{
"data": [{ "id": "...", "name": "...", "type": "bunker", ... }],
"total": 42,
"page": 1,
"limit": 10,
"totalPages": 5
}Returns a single shelter by its ID.
GET https://schutzraum.app/api/shelters/24b4e1f0-7723-45a7-bd1c-537a2ff02174
Returns shelters within a given radius of a geographic point, sorted by distance.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
lat | number | Yes | β | Latitude (β90 to 90) |
lng | number | Yes | β | Longitude (β180 to 180) |
radius | number | No | 5000 | Radius in meters (100β50000) |
limit | number | No | 20 | Max results (1β100) |
type | string | No | β | Shelter type filter |
GET https://schutzraum.app/api/shelters/nearby?lat=48.137&lng=11.576&radius=3000
Returns all shelters within a geographic bounding box.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
west | number | Yes | β | West longitude |
south | number | Yes | β | South latitude |
east | number | Yes | β | East longitude |
north | number | Yes | β | North latitude |
type | string | No | β | Shelter type filter |
GET https://schutzraum.app/api/shelters/bbox?west=11.4&south=48.0&east=11.7&north=48.2
Returns all shelters as a GeoJSON FeatureCollection for map rendering.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
type | string | No | β | Shelter type filter |
wheelchair | boolean | No | β | Filter accessible |
verified | boolean | No | β | Filter verified |
minCapacity | number | No | β | Minimum capacity |
GET https://schutzraum.app/api/shelters/geojson?type=u_bahn_station&wheelchair=true
{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": { "type": "Point", "coordinates": [11.576, 48.137] },
"properties": { "id": "...", "name": "...", "type": "u_bahn_station", ... }
}]
}The type parameter accepts these values:
| Value | Label |
|---|---|
bunker | Bunker |
tiefgarage | Underground Garage |
u_bahn_station | Subway Station |
tunnel | Tunnel |
keller | Basement |
hochbunker | Above-ground Bunker |
tiefbunker | Underground Bunker |
sonstige | Other |