# 2s.io US Macroeconomic Indicators

> 2s.io US Macroeconomic Indicators is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-09-13).

Returns the latest reading of a curated US macroeconomic indicator (plus prior and year-ago values and YoY % change) sourced from FRED (BLS/BEA/Fed/Treasury).

## Facts

- Endpoint: GET https://2s.io/api/econ/indicator
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-us-macroeconomic-indicators-1b5bf5b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jJkhpRkDw-pqLFk84xz2O

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 2s-io-us-macroeconomic-indicators-1b5bf5b7
```

Example prompt: What is the current US unemployment rate — give me the latest reading along with the prior value and how it's changed compared to a year ago?

## When to prefer this

Use this endpoint when you need a quick, pre-curated snapshot of a US macroeconomic indicator with built-in context (prior and year-ago values, YoY change) without needing to query raw FRED series directly. Prefer this over raw BLS series endpoints when you want a normalized, ready-to-use macro data point. For inflation specifically, use the dedicated inflation.rates endpoint; for raw FRED series data, use bls.series.

## Known failure modes

- Invalid indicator slug returns an error or empty result
- Indicator data not yet updated for current period returns stale reading
- Network or payment failure prevents response
- Omitting indicator when only one is needed returns all 17 indicators, increasing payload size

## How this service works

Latest reading of a curated US macroeconomic indicator, with the prior + year-ago values and YoY % change. Pass indicator for one, or omit for all. Indicators: unemployment-rate, fed-funds-rate, nonfarm-payrolls, jobless-claims, labor-force-participation, real-gdp, gdp-growth, 10y-treasury, 2y-treasury, 3m-treasury, 30y-mortgage, consumer-sentiment, housing-starts, retail-sales, industrial-production, m2, personal-saving-rate — i.e. unemployment rate, fed funds rate, nonfarm payrolls, jobless claims, labor-force participation, real GDP + GDP growth, 2y/3m/10y Treasury yields, 30y mortgage rate, consumer sentiment, housing starts, retail sales, industrial production, M2, personal saving rate. Each result names the FRED series ID + units. Source: BLS/BEA/Fed/Treasury via FRED (St. Louis Fed). For inflation specifically use inflation.rates; for any raw series use bls.series.

## Output

A JSON object containing the latest value, prior value, year-ago value, and year-over-year percent change for the requested macroeconomic indicator, along with the FRED series ID and measurement units. If no indicator is specified, results for all 17 supported indicators are returned.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "indicator": "unemployment-rate"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "indicator": {
       "type": "string",
       "description": "One indicator, or omit for all. One of: unemployment-rate, fed-funds-rate, nonfarm-payrolls, jobless-claims, labor-force-participation, real-gdp, gdp-growth, 10y-treasury, 2y-treasury, 3m-treasury, 30y-mortgage, consumer-sentiment, housing-starts, retail-sales, industrial-production, m2, personal-saving-rate."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-us-macroeconomic-indicators-1b5bf5b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
