# US Treasury Par Yield Curve Rates

> US Treasury Par Yield Curve Rates is a paid API for AI agents from opendata402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Returns daily US Treasury par yield curve rates (1-month to 30-year) for the latest business days of the current month.

## Facts

- Endpoint: GET https://opendata402.com/v1/treasury/yields?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-treasury-par-yield-curve-rates-b70a92e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VgFLkeMI4goiLv4y9rXfe

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-par-yield-curve-rates-b70a92e1
```

Example prompt: What are the current US Treasury par yield curve rates for the last 5 business days — I need the full curve from 1-month to 30-year for a discounted cash flow analysis?

## When to prefer this

Choose this endpoint when you need official US government Treasury par yield curve data for interest rate context, risk-free rate benchmarks, bond pricing, or macro analysis. It sources directly from the US Department of the Treasury (public domain), making it authoritative for any application requiring official rates. Prefer it over scraped or third-party rate aggregators when data provenance matters. Best for current-month, recent-business-day lookups rather than deep historical series.

## Known failure modes

- days parameter out of range (must be 1–23) returns a validation error
- no data available for the current month yet (e.g. first day of month before any business day closes)
- upstream Treasury data source unavailable causes a 5xx or empty response
- invalid query parameter format returns a 400 error

## How this service works

Daily US Treasury par yield curve rates from the US Department of the Treasury: 1-month to 30-year yields for the latest business days of the current month. Use it for interest rate context, discounting, bond and macro analysis. US public domain.

## Output

Returns a JSON array of daily Treasury par yield curve snapshots for the requested number of latest business days in the current month. Each record includes the date and par yields for standard maturities: 1-month, 2-month, 3-month, 4-month, 6-month, 1-year, 2-year, 3-year, 5-year, 7-year, 10-year, 20-year, and 30-year.

## Request schema (JSON Schema)

```json
{
 "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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "days": {
       "type": "string",
       "pattern": "^([1-9]|1[0-9]|2[0-3])$",
       "description": "Number of latest business days (default 1)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-treasury-par-yield-curve-rates-b70a92e1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opendata402.com](https://www.zero.xyz/host/opendata402.com/llms.txt)
