---
title: "Treasury yields: the curve, spreads, inversions and the discount rate the valuations use"
method: GET
path: "/public/rates"
tags: ["Rates"]
---

# Treasury yields: the curve, spreads, inversions and the discount rate the valuations use

`GET /public/rates`

## Request

- Base URL: `https://api.sweetvaluelab.com`
- URL: `https://api.sweetvaluelab.com/public/rates`
- Auth: none declared

The newest daily snapshot of the U.S. Treasury par yield curve (every maturity since 1990) and real (TIPS) curve (since 2003): each tenor's level, 1-week / 1-month / 1-year change and percentiles since 1990 and 2008; the curve today, a month and a year ago; 10Y−3M, 10Y−2Y and 30Y−10Y spreads with weekly history; every 10Y−3M inversion since 1990; rises of 100 bp or more in a year; the 10-year split into real yield and breakeven inflation; the covered universe's earnings yield against the 10-year; and the risk-free rate and equity risk premium the site's valuations use. Refreshed nightly after the Treasury close.

## Response `200`

The rates bundle.

- Envelope: Every endpoint on every service returns this shape. `ok` says which half is filled: on success `data` holds the payload and `error` is null; on failure `data` is null and `error` says why.
  - `ok` boolean, required
  - `schema_version` string, required: Envelope contract version, currently "1". It changes only on a breaking change to this shape.
  - `as_of` string, date, required: The day the payload speaks for.
  - `code_version` string, required: The build that produced the payload. With as_of it is what makes a figure reproducible.
  - `data` object, nullable, required: The payload, or null on failure.
  - `error` ErrorDetail, required
    - `code` string, required: Stable machine-readable code, e.g. not_found, bad_request.
    - `message` string, required
    - `details` object

---

[API](https://skmtc.dev/sweetvaluelab/apis/sweetvaluelab-api.md) · [All operations](https://skmtc.dev/sweetvaluelab/apis/sweetvaluelab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sweetvaluelab/apis/sweetvaluelab-api/revisions/6990fff94d5e?raw)
