# GoCreative Treasury Rates API

> GoCreative Treasury Rates API is a paid API for AI agents from api.gocreativeai.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns current U.S. Treasury interest rates across maturities from official government sources, pay-per-call at $0.01 USDC.

## Facts

- Endpoint: GET https://api.gocreativeai.com/v1/data/treasury-rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gocreative-treasury-rates-api-8c8d548a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_USZy4NuGrn9K3K3G0kTtJ

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 gocreative-treasury-rates-api-8c8d548a
```

Example prompt: What are the current U.S. Treasury interest rates across all maturities — I need the full yield curve from T-bills through 30-year bonds?

## When to prefer this

Use this endpoint when you need authoritative, up-to-date U.S. Treasury interest rate data across multiple maturities for financial modeling, risk-free rate benchmarks, yield curve analysis, or macroeconomic research. Prefer this over general finance APIs when you specifically need official Treasury yields without requiring an API key or signup.

## Known failure modes

- Treasury data source temporarily unavailable — service may return 503 or empty data
- Payment not processed (insufficient USDC balance) — returns 402 Payment Required
- Data not yet published for today if queried early in the trading day
- Invalid format parameter returns default format or error

## How this service works

Keyless, pay-per-call compliance &amp; regulated-data API for AI agents — OFAC wallet + sanctions/PEP + KYB screening, SEC filings, FRED economics, FDA recalls, federal awards, plus continuous monitoring. USDC on Base/Solana via x402, native MCP. No API key, no signup.

## Output

A structured dataset of current U.S. Treasury yields across available maturities (e.g., 1-month, 3-month, 6-month, 1-year, 2-year, 5-year, 10-year, 20-year, 30-year), sourced from official Treasury data. Includes rate values and likely the reference date for the data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "endpoint argument"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gocreative-treasury-rates-api-8c8d548a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gocreativeai.com](https://www.zero.xyz/host/api.gocreativeai.com/llms.txt)
