payai.agentstools.dev/treasury/debt
US federal debt from the Treasury Debt to the Penny series, split into debt held by the public and intragovernmental holdings, fused with interest expense on the debt. Returns the latest value, the history over a window and computed net issuance plus public and intragovernmental shares. Values are cited to Treasury Fiscal Data.
GET
https://payai.agentstools.dev/treasury/debtUptime100% of 2 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://payai.agentstools.dev/treasury/debt?days=30" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"days": 30
}