{
  "x402Version": 2,
  "id": 29183,
  "slug": "29183",
  "resource": "https://api.agentstools.dev/treasury/rates",
  "description": "US Treasury interest rates: the Daily Treasury Par Yield Curve fused with the average interest rates on the outstanding debt by security type. Computes the 2s10s spread and an inversion flag. The yield curve is a resilient partial grain that degrades to the average rates if its upstream is unreachable.",
  "type": "http",
  "serviceName": "treasury-rates",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "15000",
      "amountUsd": 0.015,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "year": 2026
          },
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": [
              "Source: U.S. Department of the Treasury, Fiscal Data (public domain)"
            ],
            "average_interest_rates": {
              "rates": [
                {
                  "avg_interest_rate": 3.706,
                  "security": "Treasury Bills",
                  "security_type": "Marketable"
                }
              ],
              "record_date": "2026-06-30",
              "unit": "percent"
            },
            "computed": {
              "inverted_2s10s": false,
              "spread_2s10s": 0.48
            },
            "par_yield_curve": {
              "date": "2026-07-09",
              "points": {
                "10y": 4.21,
                "2y": 3.73,
                "30y": 4.79
              },
              "unit": "percent"
            },
            "yield_curve_available": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "year": {
                    "description": "Calendar year of the par yield curve (default current)",
                    "maximum": 2100,
                    "minimum": 1990,
                    "type": "integer"
                  }
                },
                "required": [],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "treasury",
    "yield-curve",
    "interest-rates",
    "par-yield",
    "2s10s",
    "bazaar"
  ],
  "sourceHost": "api.agentstools.dev",
  "lastUpdated": "2026-10-08T06:09:27.961Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:09:27.731Z"
  },
  "metadata": {
    "serviceName": "treasury-rates",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "year": 2026
            },
            "type": "http"
          },
          "output": {
            "example": {
              "attribution": [
                "Source: U.S. Department of the Treasury, Fiscal Data (public domain)"
              ],
              "average_interest_rates": {
                "rates": [
                  {
                    "avg_interest_rate": 3.706,
                    "security": "Treasury Bills",
                    "security_type": "Marketable"
                  }
                ],
                "record_date": "2026-06-30",
                "unit": "percent"
              },
              "computed": {
                "inverted_2s10s": false,
                "spread_2s10s": 0.48
              },
              "par_yield_curve": {
                "date": "2026-07-09",
                "points": {
                  "10y": 4.21,
                  "2y": 3.73,
                  "30y": 4.79
                },
                "unit": "percent"
              },
              "yield_curve_available": true
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "year": {
                      "description": "Calendar year of the par yield curve (default current)",
                      "maximum": 2100,
                      "minimum": 1990,
                      "type": "integer"
                    }
                  },
                  "required": [],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "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": "api.agentstools.dev",
    "manifest_name": "api.agentstools.dev",
    "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"
  }
}