# Vextorium US Budget Deficit

> Vextorium US Budget Deficit 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-19).

Returns monthly U.S. federal budget data (revenue, expenses, balance) for up to 36 months, sourced from the U.S. Treasury Monthly Treasury Statement.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/us-budget-deficit?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-us-budget-deficit-59d24394
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SItjLck9lniORkFpHaRXT

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 vextorium-us-budget-deficit-59d24394 -d '<json body>'
```

Example prompt: Pull the US federal budget deficit data for the last 12 months — I want to see monthly revenue, expenses, and the running balance, plus the 12-month total deficit figure.

## When to prefer this

Choose this endpoint when you need official, U.S. Treasury-sourced monthly fiscal data (revenue, expenses, deficit/surplus) with minimal setup and pay-per-call pricing via USDC. Prefer it over web scraping or generic economic APIs when you need structured, machine-readable data with a citation, or when you need up to 36 months of historical monthly series in a single call.

## Known failure modes

- Invalid months value outside 1-36 range returns an error or default behavior
- Data may lag by one month if the Treasury Statement has not yet been published for the current month
- Network or payment authorization failure returns a 402 or 5xx error
- Malformed request body (wrong bodyType or missing required fields) returns a 400 error

## How this service works

232 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.

## Output

A JSON object containing the most recent month's revenue, expenses, and balance in USD; a time-series array of monthly entries for the requested period (each with month label, revenue, expenses, and balance); the rolling 12-month deficit total in USD; a note clarifying that negative balance equals deficit; and a source attribution to the U.S. Treasury Monthly Treasury Statement.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "last": {
   "month": "2026-08",
   "balance_usd": -166796952277,
   "revenue_usd": 360032735841,
   "expenses_usd": 526829688119
  },
  "note": "Negative balance = deficit.",
  "series": [
   {
    "month": "2026-03",
    "balance_usd": -164100313818,
    "revenue_usd": 384862602036,
    "expenses_usd": 548962915854
   },
   {
    "month": "2026-04",
    "balance_usd": 215024135198,
    "revenue_usd": 837342690994,
    "expenses_usd": 622318555796
   }
  ],
  "source": "U.S. Treasury, Monthly Treasury Statement (public domain)",
  "deficit_last_12m_usd": -1767641387110
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-us-budget-deficit-59d24394/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)
