GET /v1/terrain/datasets

Liste verfügbarer DGM1-Terrain-Datensätze (pro BL)

stable seit v0.1.0 terrain auth: none

GET /v1/terrain/datasets — Terrain-Coverage-Discovery

Liefert eine Zeile pro Bundesland mit dem jüngsten DGM1-Snapshot. Pendant zu /v1/datasets für LoD2 — beantworte „welche BL sind live”, bevor du Punkt- oder Linienabfragen issuest.

Examples

curl

curl -s https://api.lodapi.de/v1/terrain/datasets | jq '.datasets[] | {bl: .bl, snap: .snapshot, count: .tile_count, lic: .license}'

Python — Coverage-Check

import httpx
covered = {d["bl"] for d in httpx.get("https://api.lodapi.de/v1/terrain/datasets").json()["datasets"]}
print(f"Terrain live in: {sorted(covered)}")

Parameters

Keine.

Response

200 OK · application/json — Schema #/components/schemas/TerrainDatasetListResponse.

{
  "datasets": [
    {
      "bl": "be",
      "license": "dl-de-zero-2.0",
      "snapshot": "2025-12-18",
      "format": "GeoTIFF (COG)",
      "source": "convert+storage-box",
      "tile_count": 297,
      "crs": "EPSG:25833",
      "vertical_datum": "DHHN2016",
      "attribution": "© SenStadt Berlin (DL-DE/Zero 2.0)",
      "coverage_pct": null
    }
  ],
  "count": 5
}

Antwort-Header

HeaderWert
Cache-Controlpublic, max-age=300

Stolperdrähte

Verwandte Endpoints

Verwandt

Bereit?

Hol dir deinen API-Key.

1.000 Calls und 1 GB Tile-Daten kostenlos pro Monat — ohne Kreditkarte, ohne Ablaufdatum.