Fuel prices
Current prices at UK forecourts from the government Fuel Finder scheme, with a plain API key. Find the nearest or cheapest by postcode or coordinates, look up a station and see its price history.
// The response appears here.Nearest and cheapest
Send a postcode or lat and lng. fuel is E10, E5, B7_STANDARD (or B7), B7_PREMIUM (or SDV), B10 or HVO (default E10). radius is in kilometres (default 5, up to 25), sort is price or distance (default price) and limit up to 50. One call counts as one request.
curl "https://api.tychelabs.net/v1/fuel/nearest?postcode=SW1A%202AA&fuel=E10&radius=5" \
-H "x-api-key: $TYCHE_API_KEY"const res = await fetch("https://api.tychelabs.net/v1/fuel/nearest?postcode=SW1A2AA&fuel=E10&sort=price", {
headers: { "x-api-key": process.env.TYCHE_API_KEY },
});
const { data } = await res.json();
for (const s of data.items) {
console.log(s.station.name, s.price, s.priceLastUpdated, s.distanceKm);
}import os, requests
r = requests.get(
"https://api.tychelabs.net/v1/fuel/nearest",
params={"postcode": "SW1A 2AA", "fuel": "B7", "limit": 5},
headers={"x-api-key": os.environ["TYCHE_API_KEY"]},
timeout=10,
)
for s in r.json()["data"]["items"]:
print(s["station"]["name"], s["price"], s["distanceKm"])| Field | Type | Description |
|---|---|---|
items[] | array | station { id, name, brand, address, location, isMotorway, isSupermarket }, distanceKm, fuel, price (pence a litre), priceLastUpdated and priceEffectiveAt as the forecourt reported them |
fuel, location, radiusKm, sort, total | What was searched and how many forecourts matched | |
meta.dataRefreshedAt, meta.dataAgeSeconds | When we last refreshed from Fuel Finder | |
meta.reportDiscrepancyUrl | string | Link drivers to it if a price looks wrong |
meta.excluded | object | Closed forecourts and implausible prices left out, with counts |
A station
Every fuel price at one forecourt, with the time each was reported.
Price history
Price changes for up to 90 days, by fuel.
Example response
{
"data": {
"fuel": "E10",
"location": {
"lat": 51.50101,
"lng": -0.141563
},
"radiusKm": 5,
"sort": "price",
"total": 4,
"items": [
{
"station": {
"id": "0505050505050505050505050505050505050505050505050505050505050505",
"name": "PLACEHOLDER ENERGY VAUXHALL",
"brand": "PLACEHOLDER ENERGY",
"address": {
"line1": "5 Placeholder Place",
"line2": null,
"city": "LONDON",
"county": null,
"postcode": "SE11 1AA",
"country": "England"
},
"location": {
"lat": 51.4862,
"lng": -0.1229
},
"isMotorway": false,
"isSupermarket": false,
"temporaryClosure": false,
"permanentClosure": false
},
"distanceKm": 2.09,
"fuel": "E10",
"price": 132.9,
"unit": "pence_per_litre",
"priceLastUpdated": "2026-11-24T06:31:12.000Z",
"priceEffectiveAt": "2026-11-24T06:30:00.000Z"
},
{
"station": {
"id": "0202020202020202020202020202020202020202020202020202020202020202",
"name": "SAMPLE SUPERSTORE BATTERSEA",
"brand": "SAMPLE SUPERSTORE",
"address": {
"line1": "2 Sample Way",
"line2": null,
"city": "LONDON",
"county": null,
"postcode": "SW11 1AA",
"country": "England"
},
"location": {
"lat": 51.4791,
"lng": -0.15
},
"isMotorway": false,
"isSupermarket": true,
"temporaryClosure": false,
"permanentClosure": false
},
"distanceKm": 2.51,
"fuel": "E10",
"price": 132.9,
"unit": "pence_per_litre",
"priceLastUpdated": "2026-11-24T06:31:12.000Z",
"priceEffectiveAt": "2026-11-24T06:30:00.000Z"
}
]
},
"meta": {
"requestId": "req_4d8b2a6c1e9f3b70",
"sandbox": true,
"source": "fuel_finder",
"dataRefreshedAt": "2026-11-24T07:55:00.000Z",
"dataAgeSeconds": 22505,
"reportDiscrepancyUrl": "https://www.fuel-finder.service.gov.uk/motorist/price-report",
"ranking": "price, then distance",
"excluded": {
"closed": 1,
"implausiblePrice": 0
},
"plausiblePriceRange": {
"min": 50,
"max": 400,
"unit": "pence_per_litre"
},
"usage": {
"plan": "free",
"used": 9,
"limit": 1000,
"period": "2026-11"
}
}
}
Fair use
Results are sorted on objective criteria only (price or distance), never by brand, and each price keeps the timestamp the forecourt reported, unchanged, as the Fuel Finder fair use policy requires. Prices stay fresh to within minutes, each with the time the forecourt reported it. If you show prices to drivers, show the report-a-discrepancy link from meta.reportDiscrepancyUrl and tell drivers to check the price at the pump.