# US Treasury Yield Curve (Latest Daily)

> US Treasury Yield Curve (Latest Daily) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Returns the latest US Treasury daily constant-maturity yields across 11 maturities (1mo to 30y) as clean JSON, sourced from FRED DGS series.

## Facts

- Endpoint: GET https://agent402.tools/api/treasury-yield-curve
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-yield-curve-latest-daily-9188b115
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0jZvYhZZdTCAB5NSe-wtY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-treasury-yield-curve-latest-daily-9188b115
```

Example prompt: What are the latest US Treasury constant-maturity yields across all maturities — the full yield curve from 1-month to 30-year?

## When to prefer this

Use this endpoint when you need the full current US Treasury yield curve in a single call with no API key, no parameters, and no setup. Ideal for financial agents that need risk-free rate benchmarks, yield spread calculations, or macroeconomic snapshots. Prefer over direct FRED API calls when you want a zero-config, always-current, clean JSON response without managing API credentials.

## Known failure modes

- FRED data not yet published for current business day — returns most recently available prior date
- Non-trading days (weekends/holidays) return last available trading day data
- Service unavailable or x402 payment failure returns HTTP 402 or 5xx

## How this service works

Latest US Treasury daily constant-maturity yields (1mo, 3mo, 6mo, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y) as clean JSON. Source: FRED DGS* series (St. Louis Fed), public domain, no key. No params - always returns the most recent published curve.

## Output

A JSON object containing the most recently published US Treasury daily constant-maturity yields for 11 maturities: 1mo, 3mo, 6mo, 1y, 2y, 3y, 5y, 7y, 10y, 20y, and 30y, along with the date of the data point, sourced from FRED DGS series.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mo1": 5.42,
  "mo3": 5.39,
  "yr1": 4.91,
  "yr2": 4.78,
  "yr5": 4.45,
  "yr10": 4.51,
  "yr30": 4.68,
  "recordDate": "2026-06-12"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-yield-curve-latest-daily-9188b115/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
