For news sites, journalists & money blogs

Live UK fuel prices for your website

A free, embeddable widget showing live UK average petrol and diesel prices, plus a JSON / CSV data feed if you'd rather build your own. Updated every 15 minutes from the UK Government Fuel Finder feed.

Petrol
158.0p
Diesel
184.8p

Option 1 · Recommended

Embed the live widget

Paste one line of HTML anywhere on your site. The widget auto-updates every 15 minutes, works in light and dark mode, and is fully self-contained — no JavaScript required on your end.

  • Mobile responsive (scales down cleanly)
  • Light / dark mode follows the visitor's system setting
  • No tracking scripts, no cookies, no GDPR headaches
  • Free for editorial and non-commercial use

Live preview

Embed code

<iframe src="https://www.petrolprices.co.uk/embed/fuel-prices.php"
        width="320" height="360" frameborder="0"
        style="border:0;border-radius:14px;max-width:100%;"
        loading="lazy"
        title="UK Fuel Prices — PetrolPrices.co.uk"></iframe>

Recommended size: 320 × 360. The widget scales down responsively if you set a smaller width. The header link, the brand wordmark and the call-to-action all point back to PetrolPrices.co.uk.

Option 2

"Data by PetrolPrices.co.uk" badge

If you're using the JSON / CSV feed below (or your own bespoke layout), please add this badge near the figures. It's a self-contained HTML snippet — no images, no JavaScript, no external CSS.

Preview

Badge HTML

<a href="https://www.petrolprices.co.uk" rel="follow" style="display:inline-flex;align-items:center;gap:8px;background:#0f2c4d;color:#fff;padding:8px 14px;border-radius:8px;font-family:system-ui,-apple-system,sans-serif;font-size:13px;font-weight:600;text-decoration:none;line-height:1;"><span style="display:inline-block;width:8px;height:8px;background:#10b981;border-radius:50%;"></span>UK Fuel Prices by PetrolPrices.co.uk</a>

Option 3

JSON & CSV data feed

For developers and editorial systems that want to render their own layout. The same data the embed widget uses, refreshed every 15 minutes. Includes national averages, regional averages (England, Scotland, Wales, Northern Ireland), and lowest / highest regional figures already derived.

JSON

Pretty-printed, full data including regional breakdown and source attribution.

https://www.petrolprices.co.uk/data/uk-fuel-averages.json
Open JSON

CSV

Flat key-value format for spreadsheets and lightweight editorial tools.

https://www.petrolprices.co.uk/data/uk-fuel-averages.csv
Open CSV

Fields included

petrol.national_avg_ppl — UK average petrol (E10)
diesel.national_avg_ppl — UK average diesel (B7)
petrol.lowest_region — Cheapest region + price
petrol.highest_region — Most expensive region + price
diesel.lowest_region — Cheapest region + price
diesel.highest_region — Most expensive region + price
regional_averages — England, Scotland, Wales, NI
station_count — Forecourts in the current average
last_updated — ISO 8601 timestamp
refresh_interval_minutes — How often the feed updates

Attribution & terms

The widget, badge and data feed are free to use on any non-commercial editorial site, blog or newsroom, provided the source is clearly credited.

Visible credit required. Display "Data: PetrolPrices.co.uk" with a clickable link to https://www.petrolprices.co.uk next to any figures sourced from this feed. (The widget and badge handle this automatically.)
Free for editorial use. News sites, money blogs, motoring sites, public-interest publications and educational use are all welcome.
No re-syndication or repackaging. Please don't rehost the feed or republish it as a third-party API. Link to the official URLs above instead.
Commercial use? Drop a line to support@petrolprices.co.uk and we'll talk.

Media FAQ

Questions journalists usually ask

Quick answers to the things we get emailed about most. If yours isn't here, drop us a line.

Where does the data come from?

Every figure on PetrolPrices.co.uk is drawn from the UK Government Fuel Finder scheme — the mandatory price transparency feed that all UK forecourts must contribute to. We pull the full feed every 15 minutes, covering around 7,400 stations across England, Scotland, Wales and Northern Ireland. We don't survey, estimate or model the prices ourselves; we report what the retailers themselves have published.

How fresh is "live"?

The averages on the widget and in the JSON/CSV feed are recalculated every 15 minutes from the latest Government Fuel Finder data. Individual retailers update their own prices at varying intervals — some several times a day, some less frequently — but the national and regional averages you see here are always based on the most recent snapshot.

Can I use the figures in print, on TV or on radio?

Yes, free of charge for editorial use, as long as the source is credited as PetrolPrices.co.uk. On-air or in print, a spoken or written credit is enough — you don't need to display the badge. Online articles should link the credit to https://www.petrolprices.co.uk.

Can I quote a specific figure for a specific date?

Yes. If you need to cite a figure as of a particular date (for fact-checking, a feature piece, or a printed edition that will be referenced later), email support@petrolprices.co.uk with the date and metric you need and we'll confirm the value on record.

Can you provide regional, brand or historical breakdowns?

Yes — regional averages for England, Scotland, Wales and Northern Ireland are already in the JSON/CSV feed above. For deeper cuts (by city, postcode area, brand, supermarket vs independent, or trends over time) email support@petrolprices.co.uk with what you're after and your deadline, and we'll prepare a dataset. There's no charge for editorial requests.

Is the widget free?

Yes. The widget, badge and data feed are free for editorial and non-commercial use. Commercial use — paid products, internal business tools, or resale of the data — needs a separate arrangement; email support@petrolprices.co.uk and we'll sort it out.

What wording should I use for the credit?

Any of these work:
  • "Source: PetrolPrices.co.uk"
  • "Data: PetrolPrices.co.uk"
  • "According to PetrolPrices.co.uk"
Online, please link the credit to https://www.petrolprices.co.uk.

Can I get a quote or interview for a piece?

Yes. For commentary on UK fuel prices, market movements, regional trends or the price transparency scheme itself, email support@petrolprices.co.uk with your deadline and we'll respond as quickly as we can.

More for journalists & researchers