Securely Redirecting...

Connecting to Stripe

3-Year Government Bond Yield (USD)

The yield on 3-year government bonds. Similar to the 2-year, this yield reflects medium-term interest rate policy expectations. It provides an additional layer of insight into where the market believes the Central Bank's rate cycle will peak or bottom.

Category: Government Bond Yields

API Endpoint

/api/usd/gov_bond_3y
Or view detailed, interactive documentation: Open Swagger Docs

Data Source

Primary Source

FRED (Federal Reserve)

Official Series ID

DGS3

Data Format and Properties

Data Frequency

Daily

Unit of Measure

Percent, Daily Treasury Yield Curve Rate

JSON Response Structure

The endpoint returns a chronological list of observations in JSON format.

[
  {
    "date": "YYYY-MM-DD", 
    "val": 0.00
  },
  {
    "date": "2024-07-01", 
    "val": 4.2 
  },
  // ... history 
]

Request Parameters & Usage

Parameter Required Format Description
start YES YYYY-MM-DD The start date for the data retrieval.
end NO YYYY-MM-DD The end date for the data retrieval. Defaults to today's date.
key YES string Your unique API key for authentication.

Example Usage

To retrieve the 3-Year Government Bond Yield data for USD starting from the beginning of 2023:

GET https://fxmacrodata.com/api/usd/gov_bond_3y?start=2023-01-01&key=YOUR_API_KEY