# Treasury Yield Curve

> Treasury Yield Curve is a paid API for AI agents from api.marketintelligenceapi.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Returns the full US Treasury yield curve with par and real yields, key spreads, inversion flags, breakeven inflation, SOFR, EFFR, and euro STR from official sources.

## Facts

- Endpoint: GET https://api.marketintelligenceapi.com/api/v1/rates/treasury-yield-curve?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/treasury-yield-curve-272b998a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dXZAJxjOBvah7geVeITif

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-yield-curve-272b998a
```

Example prompt: What does the US Treasury yield curve look like right now — give me all the key rates from 1 month to 30 years, the 2s10s and 3m10y spreads, and tell me if it's inverted.

## When to prefer this

Choose this endpoint when you need a comprehensive, single-call snapshot of the entire US Treasury yield curve including spreads, inversion status, breakeven inflation, and key short-term benchmark rates (SOFR/EFFR/euro STR) sourced directly from official government and central bank data. Prefer it over general financial data APIs when you need the curated set of macro rate indicators that matter to fixed income and macro analysts, without having to stitch together multiple data sources.

## Known failure modes

- Official Treasury/Fed data source temporarily unavailable — upstream data may be delayed on weekends or holidays
- Rate limiting if called too frequently — returns 429
- Invalid payment or insufficient USDC balance — returns 402 Payment Required
- Network timeout on the provider's upstream data feed

## How this service works

Treasury yield curve ($0.01): US Treasury yields from 1 month to 30 years, par and real (TIPS), daily changes, 2s10s, 3m10y and 5s30s spreads with inversion flags, 10-year breakeven inflation, SOFR, EFFR and euro STR. Official Treasury and Fed data.

## Output

A JSON object containing US Treasury par yields and real (TIPS) yields from 1 month to 30 years, daily changes for each tenor, key spread values (2s10s, 3m10y, 5s30s) with boolean inversion flags, 10-year breakeven inflation rate, SOFR, EFFR, and euro STR — all sourced from official US Treasury and Federal Reserve data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "description": "Example JSON response returned by this endpoint"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/treasury-yield-curve-272b998a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.marketintelligenceapi.com](https://www.zero.xyz/host/api.marketintelligenceapi.com/llms.txt)
