# AgentFund US Treasury Yield Curve

> AgentFund US Treasury Yield Curve is a paid API for AI agents from x402.agentfund.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Returns recent US Treasury yield curve data across maturities for up to 30 business days

## Facts

- Endpoint: POST https://x402.agentfund.net/x402/treasury_yield_curve
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentfund-us-treasury-yield-curve-cb017b8c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IgUrONBPN5KPJUlfKfsR9

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 agentfund-us-treasury-yield-curve-cb017b8c -d '<json body>'
```

Example prompt: Pull the US Treasury yield curve data for the last 5 business days so I can see how rates have shifted across maturities.

## When to prefer this

Choose this endpoint when you need structured, machine-readable US Treasury yield curve data for macro analysis, fixed income modeling, or monitoring interest rate conditions. Particularly useful for agents tracking yield curve inversion signals or building economic dashboards. Part of a broader suite of US economic data endpoints on the same provider, making it easy to combine with CPI, PCE, or jobs data.

## Known failure modes

- days parameter out of range (must be 1-30) returns validation error
- payment failure (402) if USDC balance insufficient
- upstream Treasury data unavailable or delayed during market holidays
- malformed request body returns 400 error

## How this service works

US Treasury Yield Curve

## Output

Returns US Treasury yield curve data for the requested number of recent business days, including yield rates across standard maturity tenors (e.g. 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 30-year). Each record is timestamped by business date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "days": {
   "type": "number",
   "description": "Recent business days to return (1-30, default 1)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-08-14",
  "latest": {
   "date": "2026-08-14",
   "tenors": {
    "2Y": 4.17,
    "3M": 3.86,
    "10Y": 4.68,
    "30Y": 5.25
   },
   "inverted": false,
   "spread2s10s": 0.51,
   "spread3m10y": 0.82
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentfund-us-treasury-yield-curve-cb017b8c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentfund.net](https://www.zero.xyz/host/x402.agentfund.net/llms.txt)
