← Market

Prices

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.

GET https://api.ukfuelprice.workers.dev/v1/prices

0.01 0x036C… on eip155:84532 · payTo 0x4962e8CE1ee0E30FC5EeBaFc0180e29090c9343A

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

eip155:84532 · 0.01 0x036C… · payTo 0x4962e8CE1ee0E30FC5EeBaFc0180e29090c9343A · via cdp · settles direct
{
  "postcode": "SW1A1AA"
}
{
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0.",
  "count": 1,
  "dataUpdatedAt": "2026-10-14T06:00:00.000Z",
  "note": "Prices as published by the source (unit unverified: expected pence per litre). Timestamps are ISO 8601. dataUpdatedAt is the newest price time in the whole feed, not the refresh time of this area: each price carries its own times.",
  "ok": true,
  "postcode": "SW1A",
  "stations": [
    {
      "brand": "ExampleBrand",
      "id": "example-1",
      "lat": 51.5014,
      "lon": -0.1419,
      "name": "Example Garage",
      "postcode": "SW1A 1AA",
      "prices": {
        "E10": {
          "effective": "2026-10-14T05:30:00.000Z",
          "price": 139.9,
          "updated": "2026-10-14T05:30:00.000Z"
        }
      }
    }
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score65 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency399 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)15 calls · 2 payers (CDP Bazaar)

How to call

GET https://api.ukfuelprice.workers.dev/v1/prices · input in query · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "string",
      "maxLength": 12,
      "description": "UK postcode or postcode district, e.g. SW1A1AA, SW1A 1AA or SW1A. Only the district (SW1A) is used."
    }
  },
  "required": [
    "postcode"
  ]
}
Output schema
{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "postcode": {
      "type": "string",
      "description": "The postcode district that was asked for, e.g. SW1A"
    },
    "dataUpdatedAt": {
      "type": "string",
      "description": "ISO 8601 time the price list was last refreshed"
    },
    "count": {
      "type": "number",
      "description": "Number of stations returned"
    },
    "stations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "brand": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lon": {
            "type": "number"
          },
          "prices": {
            "type": "object",
            "description": "Keyed by fuel code (e.g. E10, B7). price is as published; expected pence per litre (unit unverified).",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "price": {
                  "type": "number"
                },
                "updated": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "effective": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          }
        }
      }
    },
    "attribution": {
      "type": "string",
      "description": "Open Government Licence v3.0 attribution text"
    },
    "note": {
      "type": "string"
    },
    "notice": {
      "type": "string",
      "description": "Present only when the shelf holds SAMPLE / TEST data (invented numbers); absent for real data"
    }
  },
  "required": [
    "ok",
    "postcode",
    "dataUpdatedAt",
    "count",
    "stations",
    "attribution"
  ]
}
curl -i -X GET 'https://api.ukfuelprice.workers.dev/v1/prices?postcode=SW1A1AA'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try-it needs an exact USDC-on-Base route that is verified payable; use your own x402 client or proxy_call.