# Financial Data x402 – Yield Curve

> Financial Data x402 – Yield Curve is a paid API for AI agents from x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current US Treasury yield curve across maturities (1mo to 30yr), with key spreads and inversion status, pay-per-call via x402.

## Facts

- Endpoint: GET https://x402financialdata.com/yield-curve
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-yield-curve-5dbdce00
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7bhwABvQpLo9GJ-yaes4Z

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 financial-data-x402-yield-curve-5dbdce00
```

Example prompt: Pull up today's US Treasury yield curve — I want to see the full set of rates from 1-month to 30-year and whether the 10y-2y or 10y-3mo spread is currently inverted.

## When to prefer this

Choose this endpoint when you need live, point-in-time US Treasury yield curve data including inversion signals, without a subscription or API key. Ideal for AI agents making pay-per-call macro lookups via the x402 protocol using USDC on Base or Solana. Prefer over Bloomberg/Refinitiv integrations when low-cost, frictionless access to yield curve snapshots is needed for automated workflows.

## Known failure modes

- Stale or missing data for one or more maturities — listed in failed_maturities array
- Payment not processed — x402 micropayment rejected or insufficient USDC balance
- Treasury data source temporarily unavailable — may return partial curve
- Network timeout — endpoint unreachable

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

A JSON object containing: the as-of date, yield rates for 8 standard Treasury maturities (1mo, 3mo, 6mo, 1yr, 2yr, 5yr, 10yr, 30yr), the 10y-2y and 10y-3mo spread in percentage points, boolean inversion flags for each spread pair, per-maturity data dates, and a list of any maturities that failed to fetch.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "as_of": "2026-07-23",
  "curve": {
   "1mo": 3.82,
   "1yr": 4.15,
   "2yr": 4.37,
   "3mo": 3.95,
   "5yr": 4.46,
   "6mo": 4.09,
   "10yr": 4.71,
   "30yr": 5.17
  },
  "spreads": {
   "10y_minus_2y_pct": 0.34,
   "10y_minus_3mo_pct": 0.76
  },
  "inverted": {
   "10y_2y": false,
   "10y_3mo": false
  },
  "curve_dates": {
   "1mo": "2026-07-23",
   "1yr": "2026-07-23",
   "2yr": "2026-07-23",
   "3mo": "2026-07-23",
   "5yr": "2026-07-23",
   "6mo": "2026-07-23",
   "10yr": "2026-07-23",
   "30yr": "2026-07-23"
  },
  "failed_maturities": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-yield-curve-5dbdce00/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402financialdata.com](https://www.zero.xyz/host/x402financialdata.com/llms.txt)
