# Macro Context Snapshot

> Macro Context Snapshot is a paid API for AI agents from agent402.tools, paid per call via x402, $0.041/call, status unknown (last checked 2026-09-14).

Pulls a bundled snapshot of canonical macroeconomic signals — CPI YoY, unemployment, fed funds rate, Treasury yield curve, and G10 data — for a given date

## Facts

- Endpoint: POST https://agent402.tools/api/skill/macro-context
- Price: $0.041/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macro-context-snapshot-7b0d9e90
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FHOVAyFCEcS7KM9Krn5Sf

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 macro-context-snapshot-7b0d9e90 -d '<json body>'
```

Example prompt: Can you pull the macro backdrop snapshot for today — I need CPI year-over-year, unemployment, fed funds rate, and the Treasury yield curve all in one shot to check if the economic conditions I'm modeling against are still current?

## When to prefer this

Choose this endpoint when you need a single-call bundle of the most important macro signals rather than fetching each indicator separately. Ideal for AI agents running economic scenario analysis, portfolio stress testing, or model validation where you need to verify the macro backdrop hasn't shifted. Particularly useful when you need CPI, unemployment, fed funds, and yield curve data together in one atomic snapshot.

## Known failure modes

- Invalid or future asOfDate returns an error or empty data
- Data unavailable for very recent dates if upstream sources have not yet published (e.g. same-day lag)
- Payment failure if USDC balance is insufficient for the $0.75 per-call fee
- Network timeout if upstream macro data aggregation is slow
- Malformed date string (not YYYY-MM-DD) returns a validation error

## How this service works

Bundled execution of the Macro backdrop snapshot workflow - The 'is the economic backdrop you're modeling against still current?' pack. Pull the canonical macro signals - CPI year-over-year, unemployment, fed funds, the Treasury yield curve, a G10 FX dashboard, the Sahm Rule recession indicator, and the next scheduled economic releases - in one composed workflow. Seven egress tools, one composite snapshot the agent can cite before doing any forecast or investment math.

## Output

A bundled snapshot of canonical macro signals including CPI year-over-year, unemployment rate, fed funds rate, Treasury yield curve shape, and G10 macro indicators as of the requested date — giving a comprehensive read on the current economic backdrop.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "asOfDate": {
   "type": "string",
   "description": "the as-of date for the snapshot in YYYY-MM-DD (use today if unspecified)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "asOfDate": "2026-06-22"
  },
  "pack": "macro-context",
  "steps": [
   {
    "ok": true,
    "slug": "cpi-yoy",
    "result": {}
   },
   {
    "ok": true,
    "slug": "unemployment-rate",
    "result": {}
   },
   {
    "ok": true,
    "slug": "fed-funds",
    "result": {}
   },
   {
    "ok": true,
    "slug": "treasury-yield-curve",
    "result": {}
   },
   {
    "ok": true,
    "slug": "yield-curve-spread",
    "result": {}
   },
   {
    "ok": true,
    "slug": "sahm-rule",
    "result": {}
   },
   {
    "ok": true,
    "slug": "fx-dashboard",
    "result": {}
   },
   {
    "ok": true,
    "slug": "fred-release-calendar",
    "result": {}
   }
  ],
  "summary": "8/8 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macro-context-snapshot-7b0d9e90/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
