# Market Intelligence API – EIA Weekly Oil Inventories

> Market Intelligence API – EIA Weekly Oil Inventories is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Returns the latest EIA Weekly Petroleum Status Report data including US commercial crude, Cushing, SPR, gasoline and distillate stocks with weekly changes, 5-year averages, plus crude production, refinery utilization, imports, and exports.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/markets/oil-inventories?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/market-intelligence-api-eia-weekly-oil-inventories-ab76e993
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eq9moUD13FyleUa11LgiN

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 market-intelligence-api-eia-weekly-oil-inventories-ab76e993
```

Example prompt: Pull this week's EIA oil inventory report — I want to see US commercial crude stocks, Cushing levels, gasoline and distillate inventories, the weekly changes, how they compare to the 5-year average, plus refinery utilization and crude production.

## When to prefer this

Use this endpoint when you need authoritative, government-sourced weekly US petroleum inventory data in a single structured call. It consolidates the full EIA Weekly Petroleum Status Report into one response, making it superior to scraping EIA's website or parsing their spreadsheets. Ideal for energy traders, macro analysts, or any agent that needs to contextualize oil price moves, assess supply/demand balance, or update a commodity dashboard on a Wednesday cadence.

## Known failure modes

- EIA data not yet released for the current week (report releases Wednesdays — calls before release return prior week data or an error)
- API payment failure if x402 micropayment is not properly handled
- Upstream EIA data delay or revision causing stale figures
- No query parameters accepted — passing parameters returns an error or they are silently ignored

## How this service works

Oil inventories and crude stocks, weekly (EIA Weekly Petroleum Status Report, Wednesdays): US commercial crude, Cushing, SPR, gasoline and distillate stocks with weekly change and the 5-year average for the same week, plus crude production, refinery utilization, imports and exports. Use for the weekly oil supply picture.

## Output

A JSON object containing the most recent EIA Weekly Petroleum Status Report figures: US commercial crude oil stocks (barrels), Cushing Oklahoma crude stocks, Strategic Petroleum Reserve level, gasoline stocks, distillate stocks, each with the weekly change and the 5-year average for the same reporting week, plus US crude production, refinery utilization percentage, crude imports, and crude exports.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "description": "Example JSON response returned by this endpoint"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/market-intelligence-api-eia-weekly-oil-inventories-ab76e993/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.marketintelligenceapi.com](https://www.zero.xyz/host/api.marketintelligenceapi.com/llms.txt)
