Query the Daily Treasury Statement dataset via the Treasury Fiscal Data API
domain: fiscaldata.treasury.gov · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Construct a GET request against the Fiscal Data API base URL plus the Daily Treasury Statement dataset's endpoint path
Add query parameters to filter by record date range and select only the fields needed (e.g., operating cash balance, debt transactions)
Use the API's filter and fields parameters to scope the response instead of pulling entire tables
Paginate through results with the page size and page number parameters for date ranges spanning many days
Check the response's meta block for total record counts before assuming a complete result set was retrieved
Known gotchas
The dataset reflects prior-day Treasury operations, so there is a roughly one-business-day publication lag
No API key or registration is required, but unfiltered queries over long date ranges can return very large payloads
The Daily Treasury Statement is composed of multiple constituent tables within one dataset, so requesting the wrong table endpoint returns unrelated figures
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?