# US Treasury yield curve

GET https://horizonpulse.dev/api/treasury/yield-curve

- Price: $0.01 per call. The exact amount is in the 402.
- Pay with: USDC on Base, USDC on Polygon
- Family: Rates and economy (/catalog/rates-economy.md)

## What it returns
US Treasury daily par yield curve, 1-month to 30-year, plus 2s10s and 3-month/10-year spreads. Optional date=YYYY-MM-DD (default: latest day). Data credit: U.S. Department of the Treasury; not affiliated with or endorsed by the Treasury. Up to 30 minutes old. Informational only, no warranty; not advice. Bad input is refused before payment, not charged. If no curve exists for the date, it is refused and not charged; if any tenor returns data, the full price is charged. USDC on Base or Polygon. On USDC on Base, errors are not charged, apart from the exceptions noted on a route. On USDC on Solana, and RLUSD on the XRP Ledger, a refused or failed request may still be charged. On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.
- On Polygon (native USDC), a request is settled only when it succeeds (HTTP status below 400). Failed requests are not charged.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/treasury/yield-curve
- Setup: /setup.md
