Retrieve the Monthly Statement of the Public Debt (MSPD) summary tables via the Treasury Fiscal Data API for debt composition analysis

domain: fiscaldata.treasury.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send GET https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v1/debt/mspd/mspd_table_1 to retrieve the summary of Treasury securities outstanding by category
  2. Filter by fiscal year and month with params: filters[record_date:gte]=YYYY-MM-01 and filters[record_date:lte]=YYYY-MM-DD
  3. Request only the fields you need: fields=record_date,security_type_desc,avg_interest_rate_amt,outstanding_amt to reduce payload size
  4. Retrieve the interest rates breakdown from the separate endpoint: GET .../v2/accounting/od/avg_interest_rates to get average interest rates by security type and class
  5. Cross-reference table 1 outstanding amounts with the avg_interest_rates dataset by matching security_type_desc to compute implied annual interest cost
  6. Export as CSV by appending format=csv to the query string for loading into spreadsheet or BI tools

Known gotchas

Related routes

Pull the daily debt-to-the-penny feed from the Treasury Fiscal Data API and track total public debt outstanding
fiscaldata.treasury.gov · 6 steps · unrated
Query the Daily Treasury Statement dataset via the Treasury Fiscal Data API
fiscaldata.treasury.gov · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans