# US Regular Gasoline Price Movement Brief

> US Regular Gasoline Price Movement Brief is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Returns an LLM-generated narrative summary of recent US regular gasoline price movements over a configurable time window.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/energy-gas/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-regular-gasoline-price-movement-brief-6263a415
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Ul-GUDr50envWXyH3lUq

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 us-regular-gasoline-price-movement-brief-6263a415
```

Example prompt: Give me a brief on how US regular gasoline prices have moved over the last 30 days — written out in plain language with the key trend.

## When to prefer this

Use this endpoint when you need a human-readable, narrative-style summary of US gasoline price trends rather than raw data. Ideal for reports, digests, or informing a user in plain language about energy price movements. Prefer this over raw data endpoints when the consumer is a human or downstream LLM that needs interpretive language rather than numbers.

## Known failure modes

- No price changes found in the requested window — brief may reflect no movement or insufficient data
- Invalid 'since' timestamp format causes a 400 error
- Payment not provided or insufficient — 402 payment required response
- Service unavailable — 500 or timeout if upstream data source is down
- LLM generation failure — may fall back to template-based output

## How this service works

LLM-written read on recent movement in US regular gasoline price — direction and magnitude.

## Output

Returns a JSON object with a 'brief' field containing an LLM-written narrative about recent US regular gasoline price movement, a 'generatedBy' field indicating whether it was produced by an LLM or template, and 'basedOnChanges' indicating how many price change events the brief is based on.

## 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": {
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Window start (default: last 30 days)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "brief": {
       "type": "string"
      },
      "generatedBy": {
       "enum": [
        "llm",
        "template"
       ],
       "type": "string"
      },
      "basedOnChanges": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-regular-gasoline-price-movement-brief-6263a415/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)
