Embed Builder
Add live fuel prices to your website with a free embeddable widget. Prices are updated every 4 minutes using official UK government data.
Enter a UK postcode or town/city name. The widget will show stations nearest to this location.
Let visitors search by postcode or town name within the widget
Let visitors switch between fuel types (Unleaded, Diesel, etc.)
Show a heading with the fuel type and postcode
Display brand (e.g. Shell, BP) below station name
Show how far each station is from the searched postcode
Show when each station's price was last updated
<iframe src="https://fuelcosts.co.uk/embed?fuel=E10&count=5&theme=light&location=SW1A+1AA" width="400" height="450" style="border:none;border-radius:8px;overflow:hidden;" loading="lazy" title="Fuel prices near SW1A 1AA"></iframe>
Paste this HTML into your website where you want the widget to appear
Preview shown at 400 × 450px
Free to use
The widget is completely free. No API keys, no sign-up, no usage limits. Just copy the code and paste it into your site.
Always up to date
Prices are sourced from the UK Government's Fuel Finder service and updated every 4 minutes across 5,000+ stations.
Works everywhere
The widget is a simple iframe that works with any website builder, CMS, or custom HTML page. Fully responsive and lightweight.
Embed Licence
The Fuel Costs UK widget is free for any website to use, including personal blogs, business sites, community forums, and commercial projects. No permission, attribution beyond the built-in “Powered by Fuel Costs UK” link, or API key is required.
By embedding the widget you agree to the following:
- The “Powered by Fuel Costs UK” link in the widget footer must remain visible and unmodified.
- The widget is provided “as is” without warranty. Fuel prices are sourced from the UK Government and we do not guarantee their accuracy or availability.
- You may not scrape, cache, or redistribute the data served by the widget outside of the embed itself.
- We reserve the right to rate-limit or disable access to the widget for any domain that generates excessive traffic or misuses the service.
Questions? Get in touch.