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 keyMade-up sandbox data, free, nothing billed
Uses the public sandbox key. Paste your own vd_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.vardic.dev/v1/fuel/nearest?postcode=SW1A%202AA&fuel=E10&radius=5" \
  -H "x-api-key: $VARDIC_API_KEY"

Example response (made-up sandbox data)

{
  "data": {
    "fuel": "E10",
    "location": {
      "lat": 51.50101,
      "lng": -0.141563
    },
    "radiusKm": 5,
    "sort": "price",
    "total": 4,
    "items": [
      {
        "station": {
          "id": "0505050505050505050505050505050505050505050505050505050505050505",
          "name": "EXAMPLE SERVICE STATION VAUXHALL",
          "brand": "EXAMPLE SERVICE STATION",
          "address": {
            "line1": "5 Sample Road",
            "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": "EXAMPLE SERVICE STATION BATTERSEA",
          "brand": "EXAMPLE SERVICE STATION",
          "address": {
            "line1": "2 Sample Road",
            "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": {
    "sandbox": true,
    "notice": "Sandbox: made-up test data. Not a real record or lookup, and never billed.",
    "requestId": "req_4d8b2a6c1e9f3b70",
    "source": "fuel_finder",
    "dataRefreshedAt": "2026-11-24T07:55:00.000Z",
    "dataAgeSeconds": 457349,
    "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"
    }
  }
}
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: each change with the price and the time the forecourt reported it.

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.

Ready for live data?

Sign up with your email for a live key and a sandbox key, with a free allowance on every product. For volume, an SLA or invoice billing, talk to us.