cities

Aktuelle Spritpreise je Stadt, aggregiert (Tankerkönig/MTS-K, Tier A)

Changed on

Aktuelle Spritpreise im Umkreis der Stadtkoordinate, aggregiert zu einer Stadt-Kennzahl: Durchschnitts- und Minimal-Preis je Sorte (e5/e10/diesel, EUR/Liter) über die geöffneten Tankstellen, plus station_count/open_count und die Einzel-Tankstellen (stations: je Tankstelle station_id, name, brand, e5, e10, diesel, is_open, dist_km, lat/lon für die Kartendarstellung sowie street, house_number, post_code, place als gemeldete Adresse; post_code ist immer ein fünfstelliger String. Meldet die Quelle keine eigene Hausnummer, wird eine im Straßennamen enthaltene Nummer abgetrennt; Tankstellen ohne Hausnummer behalten house_number null. Fehlt eine Angabe upstream, ist das Feld null). Quelle: Markttransparenzstelle für Kraftstoffe (MTS-K) via Tankerkönig (CC BY 4.0). Ohne API-Key ODER Toggle aus -> 200 source_status="disabled"; keine Tankstelle im Radius -> 200 source_status="no_data". Zwischenspeicherung: das Frische-Fenster folgt dem Tagesverlauf der Preise (Kraftstoffpreisanpassungsgesetz, seit 2026-04-01: Erhöhungen nur einmal je Kalendertag um 12:00 Uhr Europe/Berlin, Senkungen jederzeit) und endet immer spätestens um 11:50 Uhr, damit kein Preis von vor dem Mittag als frisch gilt. Ein bereits abgefragter Stand bleibt bis zu 24 Stunden lieferbar und trägt dann cache_status STALE. data.retrieved_at nennt immer den Zeitpunkt des Abrufs bei der Quelle, nicht den der Antwort.

get/api/v1/cities/{slug}/fuel-prices

Request

Path parameters

slugstring required

Response

Spritpreis-Envelope (CanonicalRecord mit FuelPricePayload) oder null.

Example response

{
  "data": {
    "attribution": {
      "text": "Wikidata"
    }
  }
}

Changes

    • breaking

      added to the ///// response property oneOf list for the response status

    • warning

      added the new amtliches_werk enum value to the ///// response property for the response status

    • warning

      added the new ec_reuse enum value to the ///// response property for the response status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added city_base air_quality weather poi traffic_event transit_stop charging_station water_level flood_warning pollen_uv demographics energy_asset admin_boundary election_result holiday hospital road_event accident bathing_water bike_parking business_registrations charging_status_city charging_status civil_protection_warning count_station crime_stats district_heating event fire_danger fuel_price hospital_atlas indicator_series indicators insolvencies land_values mobility_point office_wait_times park_and_ride parking_onstreet parking population_density power public_tender regional_stat sharing solar solar_roofs station_arrivals station_catalog station_departures station_facilities tax_rates traffic_flow transit_departure transit_route_status transit_trip vehicle_registration weather_warning discriminator mapping keys to the ///// response property for the response status

    • info

      removed from the ///// response property oneOf list for the response status