# US Economic Data (FRED)

> US Economic Data (FRED) is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-28).

Retrieves any FRED economic time series — CPI, unemployment, GDP, fed funds, Treasury yields, and more — returning the latest value, change, 1-year % change, and historical observations.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/finance/fred?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-economic-data-fred-970998f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NUMWYcKnw0FGxHkbDxTkh

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 us-economic-data-fred-970998f8
```

Example prompt: Pull the latest CPI reading from FRED along with its 1-year percent change, and show me the monthly history for the past 12 months.

## When to prefer this

Choose this endpoint when you need authoritative US macroeconomic time-series data — inflation, interest rates, employment, GDP, money supply, commodity prices, or market volatility — especially when you want a single call that returns both the latest snapshot and historical observations without having to integrate directly with the FRED API or manage API keys.

## Known failure modes

- Unknown or misspelled series ID returns an error or empty result
- Date range with no observations returns empty history array
- Limit out of range (outside 1–1000) may be rejected or clamped
- FRED API downtime causes service unavailability
- Network timeout on the render.com host under load

## How this service works

Any FRED economic time series by id or alias: CPI, core PCE, unemployment, payrolls, GDP, fed funds, SOFR, Treasury yields, mortgage rates, M2, oil, VIX, jobless claims... Latest value, change, 1-year % change and history. Use for macro analysis and economic questions.

## Output

Returns the series name, latest observed value with its date, the change from the prior period, the 1-year percent change, and a chronological array of historical observations (date + value pairs) up to the requested limit — all sourced from the FRED database.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "series"
     ],
     "properties": {
      "end": {
       "type": "string",
       "description": "End date YYYY-MM-DD"
      },
      "limit": {
       "type": "integer",
       "description": "Observations to return, latest last (1-1000)"
      },
      "start": {
       "type": "string",
       "description": "Start date YYYY-MM-DD"
      },
      "series": {
       "type": "string",
       "description": "FRED id (CPIAUCSL) or alias: cpi, unemployment, gdp, fed_funds, 10y, oil..."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-economic-data-fred-970998f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
