Open data API for Leipzig
Open data for Leipzig (Sachsen) through a free, keyless REST API: weather, air quality, electricity price and more, delivered as consistent JSON with source and license on every response. No API key, no sign-up.
| City | Leipzig |
|---|---|
| State | Sachsen |
| Population | 619,879 |
| API slug | leipzig |
| Coverage | Core (hand-verified sources) |
Data with a guide for Leipzig
These data types have an in-depth guide; all are retrievable for Leipzig via the slug:
- Weather API for German cities
/api/v1/cities/leipzig/weather - Air quality API for German cities
/api/v1/cities/leipzig/air-uba - Electricity price API for Germany
/api/v1/cities/leipzig/power-price - Solar API for German cities
/api/v1/cities/leipzig/solar - Real-time public transport API for German cities
/api/v1/cities/leipzig/station-departures - Public procurement API for German cities
/api/v1/cities/leipzig/public-tenders - Council information API for German cities
/api/v1/cities/leipzig/council-papers
How to fetch data for Leipzig
A simple GET request, no key and no sign-up:
curl https://infranode.dev/api/v1/cities/leipzig/weather Or air quality:
curl https://infranode.dev/api/v1/cities/leipzig/air-uba All 69 data types for Leipzig
Using the same slug, all 69 city data types can be
retrieved for Leipzig. Where a source has nothing for Leipzig (yet),
the API honestly returns no_data instead of an error.
Parameters and example responses for each data type are in the linked
reference:
- Administrative boundary per city (BKG VG250, Tier A)
/api/v1/cities/leipzig/geo - Air quality per city (Federal Environment Agency)
/api/v1/cities/leipzig/air - Air quality per city (Federal Environment Agency)
/api/v1/cities/leipzig/air-uba - Autobahn webcams per city (Autobahn API, Tier A)
/api/v1/cities/leipzig/webcams - Bathing water quality near a city (EEA, Tier A)
/api/v1/cities/leipzig/bathing-water - Bicycle counting stations per city (municipal open data, Tier A)
/api/v1/cities/leipzig/bike-counts - Bike/scooter sharing per city, aggregated (GBFS, Tier A)
/api/v1/cities/leipzig/sharing - Building permits per city (GENESIS, Tier A)
/api/v1/cities/leipzig/construction - Business registrations/deregistrations per district (Regionalstatistik, Tier A)
/api/v1/cities/leipzig/business-registrations - Car stock and electric share per city (KBA, Tier A)
/api/v1/cities/leipzig/vehicle-registrations - City master data from Wikidata
/api/v1/cities/leipzig/base - City overview (catalog of all data types + live highlights)
/api/v1/cities/leipzig/overview - City station catalog, all DB stations (StaDa, Tier A)
/api/v1/cities/leipzig/stations - Current fuel prices per city, aggregated (Tankerkönig/MTS-K, Tier A)
/api/v1/cities/leipzig/fuel-prices - Day-ahead wholesale electricity price, nationwide (SMARD, Tier A)
/api/v1/cities/leipzig/power-price - Demographic time series per city (GENESIS/Regionalstatistik, Tier A)
/api/v1/cities/leipzig/demographics - District-heating / heat-network supply per city, federated (Tier A)
/api/v1/cities/leipzig/district-heating - Education facilities per city (OSM, Tier B)
/api/v1/cities/leipzig/education - Election result per city (Federal Returning Officer, Tier A)
/api/v1/cities/leipzig/election - Electricity consumption (grid load) per city's control zone (SMARD, Tier A)
/api/v1/cities/leipzig/power-load - Elevator/escalator status at stations per city (DB FaSta, Tier A)
/api/v1/cities/leipzig/station-facilities - Energy installations per city (MaStR, Tier A)
/api/v1/cities/leipzig/energy - EV charging-station locations per city (BNetzA, Tier A)
/api/v1/cities/leipzig/charging - Events per city (destination.one)
/api/v1/cities/leipzig/events - Filed insolvencies per district (Regionalstatistik, Tier A)
/api/v1/cities/leipzig/insolvencies - Flood warning levels per city (LHP, Tier A)
/api/v1/cities/leipzig/flood - Forest-fire and grassland-fire danger index per city (DWD, Tier A)
/api/v1/cities/leipzig/fire-danger - Government office wait times per city (live, keyless, Tier A)
/api/v1/cities/leipzig/office-wait-times - Government offices per city (OSM, Tier B)
/api/v1/cities/leipzig/government-offices - Heritage/listed monuments per city (state WFS, Tier A)
/api/v1/cities/leipzig/heritage - Hospital locations per city (Bundes-Klinik-Atlas, fail-closed)
/api/v1/cities/leipzig/hospitals-atlas - Hospital master data per city (Destatis directory, Tier A)
/api/v1/cities/leipzig/health - Inner-city roadworks and closures per city (Tier A)
/api/v1/cities/leipzig/road-events - Live arrival board for a city's main station, all categories (DB Timetables, Tier A)
/api/v1/cities/leipzig/station-arrivals - Live departure board for a city's main station, all categories (DB Timetables, Tier A)
/api/v1/cities/leipzig/station-departures - Live EV charging occupancy per city (eRound, CC0/Tier A)
/api/v1/cities/leipzig/charging-status - Live ICU bed occupancy per city (DIVI, Tier C)
/api/v1/cities/leipzig/icu-live - Local business/property tax rates per municipality (Regionalstatistik, Tier A)
/api/v1/cities/leipzig/tax-rates - Markets per city (OSM, Tier B)
/api/v1/cities/leipzig/markets - Municipal council information per city (OParl, Tier A)
/api/v1/cities/leipzig/council-papers - Official BBK NINA civil protection warnings per city (Tier A)
/api/v1/cities/leipzig/civil-protection-warnings - Official DWD weather warnings per city (Tier A)
/api/v1/cities/leipzig/weather-warnings - Official land values per city, aggregated (BORIS, Tier A)
/api/v1/cities/leipzig/land-values - Overnight stays and arrivals per city (GENESIS, Tier A)
/api/v1/cities/leipzig/tourism - Parcel lockers per city (OSM, Tier B)
/api/v1/cities/leipzig/parcel-lockers - Parking occupancy/catalogue per city (one endpoint, source fallback)
/api/v1/cities/leipzig/parking - Playgrounds per city (OSM, Tier B)
/api/v1/cities/leipzig/playgrounds - POIs per city, filtered by type (OSM, Tier B)
/api/v1/cities/leipzig/pois - Police crime statistics per city (BKA PKS, Tier A)
/api/v1/cities/leipzig/crime-stats - Pollen and UV index per city (DWD opendata, Tier A)
/api/v1/cities/leipzig/pollen-uv - Population density per city (Census 2022 grid, Tier A)
/api/v1/cities/leipzig/population-density - Post boxes per city, with collection times (OSM, Tier B)
/api/v1/cities/leipzig/post-boxes - Post offices per city (OSM, Tier B)
/api/v1/cities/leipzig/post-offices - Public drinking water fountains per city (OSM, Tier B)
/api/v1/cities/leipzig/drinking-water - Public holidays and school vacations per city (seed, public domain)
/api/v1/cities/leipzig/holidays - Public procurement notices per city (oeffentlichevergabe.de, Tier A)
/api/v1/cities/leipzig/public-tenders - Public toilets per city (OSM, Tier B)
/api/v1/cities/leipzig/public-toilets - Public Wi-Fi locations per city (OSM, Tier B)
/api/v1/cities/leipzig/public-wifi - Public-transit stops per city (DELFI and HVV GTFS)
/api/v1/cities/leipzig/transit - Recycling centres per city (OSM, Tier B)
/api/v1/cities/leipzig/recycling-centres - Road traffic accidents per city (accident atlas, Tier A)
/api/v1/cities/leipzig/accidents - Roadworks and traffic warnings per city (Autobahn API)
/api/v1/cities/leipzig/traffic - Rooftop solar cadastre per city, federated (Tier A)
/api/v1/cities/leipzig/solar-roofs - Socioeconomic indicators per city (INKAR/BBSR, Tier A)
/api/v1/cities/leipzig/indicators - Solar irradiation + PV yield per city (PVGIS, Tier A)
/api/v1/cities/leipzig/solar - Street-tree cadastre per city (municipal WFS, Tier A)
/api/v1/cities/leipzig/tree-cadastre - Unemployment count and rate per city (GENESIS, Tier A)
/api/v1/cities/leipzig/unemployment - Water level per city (PEGELONLINE, Tier A, partial coverage)
/api/v1/cities/leipzig/water-level - Weather per city (DWD via Bright Sky)
/api/v1/cities/leipzig/weather
An overview of all cities is on the cities page. InfraNode is also available as an MCP server for AI assistants.
Leipzig via MCP server in Claude and ChatGPT
All open data for Leipzig is also available through the free, keyless
InfraNode MCP server for AI agents. Connect it once to
Claude or ChatGPT and ask in natural language, for example "Give me an
overview of Leipzig" (calls get_city_overview, the catalog
of all data types with live highlights) or more specifically "What is the
weather in Leipzig?". Here is
how to set it up:
set up the MCP server.