{
  "x402Version": 2,
  "id": 39898,
  "slug": "39898",
  "resource": "https://x402stock.xyz/api/v1/avg-interest-rates",
  "description": "The average interest rate the US Treasury currently pays on its outstanding debt, broken out by security (Treasury Bills, Notes, Bonds, TIPS, FRNs, savings, and the marketable/total aggregates) for the latest reported month, in percent. No ticker needed. A read on the government's cost of borrowing that complements the /treasury-yields curve. Sourced from the US Treasury (FiscalData).",
  "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"
          },
          "rates": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "avg_interest_rate": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "security": {
                  "type": "string"
                },
                "security_type": {
                  "type": "string"
                }
              },
              "required": [
                "security_type",
                "security",
                "avg_interest_rate"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "record_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "series": {
            "type": "string"
          },
          "source": {
            "const": "us_treasury",
            "type": "string"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "source",
          "as_of",
          "series",
          "unit",
          "record_date",
          "count",
          "rates"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-05-31T00:00:00.000Z",
            "count": 16,
            "rates": [
              {
                "avg_interest_rate": 3.69,
                "security": "Treasury Bills",
                "security_type": "Marketable"
              },
              {
                "avg_interest_rate": 3.248,
                "security": "Treasury Notes",
                "security_type": "Marketable"
              },
              {
                "avg_interest_rate": 3.413,
                "security": "Treasury Bonds",
                "security_type": "Marketable"
              },
              {
                "avg_interest_rate": 3.386,
                "security": "Total Marketable",
                "security_type": "Marketable"
              },
              {
                "avg_interest_rate": 3.353,
                "security": "Total Interest-bearing Debt",
                "security_type": "Interest-bearing Debt"
              }
            ],
            "record_date": "2026-05-31",
            "series": "avg_interest_rates",
            "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": {
                "properties": {},
                "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"
                  },
                  "rates": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "avg_interest_rate": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "security": {
                          "type": "string"
                        },
                        "security_type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "security_type",
                        "security",
                        "avg_interest_rate"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "record_date": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "series": {
                    "type": "string"
                  },
                  "source": {
                    "const": "us_treasury",
                    "type": "string"
                  },
                  "unit": {
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "series",
                  "unit",
                  "record_date",
                  "count",
                  "rates"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-08T06:26:18.01Z",
  "quality": {
    "calls30d": 124,
    "uniquePayers30d": 6,
    "lastCalledAt": "2026-10-08T06:26:17.825Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {},
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-05-31T00:00:00.000Z",
              "count": 16,
              "rates": [
                {
                  "avg_interest_rate": 3.69,
                  "security": "Treasury Bills",
                  "security_type": "Marketable"
                },
                {
                  "avg_interest_rate": 3.248,
                  "security": "Treasury Notes",
                  "security_type": "Marketable"
                },
                {
                  "avg_interest_rate": 3.413,
                  "security": "Treasury Bonds",
                  "security_type": "Marketable"
                },
                {
                  "avg_interest_rate": 3.386,
                  "security": "Total Marketable",
                  "security_type": "Marketable"
                },
                {
                  "avg_interest_rate": 3.353,
                  "security": "Total Interest-bearing Debt",
                  "security_type": "Interest-bearing Debt"
                }
              ],
              "record_date": "2026-05-31",
              "series": "avg_interest_rates",
              "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": {
                  "properties": {},
                  "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"
                    },
                    "rates": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "avg_interest_rate": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "security": {
                            "type": "string"
                          },
                          "security_type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "security_type",
                          "security",
                          "avg_interest_rate"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "record_date": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "series": {
                      "type": "string"
                    },
                    "source": {
                      "const": "us_treasury",
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "series",
                    "unit",
                    "record_date",
                    "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.xyz",
    "manifest_name": "x402stock.xyz",
    "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": {
      "as_of": null,
      "count": 0,
      "rates": [
        {
          "avg_interest_rate": null,
          "security": "string",
          "security_type": "string"
        }
      ],
      "record_date": null,
      "series": "string",
      "source": "string",
      "unit": "string"
    },
    "type": "string"
  }
}