# US Macro Economic Indicators via FRED

> US Macro Economic Indicators via FRED is a paid API for AI agents from srv1553682.hstgr.cloud, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-16).

Returns the latest value, year-over-year change, and recent history for key US macroeconomic indicators (CPI, core CPI, unemployment, Fed funds rate, GDP, 10y/2y Treasury yields, M2) sourced from FRED.

## Facts

- Endpoint: GET https://srv1553682.hstgr.cloud/route/macro-econ
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-macro-economic-indicators-via-fred-191250b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kXLLQZYCGYeF91-Q6uFvz

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-macro-economic-indicators-via-fred-191250b7
```

Example prompt: What is the current US CPI inflation rate — can you pull the latest value and year-over-year change from the FRED macro indicators endpoint?

## When to prefer this

Choose this endpoint when you need quick, structured access to canonical US macroeconomic indicators (CPI, unemployment, GDP, Fed funds rate, Treasury yields, M2) with year-over-year context and recent history, without needing to query FRED directly or handle raw FRED API authentication. Ideal for agents building economic dashboards, research briefs, or policy-monitoring workflows at low cost per call.

## Known failure modes

- Invalid or unsupported series identifier returns an error response
- FRED upstream unavailability may cause stale or failed responses despite 6h cache
- Missing 'series' query parameter may return a default or error
- Payment failure (x402) results in no data returned and no charge

## How this service works

US macro indicators (CPI, core CPI, unemployment, Fed funds, GDP, 10y/2y yields, M2) with latest value + YoY + recent history, via FRED. ?series=cpi. Public-domain data, 6h cache. Never charged on failure.

## Output

Returns a JSON object containing the indicator's latest value, its year-over-year change, and a list of recent historical data points (value + date pairs), all sourced from FRED with a 6-hour cache.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "series": {
       "type": "string",
       "description": "cpi|core_cpi|unemployment|fed_funds|gdp|10y|2y|m2"
      }
     }
    }
   },
   "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-macro-economic-indicators-via-fred-191250b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from srv1553682.hstgr.cloud](https://www.zero.xyz/host/srv1553682.hstgr.cloud/llms.txt)
