ToolAssay

US Treasury yield curve API

US Treasury yield curve API: the latest Daily Treasury Par Yield Curve — yields in percent for 13 maturities from 1 month to 30 years, plus curve date, straight from the US Department of the Treasury. Public-domain government data, published each business day. Use for interest rate benchmarks, bond analysis, discount rates, and macro signals. Slow upstream (~10s) so served from a 6-hour cache; meta.fetchedAt shows when the curve was retrieved.

Answeringour last check, 2026-09-24
1 of 1checks answered this week
18 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://gateway.stride20k.com/rates/us-treasury

CategoryEverything else
Provider hostgateway.stride20k.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-24 valid payment request 402$0.005 18 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {},
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {},
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "curveDate": {
                  "description": "Business date of the curve, YYYY-MM-DD.",
                  "type": "string"
                },
                "series": {
                  "description": "Name of the Treasury data series.",
                  "type": "string"
                },
                "yieldsPct": {
                  "description": "Par yields in percent, keyed by maturity: 1M, 2M, 3M, 4M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, 30Y.",
                  "type": "object"
                }
              },
              "required": [
                "curveDate",
                "yieldsPct"
              ],
              "type": "object"
            },
            "endpoint": {
              "description": "Always \"/rates/us-treasury\".",
              "type": "string"
            },
            "meta": {
              "properties": {
                "attribution": {
                  "description": "Licensing attribution when the source requires it.",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "cached": {
                  "description": "Whether this response was served from cache.",
                  "type": "boolean"
                },
                "fetchedAt": {
                  "description": "ISO 8601 time the data was actually retrieved from the upstream.",
                  "type": "string"
                },
                "source": {
                  "description": "Upstream source: US Treasury.",
                  "type": "string"
                }
              },
              "required": [
                "source",
                "cached",
                "fetchedAt"
              ],
              "type": "object"
            },
            "ok": {
              "description": "true on success.",
              "type": "boolean"
            }
          },
          "required": [
            "ok",
            "endpoint",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON