Treasury Yields
GET
/fed/vX/treasury-yields
This API endpoint is experimental.
Retrieve historical U.S. Treasury yield data for standard timeframes ranging from 1-month to 30-years, with daily historical records back to 1962. This endpoint lets you query by date or date range to see how interest rates have changed over time. Each data point reflects the market yield for Treasury securities of a specific maturity, helping users understand short- and long-term rate movements.
Use Cases: Charting rate trends, comparing short vs. long-term yields, economic research.
Query Parameters
date
string
Calendar date of the yield observation (YYYY‑MM‑DD).
order
enum (string)
Order results based on the `sort` field.
limit
integer
Limit the number of results returned, default is 100 and max is 50000.
sort
enum (string)
Sort field used for ordering.
Response Attributes
next_url
string
optional
URL for the next page of results, if applicable.
request_id
string
Unique identifier for this request.
results
array (object)
Records that match the given query.
date
string
optional
Calendar date of the yield observation (YYYY‑MM‑DD).
yield_10_year
number
optional
Market Yield on U.S. Treasury Securities at 10‑Year Constant Maturity, Quoted on an Investment Basis
yield_1_month
number
optional
Market Yield on U.S. Treasury Securities at 1‑Month Constant Maturity, Quoted on an Investment Basis
yield_1_year
number
optional
Market Yield on U.S. Treasury Securities at 1‑Year Constant Maturity, Quoted on an Investment Basis
yield_20_year
number
optional
Market Yield on U.S. Treasury Securities at 20‑Year Constant Maturity, Quoted on an Investment Basis
yield_2_year
number
optional
Market Yield on U.S. Treasury Securities at 2‑Year Constant Maturity, Quoted on an Investment Basis
yield_30_year
number
optional
Market Yield on U.S. Treasury Securities at 30‑Year Constant Maturity, Quoted on an Investment Basis
yield_3_month
number
optional
Market Yield on U.S. Treasury Securities at 3‑Month Constant Maturity, Quoted on an Investment Basis
yield_3_year
number
optional
Market Yield on U.S. Treasury Securities at 3‑Year Constant Maturity, Quoted on an Investment Basis
yield_5_year
number
optional
Market Yield on U.S. Treasury Securities at 5‑Year Constant Maturity, Quoted on an Investment Basis
yield_6_month
number
optional
Market Yield on U.S. Treasury Securities at 6‑Month Constant Maturity, Quoted on an Investment Basis
yield_7_year
number
optional
Market Yield on U.S. Treasury Securities at 7‑Year Constant Maturity, Quoted on an Investment Basis
status
string
Status of the request. Usually 'OK' or 'ERROR'.