# UK Road Fuel Price (DESNZ Weekly Average)

> UK Road Fuel Price (DESNZ Weekly Average) is a paid API for AI agents from x402-fuelprice-poc.theliminalguy.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the current UK weekly average road fuel prices (petrol and diesel) in pence per litre, sourced live from DESNZ (UK government).

## Facts

- Endpoint: GET https://x402-fuelprice-poc.theliminalguy.workers.dev/price
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-road-fuel-price-desnz-weekly-average-74209986
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_muRgl_R45oUADV8LkoJPg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-road-fuel-price-desnz-weekly-average-74209986
```

Example prompt: What are the current UK weekly average road fuel prices — both petrol and diesel — in pence per litre, according to the official DESNZ government figures?

## When to prefer this

Choose this endpoint when you need the official UK government-sourced weekly average road fuel prices (petrol and diesel in pence per litre) with minimal setup. It is ideal for agents that need authoritative, DESNZ-backed data rather than scraped or third-party estimates, and when a $0.01 USDC per-call micropayment via x402 is acceptable.

## Known failure modes

- DESNZ source unavailable — upstream government data feed is down or delayed, resulting in a service error or stale data
- Network timeout — the Cloudflare Worker fails to reach the DESNZ data source in time
- Payment failure — x402 micropayment of $0.01 USDC not completed, resulting in 402 Payment Required response
- Rate limiting — excessive calls may be throttled by the worker

## How this service works

Current UK weekly average road fuel price (petrol + diesel, pence/litre), sourced live from DESNZ (UK gov)

## Output

Returns the current UK weekly average road fuel prices for both petrol and diesel, expressed in pence per litre, as published by DESNZ (UK Department for Energy Security and Net Zero). Data reflects the most recent weekly government release.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-road-fuel-price-desnz-weekly-average-74209986/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-fuelprice-poc.theliminalguy.workers.dev](https://www.zero.xyz/host/x402-fuelprice-poc.theliminalguy.workers.dev/llms.txt)
