{"uid":"cap_aFTW6Ci_bozKwimyDKG7Y","slug":"us-treasury-yield-curve-with-10y-2y-spread-and-inversion-flag-6c1d8098","name":"US Treasury Yield Curve with 10y-2y Spread and Inversion Flag","description":"US Treasury yield curve (1m-30y) with 10y-2y spread and inversion flag — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/records/treasury-yields?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"treasury-yields","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.003,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1lDzLtj6U0GAbAtZr2tsg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current US Treasury yield curve (1-month to 30-year maturities), the 10y-2y spread, and a boolean inversion flag indicating recession signal.","exampleAgentPrompt":"Pull the current US Treasury yield curve across all maturities — 1-month through 30-year — and tell me the 10y-2y spread and whether the curve is currently inverted.","exampleUseCases":[{"title":"Recession signal monitoring for macro dashboard","prompt":"Check the Treasury yield curve right now and tell me if it's inverted — I want to know the 10y-2y spread and whether it's flashing a recession warning."},{"title":"Fixed income portfolio context briefing","prompt":"What do current Treasury yields look like across the full curve, from 1-month bills to 30-year bonds? I need the full picture before reviewing our bond allocation."},{"title":"Daily macro briefing for investment newsletter","prompt":"Give me today's US Treasury yield curve snapshot including every maturity from 1-month to 30-year, the 10y-2y spread, and whether the curve is inverted — I'm writing the morning macro summary."}],"resultDescription":"A structured response containing US Treasury yields for all standard maturities (1m, 3m, 6m, 1y, 2y, 5y, 10y, 30y), the computed 10-year minus 2-year spread in basis points or percentage, and a boolean inversion flag indicating whether the spread is negative (a classic recession signal).","failureModes":["Upstream Treasury data source unavailable — may return stale or empty data","Network timeout if Treasury data feed is slow","Payment failure if x402 USDC balance is insufficient","No input params required but malformed POST body may cause a 400 error"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive snapshot of the full US Treasury yield curve in a single call, especially when you also need the 10y-2y spread and inversion flag computed for you. Prefer this over manually querying individual bond yields or scraping the Treasury website. Ideal for macro monitoring agents, daily briefings, or any workflow where yield curve shape and recession signal detection are needed together.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:48:05.345Z","isFirstParty":false,"canonicalSlug":"us-treasury-yield-curve-with-10y-2y-spread-and-inversion-flag-6c1d8098"}