80trust / 100
Yield Curve
by Treasury Yield Curve Signal in Markets & finance
x402 APIPassing, checked 2 h ago
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.
GET https://www.x402financialdata.com/yield-curve
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 154 ms typical, 154 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://www.x402financialdata.com/yield-curve"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.x402financialdata.com%2Fyield-curve
const res = await pay("https://www.x402financialdata.com/yield-curve");
console.log(await res.json());Example output
{
"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
}
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 188 ms | $0.01 |
| 7 h ago | Passed | 402 | 154 ms | $0.01 |