Prices · Fuel
Fuel price widget
The price at the stations you actually drive past, on your Android home screen — from the official German market data via Tankerkönig.
Preview · sample data
The source
Fuel prices move several times a day and the nearest station is not always the cheapest. Two lines are enough to compare them before you turn the key, instead of opening a price app at the pump.
creativecommons.tankerkoenig.de
https://creativecommons.tankerkoenig.de/json/list.php?lat=52.521&lng=13.438&rad=1.5&type=all&apikey=YOUR-KEY
The result format
Pick the fields you want by their JSON path, and embed them between braces. A literal \n breaks the line; everything else is copied as written.
Response: https://creativecommons.tankerkoenig.de/json/list.php?lat=52.521&lng=13.438&rad=1.5&type=all&apikey=YOUR-KEY
#each stations(2)\n{brand}|{diesel} €\n#end HEM2.20 €ARAL2.55 €Every rule this language supports — paths, indexes, math, optional values, lists — is in the mapping docs.