{"slug":"api-live-ukfuelprice-workers-dev-v1-prices-2a0681","title":"UK fuel prices per forecourt for one postcode district","host":"api-live.ukfuelprice.workers.dev","method":"GET","resource":"https://api-live.ukfuelprice.workers.dev/v1/prices","category":"market","description":"UK fuel prices per forecourt for one postcode district. Query parameter: postcode (e.g. SW1A1AA or SW1A). Returns JSON: stations, price per fuel type (E10, B7...), timestamps. Source: GOV.UK Fuel Finder. Contains public sector information licensed under the Open Government Licence v3.0. Independent;","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":393,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"postcode":"SW1A1AA"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"postcode":{"description":"UK postcode or postcode district, e.g. SW1A1AA, SW1A 1AA or SW1A. Only the district (SW1A) is used.","maxLength":12,"type":"string"}},"required":["postcode"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"attribution":{"description":"Open Government Licence v3.0 attribution text","type":"string"},"count":{"description":"Number of stations returned","type":"number"},"dataUpdatedAt":{"description":"ISO 8601 time the price list was last refreshed","type":"string"},"note":{"type":"string"},"notice":{"description":"Present only when the shelf holds SAMPLE / TEST data (invented numbers); absent for real data","type":"string"},"ok":{"type":"boolean"},"postcode":{"description":"The postcode district that was asked for, e.g. SW1A","type":"string"},"stations":{"items":{"properties":{"brand":{"type":"string"},"id":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"postcode":{"type":"string"},"prices":{"additionalProperties":{"properties":{"effective":{"type":["string","null"]},"price":{"type":"number"},"updated":{"type":["string","null"]}},"type":"object"},"description":"Keyed by fuel code (e.g. E10, B7). price is as published; expected pence per litre (unit unverified).","type":"object"}},"type":"object"},"type":"array"}},"required":["ok","postcode","dataUpdatedAt","count","stations","attribution"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":393,"error":null}],"description_full":"UK fuel prices per forecourt for one postcode district. Query parameter: postcode (e.g. SW1A1AA or SW1A). Returns JSON: stations, price per fuel type (E10, B7...), timestamps. Source: GOV.UK Fuel Finder. Contains public sector information licensed under the Open Government Licence v3.0. Independent; not an official government service, not endorsed by GOV.UK. Prices as published, expected pence per litre (unit unverified). Payments are USDC on Base.","last_updated":"2026-10-25T17:38:16.275Z","schemes":["exact"]}