Skip to content
Fourohtwo

Latest US Treasury daily constant-maturity yield curve in one object

agent402.tools/api/treasury-yield-curve

Latest US Treasury daily constant-maturity yield curve in one object: recordDate plus mo1, mo3, mo6, yr1, yr2, yr3, yr5, yr7, yr10, yr20 and yr30, each a yield in percent. Source: FRED DGS* series (St. Louis Fed), public domain. No params - always returns the most recent published curve, which trails today by a business day or two; for a date range use treasury-yield-history.

BasePolygonArbitrumMonadAvalancheSei+4Unchecked
GEThttps://agent402.tools/api/treasury-yield-curve

UptimeNot checked yet

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://agent402.tools/api/treasury-yield-curve");
console.log(await res.json());

Example input

{}

Price changes

  • Nov 25, 20260.001 → 0.005