# ScriptMasterLabs Treasury Yields API

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

Returns current U.S. Treasury yield data (rates across maturities) via a pay-per-call endpoint settled in USDC on Base using the x402 protocol.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/treasury-yields?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-treasury-yields-api-64c84fe7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rJex0YqjjjhCeKNoUo-mH

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-64c84fe7
```

Example prompt: Can you pull the current U.S. Treasury yields across all maturities — I need the latest rates for the 2-year, 5-year, 10-year, and 30-year bonds for my fixed income analysis?

## When to prefer this

Choose this endpoint when you need current U.S. Treasury yield data in a crypto-native, pay-per-call workflow using x402 and USDC on Base — especially when building agents that already handle x402 micropayments and need federal rate data without a subscription. Prefer alternatives (e.g. FRED API, Bloomberg) for higher reliability SLAs or when x402 payment infrastructure is not available.

## Known failure modes

- 402 Payment Required if x402 payment header is missing or insufficient
- Empty or minimal response due to undocumented schema
- Service downtime on Render free tier hosting causing 503 errors
- Stale or delayed data if upstream federal data source is unavailable
- Rate limiting or authentication errors if API keys are required but undocumented

## 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 U.S. Treasury yield rates, likely including yield percentages across various maturity terms (e.g. 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 30-year). Exact response schema is minimal per crawl data, so the agent should expect a JSON object with yield rate fields. Payment is deducted at $0.001 USDC per call via x402 on Base.

## 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-64c84fe7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
