GET /api/v1/cities/{slug}/fuel-prices
Current fuel prices per city, aggregated (Tankerkönig/MTS-K, Tier A)
Current fuel prices around the city coordinate, aggregated into a city-level metric: average and minimum price per fuel grade (e5/e10/diesel, EUR/litre) across the open stations, plus station_count/open_count and the individual stations. Source: German fuel price transparency unit (MTS-K) via Tankerkönig (CC BY 4.0). Without an API key OR toggle off -> 200 source_status="disabled"; no station in radius -> 200 source_status="no_data".
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
slug | path | yes | string |
Code samples
curl "https://infranode.dev/api/v1/cities/hamburg/fuel-prices"const res = await fetch("https://infranode.dev/api/v1/cities/hamburg/fuel-prices");
const data = await res.json();
console.log(data);import httpx
res = httpx.get("https://infranode.dev/api/v1/cities/hamburg/fuel-prices")
res.raise_for_status()
print(res.json())