{"uid":"cap_h3DJlvM8nHi0bMvPDMVEJ","slug":"us-federal-budget-monthly-data-monthly-treasury-statement-ef412968","name":"US Federal Budget Monthly Data (Monthly Treasury Statement)","description":"Monthly US federal receipts, outlays and deficit (or surplus), plus the trailing 12-month deficit, from the Monthly Treasury Statement. US Treasury, public domain.","url":"https://api.vextorium.com/deficit-mensual-eeuu-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"meses":{"type":"integer","description":"1-36 (default 12)"}}},"responseSchema":{"type":"json","example":{"nota":"Saldo negativo = déficit.","serie":[{"mes":"2026-03","saldo_usd":-164100313818,"gastos_usd":548962915854,"ingresos_usd":384862602036},{"mes":"2026-04","saldo_usd":215024135198,"gastos_usd":622318555796,"ingresos_usd":837342690994}],"fuente":"U.S. Treasury, Monthly Treasury Statement (dominio público)","ultimo":{"mes":"2026-08","saldo_usd":-166796952277,"gastos_usd":526829688119,"ingresos_usd":360032735841},"deficit_ultimos_12m_usd":-1767641387110}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yQQ-4wloduFOcwi0SrTsJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns monthly US federal receipts, outlays, and deficit/surplus figures from the Monthly Treasury Statement, plus the trailing 12-month cumulative deficit.","exampleAgentPrompt":"Pull the last 18 months of US federal budget data from the Monthly Treasury Statement — I want to see monthly receipts, outlays, and the deficit or surplus for each month, plus the trailing 12-month deficit total.","exampleUseCases":[{"title":"Monitoring US fiscal health dashboard","prompt":"Give me the latest US federal budget numbers from the Treasury — monthly receipts, outlays, and deficit for the past 12 months, and what the trailing 12-month deficit is right now."},{"title":"Historical deficit trend research","prompt":"I'm doing a deep dive on US government finances — can you pull 36 months of monthly Treasury data showing federal spending, revenue, and the surplus or deficit each month?"},{"title":"Quick current-month budget snapshot","prompt":"What did the US government take in and spend last month according to the Monthly Treasury Statement, and are we running a deficit or surplus?"}],"resultDescription":"A JSON object containing: a time series array of monthly records (each with month label, receipts in USD, outlays in USD, and balance/deficit as saldo_usd), the most recent month's summary, the cumulative trailing 12-month deficit in USD, and a source attribution string. Negative saldo_usd values indicate a deficit.","failureModes":["Invalid meses value outside 1-36 range may return an error or default behavior","Data lag: the most recent month's data may not be available immediately after month-end as the Treasury releases MTS reports with a delay","Network or upstream Treasury data unavailability may cause empty or null series fields","Missing or malformed request body may return a schema validation error"],"whenToPreferThis":"Use this endpoint when you need structured, machine-readable US federal budget data (receipts, outlays, deficit/surplus) sourced directly from the Monthly Treasury Statement without scraping Treasury websites. It is ideal for agents performing fiscal analysis, building dashboards, or monitoring US government financial health over time. Prefer this over general web search when you need clean numeric time-series data going back up to 36 months.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:11.118Z","isFirstParty":false,"canonicalSlug":"us-federal-budget-monthly-data-monthly-treasury-statement-ef412968"}