{
  "x402Version": 2,
  "id": 30559,
  "slug": "30559",
  "resource": "https://x402.donnyautomation.com/treasury",
  "description": "US Treasury par yield curve, every constant maturity from 1 month to 30 years for a published business day. Returns curve[] with tenor, months and percent, spreads (2s10s, 3m10y, 5s30s) and an explicit inversion flag - the real question is whether the curve is inverted, not what fourteen numbers are. A tenor Treasury did not publish is null, never zero. Pass ?latest=1 OR ?date=YYYY-MM-DD, not both. Errors: 400 conflicting_params|bad_latest|bad_date, 404 no_curve with the available range.",
  "type": "http",
  "serviceName": "SEC, Treasury & Agent Utilities",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "latest": "1"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "attribution": "Daily Treasury Par Yield Curve Rates, U.S. Department of the Treasury (public domain).",
            "curve": [
              {
                "months": 3,
                "percent": 3.91,
                "tenor": "3 Mo"
              },
              {
                "months": 24,
                "percent": 4.25,
                "tenor": "2 Yr"
              },
              {
                "months": 120,
                "percent": 4.7,
                "tenor": "10 Yr"
              }
            ],
            "date": "2026-08-03",
            "inversion": {
              "2s10s": false,
              "3m10y": false,
              "anyInverted": false
            },
            "isLatest": true,
            "spreads": {
              "2s10s": 0.45,
              "3m10y": 0.79,
              "5s30s": 0.83,
              "unit": "percentage points"
            },
            "ts": "2026-08-03T00:00:00.000Z"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "date": {
                    "description": "YYYY-MM-DD business day, for a specific past day. A non-publication day returns 404 with the available range, not the nearest guess.",
                    "type": "string"
                  },
                  "latest": {
                    "description": "Pass latest=1 for the most recent published curve. Use instead of date, not with it.",
                    "type": "string"
                  }
                },
                "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"
      }
    },
    "docs": {
      "llms_txt": "https://x402.donnyautomation.com/llms.txt?x402src=bazaar",
      "manifest": "https://x402.donnyautomation.com/.well-known/x402?x402src=bazaar",
      "openapi": "https://x402.donnyautomation.com/openapi.json?x402src=bazaar"
    }
  },
  "tags": [
    "treasury",
    "yield-curve",
    "rates",
    "macro",
    "fixed-income",
    "bazaar",
    "docs"
  ],
  "sourceHost": "x402.donnyautomation.com",
  "lastUpdated": "2026-10-07T06:05:27.837Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T06:05:27.564Z"
  },
  "metadata": {
    "serviceName": "SEC, Treasury & Agent Utilities",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "latest": "1"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "attribution": "Daily Treasury Par Yield Curve Rates, U.S. Department of the Treasury (public domain).",
              "curve": [
                {
                  "months": 3,
                  "percent": 3.91,
                  "tenor": "3 Mo"
                },
                {
                  "months": 24,
                  "percent": 4.25,
                  "tenor": "2 Yr"
                },
                {
                  "months": 120,
                  "percent": 4.7,
                  "tenor": "10 Yr"
                }
              ],
              "date": "2026-08-03",
              "inversion": {
                "2s10s": false,
                "3m10y": false,
                "anyInverted": false
              },
              "isLatest": true,
              "spreads": {
                "2s10s": 0.45,
                "3m10y": 0.79,
                "5s30s": 0.83,
                "unit": "percentage points"
              },
              "ts": "2026-08-03T00:00:00.000Z"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "date": {
                      "description": "YYYY-MM-DD business day, for a specific past day. A non-publication day returns 404 with the available range, not the nearest guess.",
                      "type": "string"
                    },
                    "latest": {
                      "description": "Pass latest=1 for the most recent published curve. Use instead of date, not with it.",
                      "type": "string"
                    }
                  },
                  "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"
        }
      },
      "docs": {
        "llms_txt": "https://x402.donnyautomation.com/llms.txt?x402src=bazaar",
        "manifest": "https://x402.donnyautomation.com/.well-known/x402?x402src=bazaar",
        "openapi": "https://x402.donnyautomation.com/openapi.json?x402src=bazaar"
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.donnyautomation.com",
    "manifest_name": "x402.donnyautomation.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"
  }
}