Real-time UK fuel prices by postcode, coordinates, or station ID.
The Fuel Prices API provides live and historical fuel prices for petrol stations across the UK. Query by postcode, GPS coordinates, or station ID. Returns prices for petrol, diesel, and EV charging where available, updated every 4 hours.
GET https://api.it-stacks.com/fuel/prices?postcode=BB7&radius=5{
"postcode": "BB7",
"radius_miles": 5,
"stations": [
{
"id": "stn_001",
"name": "Tesco Clitheroe",
"address": "Whalley Road, Clitheroe, BB7 1AB",
"distance_miles": 0.4,
"prices": {
"petrol": 142.9,
"diesel": 150.2
},
"updated_at": "2026-03-24T10:00:00Z"
}
]
}https://api.it-stacks.com/fuelFull documentation →Yes. Use the /fuel/prices endpoint with a UK postcode. Partial postcodes like BB7 are supported alongside full postcodes like BB7 1AB.
Yes. The Fuel Prices API currently covers UK petrol stations only.
Station prices are updated every 4 hours on average. The updated_at field on each station record shows the exact last refresh time.
Where available, EV charging rates per kWh are included in the prices object. Coverage is expanding as more stations report this data.
Historical pricing is available on Pro and Enterprise plans.
Free tier available — no credit card required.