Glossary

UK Government Fuel Finder API

A free government-mandated API that provides near-real-time petrol and diesel prices from over 37,000 UK fuel stations. It was launched in November 2023 as part of the CMA's fuel price transparency initiative.

Direct Answer / TL;DR

What is UK Government Fuel Finder API?

A free government-mandated API that provides near-real-time petrol and diesel prices from over 37,000 UK fuel stations. It was launched in November 2023 as part of the CMA's fuel price transparency initiative.

Why does it matter for UK drivers?

The UK Government Fuel Finder API is operated by the Department for Energy Security and Net Zero (DESNZ) and powered by data submitted by fuel retailers under the CMA transparency mandate. Retailers are required to update their prices within 30 minutes of any change.

The API covers unleaded petrol (E10), diesel (B7), premium unleaded, and premium diesel. Data includes station name, brand, address, latitude/longitude, and current prices for each fuel type. There are over 37,000 registered stations in the database, though not all report prices at any given time.

The API uses OAuth 2.0 for authentication — developers obtain a client credentials token and use it as a Bearer token on subsequent requests. Responses are paginated with approximately 1,000 stations per page, so a full data fetch requires multiple requests.

WorthThePump fetches data from this API and caches it in its database for one hour. This means prices shown are typically within 60 minutes of the real forecourt price — accurate enough for planning a detour, but always worth glancing at the sign when you arrive.

Before this API existed, UK price comparison relied on volunteer-reported prices (PetrolPrices.com) or carrier pigeon-level methods. The mandatory reporting requirement is a major consumer benefit — it means for the first time every UK driver has access to comprehensive, near-live price data for free.

The API documentation is available at www.gov.uk/guidance/access-fuel-price-data.

Related terms

Further reading

Now you know what UK Government Fuel Finder API means —

find out if your nearest cheap station is actually worth the trip.