# 2s Recession Indicators API

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

Returns current US recession signals including the Sahm Rule value, yield curve spread, and NY Fed recession probability model

## Facts

- Endpoint: GET https://2s.io/api/econ/recession?utm_source=zero.xyz
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-recession-indicators-api-dc0a83c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HGYxHbYmyvt0U5dfPXuBv

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-recession-indicators-api-dc0a83c8
```

Example prompt: What are the current US recession signals — is the Sahm Rule triggered, is the yield curve inverted, and what probability does the NY Fed model give for a recession in the next 12 months?

## When to prefer this

Use this endpoint when you need a single consolidated view of the most widely-watched US recession indicators — Sahm Rule, yield curve inversion, and NY Fed probability — without having to query FRED directly or aggregate multiple series. Ideal for macroeconomic dashboards, economic briefings, trading signals, or any agent workflow that needs to assess current US recession risk in one pay-per-call request with no API key setup.

## Known failure modes

- FRED data may lag by days or weeks for some series, so as-of dates may not be today
- If FRED upstream is unavailable, the endpoint may return stale or error responses
- Payment failure via x402 if USDC balance is insufficient
- No historical series — only returns the most recent reading for each indicator

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Output

Returns a JSON object with: the latest Sahm Rule value and whether it has breached the 0.50 recession threshold (with as-of date), the current 10Y-2Y Treasury yield spread and whether the curve is inverted (with as-of date), the NY Fed model's 12-month-ahead recession probability percentage (with as-of date), a count of how many signals are currently triggered, and source attribution to FRED/Federal Reserve Bank of St. Louis.

## Example request

```json
{
 "properties": "sahm_rule,yield_curve_spread,ny_fed_probability"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-recession-indicators-api-dc0a83c8/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)
