Start a project

Project 04 of 12 · Fuel finder

FuelStop

A phone-friendly tool on leej.uk that finds the cheapest UK petrol or diesel near a place name or postcode. Live forecourt prices, sorted for you, only when you search.

FuelStop desktop: Manchester petrol search with cheapest forecourt prices

01

What it does

Cheapest UK petrol or diesel near a place or postcode, live since 6 Nov 2026.

  • Place or postcode
  • Four fuel types
  • Radius and count
  • On-demand only
All features

02

How it's built

Static HTML/CSS/JS on leej.uk. The browser calls Fuel Near You and postcodes.io directly; nothing is stored for marketing.

The full build

03

Stack

  • HTML
  • CSS
  • Vanilla JS
  • Cloudflare
Hosted on
leej.uk (Cloudflare)
For
Drivers who know a town or postcode and want the cheapest pump nearby

What it is

FuelStop is a small, mobile-first tool on leej.uk/fuelstop that finds today's cheapest UK petrol or diesel near a place name or postcode. You pick a fuel type (Petrol E10, Super E5, Diesel B7 or Premium diesel), enter a UK place or postcode, set a radius and how many cheapest stations you want, then tap Find.

Nothing polls in the background. A search only happens when you ask. Matching searches are remembered in your browser for about five minutes, and Fuel Near You also caches responses for about five minutes.

Who it's for

Travellers and local drivers who often know a town name better than a postcode, and want the cheapest nearby forecourt without digging through raw government data.

What it does

  • Place or postcodeType a UK place name or postcode / outward code; places resolve to a local outcode.
  • Four fuel typesPetrol E10, Super E5, Diesel B7 and Premium diesel.
  • Radius and count1–20 miles and the cheapest 1, 3 or 5 stations.
  • On-demand onlySearch runs when you ask. No background jobs.
  • Brand logosLocal SVGs for Shell, BP, Tesco, Asda, Morrisons and others.
  • Honest attributionFuel Near You (CC BY 4.0) over UK Gov Fuel Finder; postcodes.io + Nominatim for places.

Why I built it

Forecourt prices vary a lot within a few miles, and official pump prices exist via the UK Government Fuel Finder scheme, but most people never open that raw data. I wanted a quiet, phone-first way to type Manchester or LS1 and see the cheapest stations nearby.

FuelStop is not affiliated with Fuel Near You or the UK Government. Prices move; always confirm on the forecourt board before you fill up.

How it's built

The front end is static HTML, CSS and vanilla JavaScript (leej palette, flat background, viewport locked against zoom). On Find:

  1. If the input looks like a UK postcode, it is normalised and used directly.
  2. If it is a place name, the browser calls free postcodes.io Places (/places?q=…) to map it to a local outcode. Ranking prefers cities and towns and exact name matches. If postcodes.io has no hit, OpenStreetMap Nominatim is the fallback to get a UK postcode or outcode.
  3. The browser then calls Fuel Near You's free no-key nearby API: GET https://fuelnearyou.com/api/v1/dashboard/widget/nearby?postcode={outcode}&fuel_type={E10|E5|B7_STANDARD|B7_PREMIUM}&radius={1-20}&limit={1-5}.
  4. Stations are sorted by price (pence per litre). The cheapest is highlighted with Maps links. Brand logos are local SVGs matched from the station brand or name.

There is no server of our own for fuel data — the lookup runs in your browser. Route-along / along-a-journey search is planned later and is not in this build.

Where it is now

Live since 6 November 2026 at https://leej.uk/fuelstop/. Search runs only when you ask; confirm prices at the pump before you fill up.

Work with me

Want something like this?

Tell me what you're trying to build or fix, and I'll reply personally with honest next steps. Every project starts with a preview you can try before anything goes live.

All projects · Back to leej.uk