Skip to content
Fourohtwo

horizonpulse.dev/api/treasury/yield-curve

US Treasury daily par yield curve, 1-month to 30-year, plus 2s10s and 3-month/10-year spreads. Optional date=YYYY-MM-DD (default: latest day). Data credit: U.S. Department of the Treasury; not affiliated with or endorsed by the Treasury. Up to 30 minutes old. Informational only, no warranty; not advice. Bad input is refused before payment, not charged. If no curve exists for the date, it is refuse

BasePolygonAnswering
GEThttps://horizonpulse.dev/api/treasury/yield-curve

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://horizonpulse.dev/api/treasury/yield-curve");
console.log(await res.json());

Example input

{}

More from US Treasury yield curve