# GoCreative Treasury Data API

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

Fetches US Treasury data (yields, rates, or other treasury metrics) for a given argument via pay-per-call

## Facts

- Endpoint: GET https://api.gocreativeai.com/v1/finance/treasury/%7Barg%7D
- Price: $0.02/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-data-api-f3b391d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a-iu9zVPYmmWH02L3gcMO

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-data-api-f3b391d4
```

Example prompt: What is the current 10-year US Treasury yield? Pull it from GoCreative's treasury data endpoint.

## When to prefer this

Use this endpoint when you need official US Treasury data — such as yield curve rates, T-bill rates, or bond data — sourced from authoritative government sources, and want pay-per-call access with no API key or signup required. Prefer over manual scraping or subscription-based financial APIs when cost per call matters and you need on-demand access.

## Known failure modes

- Invalid or unrecognized treasury argument returns an error or empty result
- Missing required 'input' query parameter returns a 400 or validation error
- Payment failure (insufficient USDC) results in 402 Payment Required
- Network timeout or upstream treasury data source unavailable returns 5xx
- Malformed path parameter returns 404

## How this service works

483,000+ pay-per-call data APIs and free tools built on official sources — finance, company &amp; government data, FRED, Census, crypto, calculators. USDC on Base via x402, native MCP. No API key, no signup.

## Output

Returns US Treasury data corresponding to the queried argument — likely yield rates, bond data, or treasury curve metrics sourced from official US Treasury data. Response is structured financial data for the requested treasury instrument or time period.

## 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-data-api-f3b391d4/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)
