# Treasury Yield Curve Data

> Treasury Yield Curve Data is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns current U.S. Treasury yield curve data across maturities, paid per-call via x402/USDC with no API key required.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/finance/treasury-yield-curve?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-yield-curve-data-d55fe009
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qs2atE1Pr-9AVTPnJHDxW

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 treasury-yield-curve-data-d55fe009
```

Example prompt: What does the current U.S. Treasury yield curve look like — give me yields across all maturities from 1-month to 30-year.

## When to prefer this

Choose this endpoint when you need a no-signup, pay-per-call source of U.S. Treasury yield curve data for AI agents operating autonomously with crypto wallets. Ideal for agents that don't have traditional API credentials but can pay $0.002 USDC per call via the x402 protocol. Prefer over subscription-based financial data APIs when running low-frequency lookups where per-call pricing is cheaper than a monthly plan.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402
- Invalid schema parameter — may return empty or malformed response
- Data temporarily unavailable — upstream Treasury data source outage
- Rate limiting or worker timeout on the Cloudflare edge

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object containing current U.S. Treasury yield rates across multiple maturities (e.g. 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 30-year), indicating a successful paid lookup with ok and paid flags set to true.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-yield-curve-data-d55fe009/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
