UK fuel prices per forecourt for one postcode district
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). Testnet payments. A notice field saying SAMPLE means invented test data.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.ukfuelprice.workers.dev/v1/prices
| Category | Market data |
|---|---|
| Provider host | api.ukfuelprice.workers.dev |
| Networks | eip155:84532 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 4 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 463 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 473 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 325 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 432 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 432 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 328 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 371 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 350 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 374 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 447 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 429 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 495 ms |
| 2026-11-14 | valid payment request | 402 | $0.01 | 516 ms |
| 2026-11-13 | valid payment request | 402 | $0.01 | 429 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 475 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 380 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 373 ms |
| 2026-11-09 | valid payment request | 402 | $0.01 | 386 ms |
| 2026-11-08 | valid payment request | 402 | $0.01 | 387 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 351 ms |
| 2026-11-06 | valid payment request | 402 | $0.01 | 363 ms |
| 2026-11-05 | valid payment request | 402 | $0.01 | 377 ms |
| 2026-11-04 | valid payment request | 402 | $0.01 | 419 ms |
| 2026-11-03 | valid payment request | 402 | $0.01 | 340 ms |
| 2026-11-02 | valid payment request | 402 | $0.01 | 340 ms |
| 2026-11-01 | valid payment request | 402 | $0.01 | 377 ms |
| 2026-10-31 | valid payment request | 402 | $0.01 | 391 ms |
| 2026-10-29 | valid payment request | 402 | $0.01 | 379 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"postcode": "SW1A1AA"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}