# Signal Oracle – US Diesel Price

> Signal Oracle – US Diesel Price is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the latest reported US retail diesel price in dollars per gallon along with the date that price was recorded.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/energy-diesel/status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signal-oracle-us-diesel-price-e2aa212f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RZLrZFXmUf3fDTyq-41oa

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 signal-oracle-us-diesel-price-e2aa212f
```

Example prompt: What's the latest US retail diesel price per gallon and when was it last reported?

## When to prefer this

Use this endpoint when you need a quick, single-call lookup of the current US retail diesel price denominated in $/gal with its record date, especially in automated pipelines that need commodity fuel price data at very low cost ($0.01 per call). Prefer this over scraping EIA or other sources when a paid, reliable API response is acceptable.

## Known failure modes

- Payment not included or rejected — 402 response blocking access
- Data not yet updated — may return a stale date if the upstream source hasn't refreshed
- Service unavailable on Railway hosting — 5xx error
- No entity found for an invalid query parameter id — empty or error response

## How this service works

Latest reported US diesel price ($/gal) with its record date.

## Output

Returns the most recently reported US retail diesel price in dollars per gallon and the date on which that price was recorded, along with any associated entity metadata.

## 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": {
      "id": {
       "type": "string",
       "description": "entityId to look up; omit to list tracked entities"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "entity": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signal-oracle-us-diesel-price-e2aa212f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
