# AgentRXI US Gasoline & Diesel Price Feed

> AgentRXI US Gasoline & Diesel Price Feed is a paid API for AI agents from agentrxi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Returns this week's US retail gasoline and diesel prices by grade, covering national average, PADD regions, 9 states, and 10 major metro areas with weekly change rankings.

## Facts

- Endpoint: GET https://agentrxi.com/v1/energy/gas-prices?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentrxi-us-gasoline-diesel-price-feed-6f9ce14c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_j2KYM9B5wqNgAVtQdJn8C

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 agentrxi-us-gasoline-diesel-price-feed-6f9ce14c
```

Example prompt: What's the current average price for regular gasoline across the US this week, and how do cities like Los Angeles, Chicago, and Houston compare — and which regions saw the biggest weekly change?

## When to prefer this

Choose this endpoint when you need structured, ranked US retail fuel price data at national, regional (PADD), state, or metro level with weekly change context — particularly for fleet cost analysis, consumer price monitoring, travel planning, or energy economics research. It covers both gasoline grades and diesel in a single call. Prefer it over scraping EIA directly for agent-ready structured output at very low cost per call.

## Known failure modes

- Invalid grade parameter value (not one of: regular, midgrade, premium, diesel) may return an error or default to regular
- Data may lag by a few days if EIA has not yet published the current week's prices
- Network or upstream EIA data outage may cause service unavailability
- Payment failure (insufficient USDC balance) blocks the request under x402 protocol

## How this service works

This week's gasoline or diesel prices across the US: national average, PADD regions, 9 states and 10 metro areas (Los Angeles, San Francisco, Seattle, New York, Chicago, Houston, Miami...), ranked with weekly change.

## Output

Returns structured retail fuel price data for the requested grade (regular, midgrade, premium, or diesel), including: national average price, prices broken down by PADD region, prices for up to 9 US states, prices for up to 10 metro areas (LA, SF, Seattle, NYC, Chicago, Houston, Miami, and others), and the weekly price change for each geography, typically with a ranking.

## 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": {
      "grade": {
       "type": "string",
       "description": "regular (default), midgrade, premium, diesel"
      }
     }
    }
   },
   "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/agentrxi-us-gasoline-diesel-price-feed-6f9ce14c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentrxi.com](https://www.zero.xyz/host/agentrxi.com/llms.txt)
