# FRED Economic Indicators Fetcher

> FRED Economic Indicators Fetcher is a paid API for AI agents from api.agentwonderland.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Fetches key US economic indicator time-series data from the Federal Reserve's FRED database using shortcuts or direct series IDs

## Facts

- Endpoint: POST https://api.agentwonderland.com/x402/endpoints/economic-indicators
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fred-economic-indicators-fetcher-6433614c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pBEUij8yn7ANr1fkppMxI

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 fred-economic-indicators-fetcher-6433614c -d '<json body>'
```

Example prompt: Can you pull the latest 12 months of CPI, unemployment rate, federal funds rate, and 10-year treasury yield from FRED so I can see where the US economy stands right now?

## When to prefer this

Choose this endpoint when you need reliable, official US macroeconomic time-series data from the Federal Reserve's FRED database, especially when using well-known indicator shortcuts (CPI, GDP, unemployment, etc.) or any of FRED's 800,000+ series IDs. Prefer this over web scraping or general search when you need structured, historically consistent economic data for analysis, reporting, or downstream computation.

## Known failure modes

- Invalid FRED series ID returns an error or empty result
- Requesting more than 24 observations exceeds maximum and may fail or be capped
- Requesting more than 10 indicators per call exceeds the array limit
- Payment failure (x402 protocol) blocks the request
- FRED upstream downtime causes data unavailability
- Shortcut not recognized if typo is passed (e.g. 'cpii' instead of 'cpi')

## How this service works

Economic Indicators: Get key US economic indicators from FRED (Federal Reserve Economic Data). 800,000+ available series. Use shortcuts like 'cpi', 'gdp', 'unemployment', 'fed_funds', 'treasury_10y', 'mortgage_30y', etc. Or pass any FRED series ID directly.

## Output

Returns time-series observation arrays for each requested indicator, including historical data points (up to 24 observations) sourced from FRED. Each series includes the indicator identifier and its chronological values, enabling trend analysis, comparisons, and downstream modeling.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "indicators": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 10
   },
   "title": "Indicators",
   "maxLength": 10,
   "description": "Economic indicators to fetch. Shortcuts: gdp, cpi, unemployment, fed_funds, inflation, treasury_10y, treasury_2y, sp500, housing_starts, retail_sales, industrial_production, consumer_sentiment, pce, m2, initial_claims, nonfarm_payrolls, prime_rate, mortgage_30y. Or use any FRED series ID directly.",
   "json_schema_extra": {
    "example": [
     "cpi",
     "unemployment",
     "fed_funds",
     "gdp"
    ]
   }
  },
  "observations": {
   "type": "integer",
   "title": "Observations",
   "default": 12,
   "maximum": 24,
   "minimum": 1,
   "description": "Number of recent observations per indicator (max 24)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fred-economic-indicators-fetcher-6433614c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentwonderland.com](https://www.zero.xyz/host/api.agentwonderland.com/llms.txt)
