StationFX
Spread between 10-year and 2-year Treasury yields. The most widely watched yield curve indicator — inversion has preceded every U.S. recession since 1955 with a 6-18 month lead. Positive = normal curve, negative = inverted (recession warning). Pre-computed daily from DGS10 and DGS2.
- Price per call
- $0.008
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 9
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://stationfx.com/economic-data/cross-signal/10y-2y-treasury-spread-yield-curve", { method: "GET" });
console.log(await res.json());https://stationfx.com/economic-data/cross-signal/10y-2y-treasury-spread-yield-curve