{"uid":"cap_HGYxHbYmyvt0U5dfPXuBv","slug":"2s-recession-indicators-api-dc0a83c8","name":"2s Recession Indicators API","description":"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.","url":"https://2s.io/api/econ/recession?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":{"request":{"properties":"sahm_rule,yield_curve_spread,ny_fed_probability"},"response":{"data":{"ok":true,"items":[{"sahmRule":{"asOf":"2026-05-01","note":"Sahm rule real-time; ≥0.50 signals a recession has begun.","value":0.1,"triggered":false},"yieldCurve":{"asOf":"2026-06-17","note":"10Y–2Y Treasury spread; negative (inverted) is a classic recession precursor.","inverted":false,"spread10y2yPct":0.29},"signalsTriggered":0,"recessionProbability":{"asOf":"2026-04-01","note":"NY Fed model: probability of recession 12 months ahead (%).","value":0.44}}],"total":1,"source":{"url":"https://fred.stlouisfed.org/","license":"FRED® data; many series are public domain (US govt). Attribution to FRED required for redistribution.","provider":"Federal Reserve Bank of St. Louis — FRED"}},"meta":{"cost":{"usd":0.00144,"tier":0},"caller":"x402","version":null,"endpoint":"econ.recession","settlement":{"txHash":"0x3d965ae68503ee15fe320355417cce6685234d331dad5e22d92b482f3a701691","network":"eip155:8453","success":true}}}},"exampleRequest":{"properties":"sahm_rule,yield_curve_spread,ny_fed_probability"},"tags":["x402"],"displayCostAmount":"0.00144","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.00144/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bd6yIf7e7LsdNseahGTkI","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current US recession signals including the Sahm Rule value, yield curve spread, and NY Fed recession probability model","exampleAgentPrompt":"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?","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:44:15.417Z","isFirstParty":false,"canonicalSlug":"2s-recession-indicators-api-dc0a83c8"}