US Treasury yield curve in one call: 1mo/3mo/6mo/1yr/2yr/5yr/10yr/30yr yields, the 10y-2y
US Treasury yield curve in one call: 1mo/3mo/6mo/1yr/2yr/5yr/10yr/30yr yields, the 10y-2y and 10y-3mo spreads, and a boolean inversion flag on each -- a classic recession/risk-off signal every macro trader watches. Live from FRED's daily constant-maturity Treasury series. Not ticker-specific. $0.01/call.
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-29
updated
Provider
x402-stock-indicators.vercel.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe4181c7de066959bcca010525304ba68a84768e0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "FTwh34f9yBgdD2ydjQUqHnZGRtQsHMHaRm8w2hpcB79L",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"type": "http"
},
"output": {
"example": {
"as_of": "2026-07-23",
"curve": {
"10yr": 4.71,
"1mo": 3.82,
"1yr": 4.15,
"2yr": 4.37,
"30yr": 5.17,
"3mo": 3.95,
"5yr": 4.46,
"6mo": 4.09
},
"curve_dates": {
"10yr": "2026-07-23",
"1mo": "2026-07-23",
"1yr": "2026-07-23",
"2yr": "2026-07-23",
"30yr": "2026-07-23",
"3mo": "2026-07-23",
"5yr": "2026-07-23",
"6mo": "2026-07-23"
},
"failed_maturities": [],
"inverted": {
"10y_2y": false,
"10y_3mo": false
},
"spreads": {
"10y_minus_2y_pct": 0.34,
"10y_minus_3mo_pct": 0.76
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"builder-code": {
"info": {
"a": "bc_vyd5u8m3"
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"a": {
"description": "App builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"s": {
"description": "Service builder codes",
"items": {
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
},
"type": "array"
},
"w": {
"description": "Wallet builder code",
"pattern": "^[a-z0-9_]{1,32}$",
"type": "string"
}
},
"type": "object"
}
}
}Use it
curl
curl "https://x402-stock-indicators.vercel.app/yield-curve" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-stock-indicators.vercel.app/yield-curve");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-stock-indicators.vercel.app/yield-curve")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6379.json, and this resource appears in /discovery/resources and /discovery/search.