# Foundry Treasury Yields

> Foundry Treasury Yields is a paid API for AI agents from minty-sprout.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-01).

Returns the latest daily US Treasury par yield curve rates from 1-month to 30-year maturities, plus the 10y-2y spread

## Facts

- Endpoint: POST https://minty-sprout.onrender.com/v1/treasury-yields?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/foundry-treasury-yields-268511a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KswCYts2dm8JpWnY5THcY

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 foundry-treasury-yields-268511a5 -d '<json body>'
```

Example prompt: What are today's US Treasury yields across the full curve — from 1-month to 30-year — and what's the current 10y-2y spread?

## When to prefer this

Use this endpoint when you need a quick, structured snapshot of the entire US Treasury par yield curve and the 10y-2y spread without needing to scrape the Treasury website directly. It is ideal for agents performing macro analysis, portfolio monitoring, or financial reporting where real-time government bond rates are needed in a machine-readable format.

## Known failure modes

- Stale data if Treasury has not published a new curve for the day (e.g. market holiday)
- Service unavailable if the Render.com host is cold-starting or down
- Upstream Treasury data source unavailable or delayed
- Input validation error if request body is malformed

## How this service works

US Treasury yields: the latest daily par yield curve from 1 month to 30 years, with the 10y-2y spread (U.S. Treasury, public domain). Input: any text.

## Output

Returns a JSON object with the date of the yield curve, all Treasury par yields in percent across maturities (1m, 3m, 6m, 1y, 2y, 5y, 10y, 20y, 30y), the 10y-2y spread in percent, and the source attribution from the U.S. Department of the Treasury.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 8000,
   "description": "Any text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-30",
  "source": "U.S. Department of the Treasury daily par yield curve (public domain)",
  "spread_10y_2y": 0.38,
  "yields_percent": {
   "1m": 4.06,
   "1y": 4.36,
   "2y": 4.56,
   "3m": 4.16,
   "5y": 4.71,
   "6m": 4.25,
   "10y": 4.94,
   "20y": 5.34,
   "30y": 5.31
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/foundry-treasury-yields-268511a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minty-sprout.onrender.com](https://www.zero.xyz/host/minty-sprout.onrender.com/llms.txt)
