{
  "x402Version": 2,
  "id": 36085,
  "slug": "36085",
  "resource": "https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot",
  "description": "Treasury Fiscal Snapshot ($0.005): total U.S. public debt outstanding (Debt to the Penny), recent Treasury operating cash balance, and current-quarter Treasury Reporting Rates of Exchange, in one call. Fetched live from api.fiscaldata.treasury.gov, not a snapshot. Body {} (no fields required). Check free /v1/treasury_fiscal_snapshot/availability first.",
  "type": "http",
  "serviceName": "d21 treasury_fiscal_snapshot",
  "resourceType": "Monitoring",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x1520Ef5530AA71350049BE2903Cf078B38c40AE5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "6mc4GhWFyNcMh7gAVDWrKeYjDqFtEKWKQuZ9RTw2VkfM",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "caveats": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "debt_to_the_penny": {
            "properties": {
              "debt_held_public_amt": {
                "type": "string"
              },
              "intragov_hold_amt": {
                "type": "string"
              },
              "record_date": {
                "format": "date",
                "type": "string"
              },
              "tot_pub_debt_out_amt": {
                "type": "string"
              }
            },
            "required": [
              "record_date",
              "tot_pub_debt_out_amt"
            ],
            "type": "object"
          },
          "exchange_rates_current_quarter": {
            "items": {
              "properties": {
                "country": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "exchange_rate": {
                  "type": "string"
                },
                "record_date": {
                  "format": "date",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "operating_cash_balance_recent": {
            "items": {
              "properties": {
                "account_type": {
                  "type": "string"
                },
                "balance": {
                  "type": "string"
                },
                "record_date": {
                  "format": "date",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "type": "array"
          },
          "source": {
            "properties": {
              "cache_age_seconds": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "served_from_cache": {
                "type": "boolean"
              }
            },
            "type": "object"
          }
        },
        "required": [
          "debt_to_the_penny",
          "exchange_rates_current_quarter"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {},
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "brand": "draconic21",
            "caveats": [
              "Debt/cash figures are the Treasury's own reported values as of their record_date, not real…"
            ],
            "debt_to_the_penny": {
              "debt_held_public_amt": "28900000000000.00",
              "intragov_hold_amt": "7223456789012.34",
              "record_date": "2026-09-26",
              "tot_pub_debt_out_amt": "36123456789012.34"
            },
            "exchange_rates_current_quarter": [
              {
                "country": "United Kingdom",
                "currency": "Pound Sterling",
                "exchange_rate": "0.789",
                "record_date": "2026-09-30"
              }
            ],
            "operating_cash_balance_recent": [
              {
                "account_type": "Treasury General Account (TGA) Closing Balance",
                "balance": "812345.00",
                "record_date": "2026-09-26"
              }
            ],
            "product": "Treasury Fiscal Snapshot",
            "schema": "draconic21.treasury_fiscal_snapshot_response.v1",
            "source": {
              "cache_age_seconds": 1840,
              "name": "U.S. Department of the Treasury Fiscal Data API (api.fiscaldata.treasury.gov)",
              "served_from_cache": true
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": true,
                "properties": {},
                "required": [],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "caveats": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "debt_to_the_penny": {
                    "properties": {
                      "debt_held_public_amt": {
                        "type": "string"
                      },
                      "intragov_hold_amt": {
                        "type": "string"
                      },
                      "record_date": {
                        "format": "date",
                        "type": "string"
                      },
                      "tot_pub_debt_out_amt": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "record_date",
                      "tot_pub_debt_out_amt"
                    ],
                    "type": "object"
                  },
                  "exchange_rates_current_quarter": {
                    "items": {
                      "properties": {
                        "country": {
                          "type": "string"
                        },
                        "currency": {
                          "type": "string"
                        },
                        "exchange_rate": {
                          "type": "string"
                        },
                        "record_date": {
                          "format": "date",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "operating_cash_balance_recent": {
                    "items": {
                      "properties": {
                        "account_type": {
                          "type": "string"
                        },
                        "balance": {
                          "type": "string"
                        },
                        "record_date": {
                          "format": "date",
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "source": {
                    "properties": {
                      "cache_age_seconds": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "served_from_cache": {
                        "type": "boolean"
                      }
                    },
                    "type": "object"
                  }
                },
                "required": [
                  "debt_to_the_penny",
                  "exchange_rates_current_quarter"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "treasury",
    "government-data",
    "fiscal",
    "debt",
    "exchange-rates",
    "bazaar"
  ],
  "sourceHost": "draconic21-x402-api.onrender.com",
  "lastUpdated": "2026-10-08T19:56:51.592Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T19:56:51.411Z"
  },
  "metadata": {
    "serviceName": "d21 treasury_fiscal_snapshot",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "brand": "draconic21",
              "caveats": [
                "Debt/cash figures are the Treasury's own reported values as of their record_date, not real…"
              ],
              "debt_to_the_penny": {
                "debt_held_public_amt": "28900000000000.00",
                "intragov_hold_amt": "7223456789012.34",
                "record_date": "2026-09-26",
                "tot_pub_debt_out_amt": "36123456789012.34"
              },
              "exchange_rates_current_quarter": [
                {
                  "country": "United Kingdom",
                  "currency": "Pound Sterling",
                  "exchange_rate": "0.789",
                  "record_date": "2026-09-30"
                }
              ],
              "operating_cash_balance_recent": [
                {
                  "account_type": "Treasury General Account (TGA) Closing Balance",
                  "balance": "812345.00",
                  "record_date": "2026-09-26"
                }
              ],
              "product": "Treasury Fiscal Snapshot",
              "schema": "draconic21.treasury_fiscal_snapshot_response.v1",
              "source": {
                "cache_age_seconds": 1840,
                "name": "U.S. Department of the Treasury Fiscal Data API (api.fiscaldata.treasury.gov)",
                "served_from_cache": true
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": true,
                  "properties": {},
                  "required": [],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "caveats": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "debt_to_the_penny": {
                      "properties": {
                        "debt_held_public_amt": {
                          "type": "string"
                        },
                        "intragov_hold_amt": {
                          "type": "string"
                        },
                        "record_date": {
                          "format": "date",
                          "type": "string"
                        },
                        "tot_pub_debt_out_amt": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "record_date",
                        "tot_pub_debt_out_amt"
                      ],
                      "type": "object"
                    },
                    "exchange_rates_current_quarter": {
                      "items": {
                        "properties": {
                          "country": {
                            "type": "string"
                          },
                          "currency": {
                            "type": "string"
                          },
                          "exchange_rate": {
                            "type": "string"
                          },
                          "record_date": {
                            "format": "date",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "operating_cash_balance_recent": {
                      "items": {
                        "properties": {
                          "account_type": {
                            "type": "string"
                          },
                          "balance": {
                            "type": "string"
                          },
                          "record_date": {
                            "format": "date",
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "source": {
                      "properties": {
                        "cache_age_seconds": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "served_from_cache": {
                          "type": "boolean"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "debt_to_the_penny",
                    "exchange_rates_current_quarter"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "draconic21-x402-api.onrender.com",
    "manifest_name": "draconic21-x402-api.onrender.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": {
      "caveats": [
        "string"
      ],
      "debt_to_the_penny": {
        "debt_held_public_amt": "string",
        "intragov_hold_amt": "string",
        "record_date": "string",
        "tot_pub_debt_out_amt": "string"
      },
      "exchange_rates_current_quarter": [
        {
          "country": "string",
          "currency": "string",
          "exchange_rate": "string",
          "record_date": "string"
        }
      ],
      "operating_cash_balance_recent": [
        {
          "account_type": "string",
          "balance": "string",
          "record_date": "string"
        }
      ],
      "source": {
        "cache_age_seconds": 0,
        "name": "string",
        "served_from_cache": true
      }
    },
    "type": "string"
  }
}