Browse the docs

Treasury yields

GET/v1/market/treasury-yields

US Treasury yields across the curve, one-month to 30-year, one row a day, newest first. Without dates, the most recent days; give from and to for a window, about three months at a time.

Each call counts against your allowance.

Parameters

NameInTypeWhat it does
fromquerydate, YYYY-MM-DDFirst day, like 2025-01-02.
toquerydate, YYYY-MM-DDLast day, like 2025-12-31.

Any other parameter is refused, so a typo is caught rather than quietly ignored.

Answer

The answer is { data, asOf }. Here is data, abridged: real answers carry more fields.

data (abridged)
[
  {
    "date": "2026-10-20",
    "month1": 3.92,
    "month3": 3.85,
    "year2": 3.51,
    "year5": 3.62,
    "year10": 4.05,
    "year30": 4.61
  }
]

Answers and errors covers every answer’s shape and what an error carries.