# US Federal Budget Monthly Data (Monthly Treasury Statement)

> US Federal Budget Monthly Data (Monthly Treasury Statement) is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-20).

Returns monthly US federal receipts, outlays, and deficit/surplus figures from the Monthly Treasury Statement, plus the trailing 12-month cumulative deficit.

## Facts

- Endpoint: POST https://api.vextorium.com/deficit-mensual-eeuu-pago?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-federal-budget-monthly-data-monthly-treasury-statement-ef412968
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h3DJlvM8nHi0bMvPDMVEJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability us-federal-budget-monthly-data-monthly-treasury-statement-ef412968 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Monthly US federal receipts, outlays and deficit (or surplus), plus the trailing 12-month deficit, from the Monthly Treasury Statement. US Treasury, public domain.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "meses": {
   "type": "integer",
   "description": "1-36 (default 12)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-federal-budget-monthly-data-monthly-treasury-statement-ef412968/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
