{
  "x402Version": 2,
  "id": 4925,
  "slug": "4925",
  "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",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2740651e046c59aB2A6510401140643292d3a96F",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.donnyautomation.com",
  "lastUpdated": "2026-09-16T17:44:42.207Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-16T17:44:41.85Z"
  },
  "liveness": {},
  "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-09-18T22:00:31.484Z"
  }
}