# MacroPulse EIA Inventory Brief

> MacroPulse EIA Inventory Brief is a paid API for AI agents from macropulse-alpha.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Delivers a weekly US petroleum stockpile analysis brief based on EIA inventory data, formatted for forex and macro traders.

## Facts

- Endpoint: GET https://macropulse-alpha.vercel.app/api/eia-inventory
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macropulse-eia-inventory-brief-d1219cd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Epv7iZdJnvhzXA78ejLpR

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 macropulse-eia-inventory-brief-d1219cd1
```

Example prompt: Give me this week's EIA petroleum inventory brief — I want to know whether crude stockpiles built or drew down, by how much, and what it means for oil prices and the dollar.

## When to prefer this

Use this endpoint when you need a concise, trader-oriented analysis of the weekly EIA US petroleum inventory release, particularly when assessing crude oil supply dynamics and their implications for commodity-linked currencies (CAD, NOK) or broader macro positioning. Prefer this over raw EIA data feeds when you want pre-interpreted, actionable intelligence rather than raw numbers.

## Known failure modes

- EIA data not yet released for the current week — returns stale or no data
- Upstream EIA data source unavailable or delayed
- Payment not processed — returns 402 Payment Required
- Rate limiting or service overload on the Vercel deployment

## How this service works

Weekly EIA petroleum inventory intelligence for energy and macro agents — crude, gasoline and distillate builds and draws versus expectations, with the oil-price and CAD/NOK implications.

## Output

A structured weekly brief summarizing the latest US EIA petroleum inventory data, including crude oil and petroleum product stockpile changes, any surprise versus expectations, and macro/forex trading implications.

## Example request

```json
{
 "session": "newyork"
}
```

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string",
       "description": "e.g. en, es, fr, de, ja, zh, ko, pt, ar (default: en; not strictly validated — any language is forwarded to the model)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "errors": {
     "type": "object",
     "description": "Documented error responses, keyed by HTTP status code",
     "additionalProperties": {
      "type": "object",
      "required": [
       "description"
      ],
      "properties": {
       "example": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     }
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "cushing_ok": 23.4,
  "distillates": -0.8,
  "report_date": "2026-06-04",
  "market_reaction": "crude rallied 1.2% on larger-than-expected draw",
  "crude_build_draw": -3.2,
  "gasoline_build_draw": 1.1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macropulse-eia-inventory-brief-d1219cd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from macropulse-alpha.vercel.app](https://www.zero.xyz/host/macropulse-alpha.vercel.app/llms.txt)
