API-Dokumentation

{
  "title": "LTW NRW 2027 API",
  "version": "1.0",
  "notice": "Daten via LTW NRW API — Key unter ltwnrw.d-w.app/api-keys",
  "keysUrl": "https://ltwnrw.d-w.app/api-keys",
  "endpoints": [
    {
      "method": "GET",
      "path": "/v1/constituencies",
      "scope": "map:read",
      "description": "Wahlkreise (verschlüsselte GeoJSON-Payload)"
    },
    {
      "method": "GET",
      "path": "/v1/constituencies/:id",
      "scope": "map:read",
      "description": "Einzelner Wahlkreis mit Kandidaten"
    },
    {
      "method": "GET",
      "path": "/v1/lookup/plz/:plz",
      "scope": "map:read",
      "description": "Wahlkreis per PLZ"
    },
    {
      "method": "GET",
      "path": "/v1/lookup/point?lng=&lat=",
      "scope": "map:read",
      "description": "Wahlkreis per Koordinate"
    },
    {
      "method": "GET",
      "path": "/v1/parties",
      "scope": "candidates:read",
      "description": "Parteien"
    },
    {
      "method": "GET",
      "path": "/v1/parties/:id/list",
      "scope": "candidates:read",
      "description": "Landesliste"
    },
    {
      "method": "GET",
      "path": "/v1/parties/:id/coverage",
      "scope": "map:read",
      "description": "Wahlkreis-Abdeckung Partei"
    }
  ],
  "authentication": {
    "header": "X-API-Key",
    "selfService": "https://ltwnrw.d-w.app/api-keys"
  },
  "geoEncryption": {
    "algorithm": "aes-256-gcm",
    "note": "Geo-Payloads sind verschlüsselt. Key unter ltwnrw.d-w.app/api-keys"
  }
}

API-Key holen →