{"uid":"cap_uU7GG4vp65VlaLIYYVHRa","slug":"us-treasury-yields-and-cpi-2c01efab","name":"US Treasury Yields and CPI","description":"US Treasury yields and inflation data: daily Treasury par yield curve (1-month to 30-year) plus BLS CPI, core CPI, unemployment rate and nonfarm payrolls for the last 13 months with year-over-year change. Use when a finance agent needs current US interest rates, inflation or jobs data. Sources: US Treasury, BLS (public). Signed receipt.","url":"https://api.stablecoingateways.com/v1/us/rates-macro?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","properties":{"series":{"type":"string","description":"Comma list of treasury,cpi,core_cpi,unemployment,payrolls; default all"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["data","receipt"],"properties":{"data":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"cpi":{"type":"object","properties":{"series_id":{"type":"string"},"observations":{"type":"array","items":{"type":"object"}}}},"series":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"string"}},"provenance":{"type":"object","description":"Additive evidence block (sg-provenance/1): per-fact source, retrieval time, limits; no score or verdict. Full schema in OpenAPI."},"treasury_par_yield_curve":{"type":"object","properties":{"latest":{"type":"object"},"recent":{"type":"array","items":{"type":"object"}},"one_week_earlier":{"type":"object"}}},"retrieved_from_cache_as_of":{"type":"object","properties":{"bls":{"type":"string"},"treasury":{"type":"string"}}}},"description":"US Treasury par yield curve and BLS CPI, core CPI, unemployment and payrolls series"},"receipt":{"type":"object","required":["v","endpoint_id","ts","price","tx_hash","request_hash","response_hash","log_seq","sig"],"properties":{"evidence":{"type":"object","description":"Signed evidence (see llms.txt)"}},"description":"Ed25519-signed receipt; verify free at POST /v1/verify-receipt. New receipts also carry a signed `evidence` object."}}}}}}},"responseSchema":{"type":"json","example":{"data":{"cpi":{"series_id":"CUUR0000SA0","observations":[{}]},"series":["treasury"],"sources":["U.S. Department of the Treasury, Daily Treasury Par Yield Curve Rates (public)"],"treasury_par_yield_curve":{"latest":{"date":"2026-10-21","par_yields_pct":{}},"recent":[{}],"one_week_earlier":{"date":"2026-10-14","par_yields_pct":{}}},"retrieved_from_cache_as_of":{"bls":"2026-09","treasury":"2026-10-21"}},"receipt":{"v":1,"ts":"2026-10-22T09:00:00Z","sig":"hex","price":{"asset":"USDC","amount":"2000","network":"eip155:84532"},"log_seq":1,"tx_hash":"0x..","endpoint_id":"us-rates-macro-v1","request_hash":"hex","response_hash":"hex"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xaqedKEVwzhMNx1OJGMYa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the US Treasury par yield curve (1-month to 30-year) plus BLS inflation and labor market indicators for the last 13 months with year-over-year changes","exampleAgentPrompt":"Can you pull the latest US Treasury yield curve and BLS inflation data — I need the full par yield curve from 1-month to 30-year plus CPI, core CPI, unemployment, and payrolls for the last 13 months with year-over-year changes?","exampleUseCases":[{"title":"Live yield curve for bond strategy","prompt":"What does the US Treasury yield curve look like right now? Give me all maturities from 1-month to 30-year so I can assess whether the curve is inverted."},{"title":"Inflation dashboard for macro report","prompt":"I'm building a weekly macro summary — can you get me the latest BLS CPI, core CPI, and nonfarm payrolls data including year-over-year changes?"},{"title":"Rate environment check before loan pricing","prompt":"Before I finalize loan pricing, what are the current US benchmark interest rates and where does inflation stand right now according to BLS?"}],"resultDescription":"A JSON object containing the US Treasury par yield curve (latest date, one-week-earlier snapshot, and recent daily history), BLS series data (CPI, core CPI, unemployment rate, nonfarm payrolls) covering the last 13 months with year-over-year changes, cache timestamps for BLS and Treasury sources, and an Ed25519-signed receipt including endpoint ID, request and response hashes, USDC price paid, and transaction hash for verification.","failureModes":["Upstream BLS or Treasury data unavailable — response may return stale cached data with cache timestamps indicating age","Invalid series parameter value returns a 400 error","Payment not received or insufficient — 402 Payment Required returned before data is served","Treasury data delayed on non-business days or federal holidays — latest date may lag by one or more days"],"whenToPreferThis":"Choose this endpoint when a finance or macro agent needs authoritative, current US interest rate and inflation data in a single call with a cryptographically verifiable receipt. It is ideal over web scraping or manual lookups because it aggregates Treasury and BLS public data into a structured, signed response. Prefer it over general financial data APIs when you specifically need the official Treasury par yield curve alongside BLS CPI, core CPI, unemployment, and payrolls in one request with an audit trail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:37:03.938Z","isFirstParty":false,"canonicalSlug":"us-treasury-yields-and-cpi-2c01efab"}