{
  "x402Version": 2,
  "id": 54172,
  "slug": "54172",
  "resource": "https://x402stock.vercel.app/api/v1/treasury-yields",
  "description": "The daily US Treasury par yield curve (Constant Maturity Treasury rates) for every maturity from 1 month to 30 years, in percent. Defaults to the latest published day; pass `?limit=` for more recent days (max 250) and `?year=YYYY`. No ticker needed. Use for the risk-free rate, rate-sensitivity context, and yield-curve inversion in macro-aware analysis. From x402stock",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "count": {
            "type": "number"
          },
          "maturities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "rates": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "date": {
                  "type": "string"
                },
                "rates": {
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                }
              },
              "required": [
                "date",
                "rates"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "series": {
            "type": "string"
          },
          "source": {
            "const": "us_treasury",
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "as_of",
          "series",
          "unit",
          "maturities",
          "count",
          "rates"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "limit": 1
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-05-29T00:00:00.000Z",
            "count": 1,
            "maturities": [
              "1mo",
              "1.5mo",
              "2mo",
              "3mo",
              "4mo",
              "6mo",
              "1yr",
              "2yr",
              "3yr",
              "5yr",
              "7yr",
              "10yr",
              "20yr",
              "30yr"
            ],
            "rates": [
              {
                "date": "2026-05-29",
                "rates": {
                  "1.5mo": 3.71,
                  "10yr": 4.19,
                  "1mo": 3.72,
                  "1yr": 3.47,
                  "20yr": 4.81,
                  "2mo": 3.66,
                  "2yr": 3.47,
                  "30yr": 4.86,
                  "3mo": 3.65,
                  "3yr": 3.55,
                  "4mo": 3.62,
                  "5yr": 3.74,
                  "6mo": 3.58,
                  "7yr": 3.95
                }
              }
            ],
            "series": "daily_treasury_par_yield_curve",
            "source": "us_treasury",
            "unit": "percent"
          },
          "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": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "limit": {
                    "default": 1,
                    "exclusiveMinimum": 0,
                    "maximum": 250,
                    "type": "integer"
                  },
                  "year": {
                    "maximum": 2100,
                    "minimum": 1990,
                    "type": "integer"
                  }
                },
                "required": [
                  "limit"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "count": {
                    "type": "number"
                  },
                  "maturities": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "rates": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "rates": {
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        }
                      },
                      "required": [
                        "date",
                        "rates"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "series": {
                    "type": "string"
                  },
                  "source": {
                    "const": "us_treasury",
                    "type": "string"
                  },
                  "unit": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "series",
                  "unit",
                  "maturities",
                  "count",
                  "rates"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.vercel.app",
  "lastUpdated": "2026-10-08T06:26:51.048Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T06:26:50.857Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "limit": 1
            },
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-05-29T00:00:00.000Z",
              "count": 1,
              "maturities": [
                "1mo",
                "1.5mo",
                "2mo",
                "3mo",
                "4mo",
                "6mo",
                "1yr",
                "2yr",
                "3yr",
                "5yr",
                "7yr",
                "10yr",
                "20yr",
                "30yr"
              ],
              "rates": [
                {
                  "date": "2026-05-29",
                  "rates": {
                    "1.5mo": 3.71,
                    "10yr": 4.19,
                    "1mo": 3.72,
                    "1yr": 3.47,
                    "20yr": 4.81,
                    "2mo": 3.66,
                    "2yr": 3.47,
                    "30yr": 4.86,
                    "3mo": 3.65,
                    "3yr": 3.55,
                    "4mo": 3.62,
                    "5yr": 3.74,
                    "6mo": 3.58,
                    "7yr": 3.95
                  }
                }
              ],
              "series": "daily_treasury_par_yield_curve",
              "source": "us_treasury",
              "unit": "percent"
            },
            "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": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "limit": {
                      "default": 1,
                      "exclusiveMinimum": 0,
                      "maximum": 250,
                      "type": "integer"
                    },
                    "year": {
                      "maximum": 2100,
                      "minimum": 1990,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "limit"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "as_of": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "count": {
                      "type": "number"
                    },
                    "maturities": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "rates": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "rates": {
                            "additionalProperties": {
                              "anyOf": [
                                {
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          }
                        },
                        "required": [
                          "date",
                          "rates"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "series": {
                      "type": "string"
                    },
                    "source": {
                      "const": "us_treasury",
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "series",
                    "unit",
                    "maturities",
                    "count",
                    "rates"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.vercel.app",
    "manifest_name": "x402stock.vercel.app",
    "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": {
    "as_of": "2026-05-29T00:00:00.000Z",
    "count": 1,
    "maturities": [
      "1mo",
      "1.5mo",
      "2mo",
      "3mo",
      "4mo",
      "6mo",
      "1yr",
      "2yr",
      "3yr",
      "5yr",
      "7yr",
      "10yr",
      "20yr",
      "30yr"
    ],
    "rates": [
      {
        "date": "2026-05-29",
        "rates": {
          "1.5mo": 3.71,
          "10yr": 4.19,
          "1mo": 3.72,
          "1yr": 3.47,
          "20yr": 4.81,
          "2mo": 3.66,
          "2yr": 3.47,
          "30yr": 4.86,
          "3mo": 3.65,
          "3yr": 3.55,
          "4mo": 3.62,
          "5yr": 3.74,
          "6mo": 3.58,
          "7yr": 3.95
        }
      }
    ],
    "series": "daily_treasury_par_yield_curve",
    "source": "us_treasury",
    "unit": "percent"
  }
}