Skip to main content
GET
Treasury Yields (Snapshot)

Overview

The Treasury Yields Snapshot API returns the most recent business day’s par yield curve as one object with one key per tenor. We source the data directly from authoritative government sources. The snapshot refreshes each evening after the day’s final curve is published. To get started, please create an account and grab your API key at financialdatasets.ai. You will use the API key to authenticate your API requests.

Coverage

Tenors

The object carries date plus these keys: 1_month, 1_5_month, 2_month, 3_month, 4_month, 6_month, 1_year, 2_year, 3_year, 5_year, 7_year, 10_year, 20_year, 30_year. A tenor is null when it was not published that day.

Getting Started

There are only 2 steps for making a successful API call:
  1. Add your API key to the header of the request as X-API-KEY.
  2. Execute the API request.

Example

Treasury Yields Snapshot

Example Response

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Response

Yield curve snapshot response

yield_curve
object