ssh.autos

Catalog / Markets & finance

MARKETS & FINANCE · UNITED STATES

US Treasury Yield Curve: Real Yields & Inversions

Monitor US Treasury nominal and TIPS real yields across years.

PER CALL · X402 / MPP From $0.01 per call 1 endpoint at api.ssh.autos. Pay in USDC, no account. See the endpoint
APIFY STORE Public actor Run it with your Apify account: bulk runs, schedules and exports. Open on Apify

About this data

Monitor US Treasury nominal and TIPS real yields across years. Calculate approximate breakeven inflation, curve inversions, inversion duration, tenor changes and threshold alerts.

From the actor’s Apify Store listing. The per-call endpoint may return a bounded subset; its own description is below.

Buy per call over x402

One endpoint at api.ssh.autos. Each call is one JSON POST, paid in USDC with no account or API key, and answered in the same HTTP response.

POST /v1/us/treasury/yield-curve

Read one annual Treasury CSV and return up to ten latest trading-day curves for selected maturities, with the 2s10s spread and latest-versus-seven-days-ago comparison in the summary.

PRICE$0.01 per call, in USDC
RESULTUp to 10 per call
PAYMENTx402 or MPP · no account

Real-yield enrichment and notifications are disabled.

Published gaps remain null.

Input

Send a JSON body to POST https://api.ssh.autos/v1/us/treasury/yield-curve.

FieldTypeRequiredNotes
yearintegeroptionalat least 1990
maturitiesarray of stringsoptionalup to 13 items
maxResultsintegeroptional1–10; default 5

Returned fields

The answer is JSON: records, a list of up to 10, and summary, the run status and counts. Each record has these 28 fields; a field the source does not publish comes back null.

28 fields per record
FieldTypeNotes
recordKeystring—
sourcestringalways treasury.gov
kindstringalways yield_curve
datestringTrading day, ISO YYYY-MM-DD.
yield1Monumber—
yield2Monumber—
yield3Monumber—
yield4Monumber—
yield6Monumber—
yield1Yrnumber—
yield2Yrnumber—
yield3Yrnumber—
yield5Yrnumber—
yield7Yrnumber—
yield10Yrnumber—
yield20Yrnumber—
yield30Yrnumber—
spread2s10snumber10 Yr − 2 Yr in percentage points (negative = inverted curve); null whenever either leg is unpublished that day — never a guess.
sourceUrlstring—
collectedAtstring—
realYieldsobject—
breakevenApproximationobject—
realStatusstring—
realSourceUrlstring—
spread3m10ynumber—
inversionsobject—
changesobject—
alertsarray—

Example call

TERMINAL · $0.01 PER RUN
npx agentcash@latest fetch https://api.ssh.autos/v1/us/treasury/yield-curve -m POST -b '{"year": 2026, "maxResults": 3}'

The example values come from the API spec or the actor’s own sample input. Running it is a paid call.

What is and isn’t charged

Free

  • Invalid input (422), busy (503), source failure (502), timeout (504) and calls whose client hung up are never charged.
  • Invalid input and source failures are not charged.

Prefer a subscription? Run it on Apify

This data source is a public actor on the Apify Store: US Treasury Yield Curve: Real Yields & Inversions. Run it with your Apify account and plan for larger, scheduled or exported runs; it may offer more input options than the per-call endpoint.

Open on Apify

How x402 payment works

  1. Your client sends the request. The API answers 402 Payment Required with the price and where to pay.
  2. The client pays from its own wallet: USDC on Base or Solana over x402, or over MPP on Tempo. No account, sign-up or API key.
  3. The client retries with the payment attached and gets the JSON answer in the same call. You are only charged for answers.

The AgentCash CLI in the example does all three steps for you and pays from your AgentCash wallet. Any x402 or MPP client works the same way.

Machine-readable: openapi.json · llms.txt

Some links to Apify are affiliate links. We may earn a commission if you sign up and become a paying customer.