A UK fuel price API, ready to use.
Petrol and diesel price history for every UK forecourt, built on the government’s Fuel Finder scheme and checked every 30 minutes, with Tank Prices’ local and brand measures on top. Access is set up with each customer, and what we can supply depends on your use and the Fuel Finder terms: tell us what you’re building and we’ll confirm.
Fuel Finder’s API or ours?
The government publishes the raw data for free. Use it directly if you only need today’s prices and are happy to clean them yourself.
| Government Fuel Finder API | Tank Prices API | |
|---|---|---|
| Access | GOV.UK One Login and OAuth client credentials | An API key |
| Prices | Latest prices as forecourts report them | Latest prices where the Fuel Finder terms allow your use, with obviously wrong prices held back and closed sites flagged |
| Brands | As each retailer enters them | Made consistent, so “ESSO (MFG)” is Esso and supermarket sites are grouped by retailer |
| History | Latest prices; keep your own copies to build a history | Every price change Tank Prices has recorded, station by station |
| Extra measures | None | Local rank against nearby forecourts, town, brand and country averages |
What you can build
- Price comparison in your app. The cheapest forecourts near a postcode or a point, for any grade.
- Fleet and fuel-card tools. Check fill-ups against what nearby forecourts charged that day.
- Market dashboards. Town, brand and country averages, and how they move.
- AI assistants. The same data through an MCP server, so an agent can answer “where’s the cheapest diesel near the depot?” with real prices.
Need a one-off dataset rather than an API? See historical fuel price data. Just want prices on a web page? The free widget does that without any code.
Ask for access
Tell us what you’re building and roughly how many requests you expect. We’ll reply with access details.