Treasury Fiscal Snapshot ($0.005): total U.S
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 snap…
by draconic21-x402-api.onrender.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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.
Tags: treasury · government-data · fiscal · debt · exchange-rates · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{}{
"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
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/36085.jsonfor the price and payment options. - Pay. Call
GET https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.005 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 3 calls · 3 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.005 | 0x1520Ef5530AA71350049BE2903Cf078B38c40AE5 | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.005 | 6mc4GhWFyNcMh7gAVDWrKeYjDqFtEKWKQuZ9RTw2VkfM | 300s |
accepts[] (raw JSON)
[
{
"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
}
]Schemas
Output schema (JSON Schema)
{
"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"
}Example shape — generated from the schema, not a captured live response
{
"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"
}Examples
curl "https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- draconic21-x402-api.onrender.com
- Endpoint
- https://draconic21-x402-api.onrender.com/v1/treasury_fiscal_snapshot
- Machine-readable
/resources/36085.json