Sahm Rule recession indicator

$0.005 per call · USDC via x402 · GET /api/sahm-rule

Real-time Sahm Rule recession indicator from FRED (SAHMREALTIME series). Send GET /api/sahm-rule with no input and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with date, value, triggered, threshold and source.

The Sahm Rule triggers when the 3-month moving average of US unemployment rises ≥0.50 percentage points above its prior-12-month low - historically a clean recession signal. No params.

Category: Live public data · Tags: sahm-rule recession unemployment macro fred indicator signal

TRY IN PLAYGROUND →

Parameters

Sahm Rule recession indicator takes no parameters.

Example request

curl -i "https://agent402.tools/api/sahm-rule"

Without payment this returns HTTP 402 Payment Required with the exact price for sahm-rule; any x402 v2 or MPP client pays it and retries.

Example response

{
  "date": "2026-05-01",
  "value": 0.43,
  "triggered": false,
  "threshold": 0.5,
  "source": "FRED SAHMREALTIME"
}
FieldTypeAlways presentIn the example
datestringyes2026-05-01
valuenumberyes0.43
triggeredbooleanyesfalse
thresholdnumberyes0.5
sourcestringyesFRED SAHMREALTIME

From an MCP client

catalog.call {
  "slug": "sahm-rule",
  "params": {}
}

The hosted connector at https://agent402.tools/mcp needs a payment for sahm-rule; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/sahm-rule");

Part of these workflows

Sahm Rule recession indicator is one step in these 4 skill packs, each sold as a single call:

Related tools

FRED time series

$0.005 · GET /api/fred-series

Fetch any of FRED's ~800,000 economic time series by series ID - GDP (GDPC1), CPI (CPIAUCSL), unemployment (UNRATE), fed…

US unemployment rate (UNRATE)

$0.005 · GET /api/unemployment-rate

Latest US unemployment rate (current, as of date) plus a trailing N-month history of {date, value} for trend, seasonally…

US CPI year-over-year inflation

$0.005 · GET /api/cpi-yoy

Latest US Consumer Price Index year-over-year inflation rate (headline CPI-U) plus the trailing 12 months of YoY reading…

Effective federal funds rate

$0.005 · GET /api/fed-funds

Current effective federal funds rate (current, as of date, in percent) plus a trailing N-day history of {date, value}. S…

FRED economic release calendar

$0.005 · GET /api/fred-release-calendar

Upcoming and very-recent US economic data release dates - CPI, employment, GDP, FOMC minutes, Treasury auctions, etc. Us…

FRED bulk release observations (v2)

$0.005 · GET /api/fred-release-observations

Bulk-fetch observations for every series in a FRED release in one call. Use it to grab an entire economic report (jobs r…