HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · SEI · OPTIMISM · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG

Macro economics

Pull the canonical US macro dataset - yield curve, CPI, unemployment, fed funds, Sahm rule - without an API key.

$0.65 per call · one payment for the whole workflow
POST /api/skill/macro-economics

7 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

Producing a weekly macro note, charting the recession-indicator dashboard, or feeding a model with the latest FRED/Treasury data.

Tools in this pack

All 7 run inside the single $0.65 call above. Each is also callable on its own if you only need one part.

Workflow

  1. Pull the live Treasury yield curve (all maturities from 1M to 30Y) - the base data for every spread/inversion chart.
  2. Get the 10Y–2Y and 10Y–3M spreads from yield-curve-spread; the latter is the NY Fed's preferred recession indicator.
  3. Pull CPI YoY (cpi-yoy) for the headline and core inflation read.
  4. Pull the headline unemployment rate (unemployment-rate) - the U-3 series.
  5. Get the effective fed funds rate (fed-funds) for the current policy stance.
  6. Compute the Sahm rule (sahm-rule) - a real-time recession indicator that triggers when the 3-month unemployment average rises >0.5pp above its 12-month low.
  7. Pull the upcoming FRED release calendar (fred-release-calendar) so the brief can flag what's hitting this week.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response:

npx agent402-client call macro-economics {}

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Build today's macro dashboard. Use Agent402 to pull the Treasury yield curve, 10Y–2Y and 10Y–3M spreads, latest CPI YoY, unemployment rate, fed funds rate, and the Sahm rule reading. Highlight any indicator that is at a multi-year extreme, and list FRED releases scheduled for this week.

← All skill packs