# Treasury Rates Brief (LLM Digest)

> Treasury Rates Brief (LLM Digest) is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Returns an LLM-written narrative digest summarizing recent movement in average US Treasury securities interest rates over a configurable time window.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/treasury-rates/brief
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-rates-brief-llm-digest-0c522fcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8tcI6civ-PZgWCmESGtQP

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-rates-brief-llm-digest-0c522fcf
```

Example prompt: Give me a brief LLM-written digest of how US Treasury interest rates have moved over the past 30 days.

## When to prefer this

Use this endpoint when you need a human-readable, narrative summary of US Treasury rate trends rather than raw data points. Ideal for agents that need to communicate financial context to end users in plain English, or when summarizing macroeconomic conditions for a report or dashboard. Prefer this over raw FRED/Treasury data endpoints when the goal is interpretation rather than raw numbers.

## Known failure modes

- No data available for the requested window — returns empty or minimal brief
- Invalid 'since' date-time format — 400 Bad Request
- Payment not received or x402 payment header missing — 402 Payment Required
- Upstream Treasury rate data source unavailable — 503 or degraded response
- LLM generation failure — may fall back to template-based output

## How this service works

An LLM-written digest of recent movement in average interest rate on Treasury securities.

## Output

A JSON object containing: a 'brief' field with a natural-language LLM-written narrative summarizing recent Treasury rate movements, a 'generatedBy' field indicating whether it was produced by an LLM or template, and a 'basedOnChanges' integer showing how many data points the digest is based on.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Window start (default: last 30 days)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "brief": {
       "type": "string"
      },
      "generatedBy": {
       "enum": [
        "llm",
        "template"
       ],
       "type": "string"
      },
      "basedOnChanges": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-rates-brief-llm-digest-0c522fcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
