# FRED Macroeconomic Indicators API

> FRED Macroeconomic Indicators API is a paid API for AI agents from econ.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves key U.S. macroeconomic indicators from FRED (St. Louis Fed), including GDP, federal funds rate, Treasury yields, housing starts, and retail sales.

## Facts

- Endpoint: GET https://econ.memoryapi.org/x402/econ/macro
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/econ-memoryapi-org-3c773b96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pFN-nbgACpIJeWooLE-Oz

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 econ-memoryapi-org-3c773b96
```

Example prompt: Pull the latest macroeconomic indicators from FRED — I need current GDP, the federal funds rate, 10-year Treasury yield, housing starts, and retail sales figures.

## When to prefer this

Choose this endpoint when you need authoritative U.S. macroeconomic data sourced directly from the St. Louis Fed's FRED database, especially for indicators like GDP, federal funds rate, Treasury yields, housing starts, and retail sales. It is ideal for economic research, financial analysis, and monetary policy monitoring. Prefer over general web search when you need structured, reliable time-series macro data with consistent formatting.

## Known failure modes

- Payment failure (402) if USDC payment is not properly submitted
- Invalid or unsupported indicator series requested
- FRED data source temporarily unavailable causing stale or missing data
- Rate limiting if too many requests are made in a short period
- Network timeout if the upstream FRED API is slow

## How this service works

x402-powered economic data API. CPI inflation, labor market, GDP, Treasury yields, and energy prices. Pay per query in USDC on Base mainnet.

## Output

Returns a set of current and historical U.S. macroeconomic indicator values sourced from the FRED database, including GDP, the federal funds rate, Treasury yields across maturities, housing starts, and retail sales figures, likely as named series with values and dates.

## Example request

```json
{
 "series": "gdp"
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "change": 320.5,
  "series": "gdp",
  "success": true,
  "description": "Gross Domestic Product (Billions USD)",
  "latest_date": "2026-01-01",
  "latest_value": 29450.2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/econ-memoryapi-org-3c773b96/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from econ.memoryapi.org](https://www.zero.xyz/host/econ.memoryapi.org/llms.txt)
