{
  "x402Version": 2,
  "id": 53546,
  "slug": "53546",
  "resource": "https://treasury-yield-curve.x402supply.com/tools/yield_curve",
  "description": "US Treasury par yield curve (1mo to 30yr, percent) for one date, or the latest if omitted. Weekend or holiday dates return the nearest prior business day with a note. Data from U.S. Treasury; not financial advice.",
  "type": "http",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x07fFB5044cF2Cd4352Be4655f578D0ba8cb754EB",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 60
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "date": "2026-10-04"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "asOf": "2026-10-09T17:48:01.778Z",
            "date": "2026-10-02",
            "exactMatch": false,
            "note": "No Treasury curve is published for 2026-10-04 (weekend or market holiday). Returning the nearest prior business day, 2026-10-02.",
            "requestedDate": "2026-10-04",
            "source": [
              "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_treasury_yield_curve&field_tdr_date_value_month=202610"
            ],
            "unit": "percent",
            "yields": {
              "1.5mo": 4.09,
              "10yr": 5.28,
              "1mo": 4.04,
              "1yr": 4.46,
              "20yr": 5.67,
              "2mo": 4.11,
              "2yr": 4.83,
              "30yr": 5.63,
              "3mo": 4.19,
              "3yr": 4.96,
              "4mo": 4.26,
              "5yr": 5.06,
              "6mo": 4.27,
              "7yr": 5.17
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "date": {
                    "description": "YYYY-MM-DD, 1990-01-02 or later, not in the future. Omit for the latest curve",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "treasury-yield-curve.x402supply.com",
  "lastUpdated": "2026-10-09T18:07:32.787Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-09T18:07:32.379Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "date": "2026-10-04"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "asOf": "2026-10-09T17:48:01.778Z",
              "date": "2026-10-02",
              "exactMatch": false,
              "note": "No Treasury curve is published for 2026-10-04 (weekend or market holiday). Returning the nearest prior business day, 2026-10-02.",
              "requestedDate": "2026-10-04",
              "source": [
                "https://home.treasury.gov/resource-center/data-chart-center/interest-rates/pages/xml?data=daily_treasury_yield_curve&field_tdr_date_value_month=202610"
              ],
              "unit": "percent",
              "yields": {
                "1.5mo": 4.09,
                "10yr": 5.28,
                "1mo": 4.04,
                "1yr": 4.46,
                "20yr": 5.67,
                "2mo": 4.11,
                "2yr": 4.83,
                "30yr": 5.63,
                "3mo": 4.19,
                "3yr": 4.96,
                "4mo": 4.26,
                "5yr": 5.06,
                "6mo": 4.27,
                "7yr": 5.17
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "date": {
                      "description": "YYYY-MM-DD, 1990-01-02 or later, not in the future. Omit for the latest curve",
                      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST",
                    "PUT",
                    "PATCH"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "treasury-yield-curve.x402supply.com",
    "manifest_name": "treasury-yield-curve.x402supply.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}