# Agent402 Macro Economics Bundled Workflow

> Agent402 Macro Economics Bundled Workflow is a paid API for AI agents from agent402.tools, paid per call via x402, $0.036/call, status unknown (last checked 2026-09-14).

Fetches a comprehensive canonical US macroeconomic dataset — yield curve, CPI, unemployment, fed funds rate, and Sahm rule — in a single paid call that runs 7 underlying data tools.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/macro-economics
- Price: $0.036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-macro-economics-bundled-workflow-453c5ef1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CvIA2h667d8yVRuFMIYKb

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 agent402-macro-economics-bundled-workflow-453c5ef1 -d '<json body>'
```

Example prompt: Pull me the full US macro snapshot right now — yield curve, CPI, unemployment, fed funds rate, and Sahm rule all in one shot — I need to assess current economic conditions.

## When to prefer this

Choose this endpoint when you need a comprehensive US macroeconomic snapshot across multiple dimensions (yield curve, inflation, employment, monetary policy) in a single API call without managing individual API keys for each data source. It is ideal for agent workflows that need to assess overall US economic conditions holistically, saving the overhead of orchestrating 7 separate tool calls.

## Known failure modes

- Payment failure if x402 USDC payment of $0.65 not completed — returns 402 Payment Required
- One or more of the 7 underlying data sources may be temporarily unavailable — partial data or error response
- Invalid or malformed POST body — returns 400 Bad Request
- Network timeout if upstream data providers are slow to respond

## How this service works

Bundled execution of the Macro economics workflow - Pull the canonical US macro dataset - yield curve, CPI, unemployment, fed funds, Sahm rule - without an API key. One x402 payment runs 7 underlying tools (treasury-yield-curve, yield-curve-spread, cpi-yoy, unemployment-rate, fed-funds, sahm-rule, fred-release-calendar); partial-success per step.

## Output

A bundled response containing results from 7 underlying macro data tools: treasury yield curve data, yield curve spread, CPI (inflation), unemployment rate, federal funds rate, and the Sahm rule recession indicator — all current canonical US macroeconomic figures in a single response.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [],
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "pack",
      "args",
      "steps",
      "summary"
     ],
     "properties": {
      "args": {
       "type": "object"
      },
      "pack": {
       "type": "string"
      },
      "steps": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "ok": {
          "type": "boolean"
         },
         "slug": {
          "type": "string"
         },
         "result": {
          "type": "object"
         }
        }
       }
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {},
  "pack": "macro-economics",
  "steps": [
   {
    "ok": true,
    "slug": "treasury-yield-curve",
    "result": {}
   },
   {
    "ok": true,
    "slug": "yield-curve-spread",
    "result": {}
   },
   {
    "ok": true,
    "slug": "cpi-yoy",
    "result": {}
   },
   {
    "ok": true,
    "slug": "unemployment-rate",
    "result": {}
   },
   {
    "ok": true,
    "slug": "fed-funds",
    "result": {}
   },
   {
    "ok": true,
    "slug": "sahm-rule",
    "result": {}
   },
   {
    "ok": true,
    "slug": "fred-release-calendar",
    "result": {}
   }
  ],
  "summary": "7/7 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-macro-economics-bundled-workflow-453c5ef1/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)
