Pushbuild

US Treasury Yield Curve Rates

Official daily US Treasury interest rates: par yield curve (1M to 30Y, back to 1990) with 2s10s, 3m10y and 5s30s spreads, real (TIPS) yield curve, T-bill discount and coupon-equivalent rates, and long-term composite rates. Wide or long format.

$0.16 per 1,000 rows

Get an API key

What it returns

Official daily interest rate data from the U.S. Department of the Treasury.

Request

POST https://api.pushbuild.com/us-treasury-yield-curve/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
datasetstring: parYieldCurve, realYieldCurve, billRates, longTermRates, realLongTermRateWhich Treasury daily rate table to return. Default: "parYieldCurve".
dateFromstringYYYY-MM-DD. Defaults to 30 days before dateTo.
dateTostringYYYY-MM-DD. Defaults to today.
latestOnlybooleanOnly the most recent published business day. Default: false.
tenorslist of stringsOnly these tenors, e.g. 3M, 2Y, 10Y, 30Y (bill rates: 13W_discount, 13W_coupon). Empty = all.
formatstring: wide, longRow layout. Default: "wide".
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/us-treasury-yield-curve/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.