Skip to main content
POST /v1/data/treasury/rates/run Pricing: $0.0015 per rate ($1.50 per 1,000).

Request

Send the inputs under params. Only the keys below are accepted; any other key returns 422 invalid_params.
string
required
Series to use.Allowed values: parYield (parYield , Daily par yield curve 1M…30Y (+ spreads, inversion)), realYield (realYield , Daily real (TIPS) yield curve 5Y…30Y), billRates (billRates , Daily T-bill rates 4-52 weeks (bank discount + coupon equivalent, CUSIP, maturity)), longTermRates (longTermRates , Daily long-term rates (20Y CMT, average over 10Y, real rate)), realLongTerm (realLongTerm , Daily real long-term rate average), avgInterestRates (avgInterestRates , Monthly average interest rate on outstanding Treasury debt by security type (Fiscal Data)), debtToPenny (debtToPenny , Daily total public debt outstanding (Fiscal Data)).
date
Start Date as a date (YYYY-MM-DD).
date
default:"today"
End Date as a date (YYYY-MM-DD).
integer
default:"100"
How many rates to return in total. Defaults to 100; use 0 for all.

Example

Response fields

Each row in data is one rate, keyed by these fields.

Example response

Abridged: long text and lists are shortened.