← Back to Financial Datasets
GET/macro/yield-curve/snapshot
Treasury Yields (Snapshot)
The most recent business day US Treasury par yield curve as one object with one key per tenor. Refreshed each evening after the day final curve is published.
Financial Datasets·$0.025 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "financial-datasets",
path: "/macro/yield-curve/snapshot"
});
console.log(output);