# ScriptMasterLabs Treasury Yields API

> ScriptMasterLabs Treasury Yields API is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current US Treasury yield data (rates across maturities) via a pay-per-call x402 micropayment endpoint settled in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/treasury-yields
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-treasury-yields-api-7319cd68
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y-8_9SSuZnSnE933tbJLU

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 scriptmasterlabs-treasury-yields-api-7319cd68
```

Example prompt: Can you pull the latest US Treasury yields across all maturities — I need the current yield curve data for a fixed income analysis?

## When to prefer this

Choose this endpoint when you need pay-per-call, micropayment-settled Treasury yield data without a subscription, particularly in agentic or automated workflows that use the x402 USDC payment protocol on Base. It is appropriate when you want lightweight, on-demand access to US government bond yield data at $0.001 per call. Prefer alternatives (e.g. FRED API, TreasuryDirect) if you need guaranteed uptime, rich historical data, or free access without crypto payment infrastructure.

## Known failure modes

- 402 Payment Required — x402 payment header missing or insufficient USDC balance
- 503 Service Unavailable — endpoint hosted on Render free tier may cold-start or go offline
- Empty or stub response — response schema is minimal ({}) so actual field names are undocumented
- Rate or data staleness — unclear data freshness guarantees
- Malformed input schema — input schema appears to be a passthrough with no validated parameters

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns current US Treasury yield rates across standard maturities (e.g. 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 30-year), likely as a JSON object with maturity labels mapped to yield percentages. Payment is settled in USDC on Base via the x402 protocol.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-treasury-yields-api-7319cd68/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
