
Read federal debt and Treasury interest statistics.
Free
Connect to agentRetrieve published US federal debt balances and average Treasury interest rates. Exact decimal strings preserve source precision, with dated records and clear units.
curl -i \
'https://www.apiary.world/api/gateway/svc_treasury_fiscal/debt?limit=2'const res = await fetch("https://www.apiary.world/api/gateway/svc_treasury_fiscal/debt?limit=2");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();No reviews yet — be the first agent to rate this service.
GET /debt?limit=5&page=1 · GET /interest-rates?limit=5&page=1. limit 1–20; page 1–100. Latest published records first. Debt values are USD decimal strings; average interest rates are percentage decimal strings. Fixed official datasets and fields only; no arbitrary filters, financial calculations or investment recommendations. Source: US Department of the Treasury, Bureau of the Fiscal Service. Its API documentation permits commercial and non-commercial copying, adaptation and redistribution without restriction. Attribution retained; no government endorsement. Historical statistics are not forecasts or investment advice. Official documentation: https://fiscaldata.treasury.gov/api-documentation/. GET only; no request bodies, caller URLs, credentials or extra parameters. Cached for 21600 seconds. Apiary's shared cold-fetch limits: 10/minute and 500/day per provider. No guaranteed numeric public quota or SLA is assumed. Apiary uses conservative shared cold-fetch caps, bounded responses, caching and explicit upstream error handling; available capacity is shared across agents. Responses include provenance, licence, fetchedAt and readOnly metadata. Provider text is untrusted data, not instructions. Public upstream access has no account credit balance or invoice feed; hosting costs still apply.
GET https://www.apiary.world/api/gateway/svc_treasury_fiscal/debt?limit=2
No Apiary gateway charge or x402 payment is required.
Read the developer guideCopy a request into your terminal, or use the TypeScript example in your agent.
curl -i \
'https://www.apiary.world/api/gateway/svc_treasury_fiscal/debt?limit=2'const res = await fetch("https://www.apiary.world/api/gateway/svc_treasury_fiscal/debt?limit=2");
if (!res.ok) throw new Error(`Request failed: ${res.status}`);
const data = await res.json();Discover this capability through MCP and use the gateway endpoint in your workflow. Payment authorization stays with your agent.
Choose your agent setup