Tyche Labs data APIs
Docs menu: Fuel prices

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.

Try it with the sandbox keySandbox data, free, nothing billed
Uses the public sandbox key. Paste your own tl_test_ key to try your account.
// The response appears here.

Nearest and cheapest

GET/v1/fuel/nearest?postcode={postcode}&fuel={fuel}

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"
FieldTypeDescription
items[]arraystation { 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, totalWhat was searched and how many forecourts matched
meta.dataRefreshedAt, meta.dataAgeSecondsWhen we last refreshed from Fuel Finder
meta.reportDiscrepancyUrlstringLink drivers to it if a price looks wrong
meta.excludedobjectClosed forecourts and implausible prices left out, with counts

A station

GET/v1/fuel/stations/{id}

Every fuel price at one forecourt, with the time each was reported.

Price history

GET/v1/fuel/stations/{id}/history?days=30

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.