# US Monthly Treasury Statement

> US Monthly Treasury Statement is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns the latest US Monthly Treasury Statement data including federal receipts, outlays, deficit/surplus, interest expense, year-over-year deficit change, and interest-as-a-share-of-receipts ratio.

## Facts

- Endpoint: GET https://payai.agentstools.dev/treasury/statement
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-monthly-treasury-statement-6945b278
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zo8-7gJmfC587TOfohWRZ

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-monthly-treasury-statement-6945b278
```

Example prompt: Pull the latest US Monthly Treasury Statement and tell me the current federal deficit, total receipts and outlays for the month and fiscal year to date, the interest expense as a share of receipts, and how the deficit compares to the same point last year.

## When to prefer this

Use this endpoint when you need a pre-computed, ready-to-use summary of US federal fiscal data — receipts, outlays, deficit, and interest burden — without having to parse raw Treasury CSV files or compute derived metrics yourself. Ideal for macro research, fiscal dashboards, government finance monitoring, or any agent that needs a quick authoritative snapshot of the US budget position with year-over-year context already calculated.

## Known failure modes

- Data not yet released for the current month — Treasury publishes MTS data with a lag of several weeks
- Service unavailable or timeout if the upstream Treasury Fiscal Data source is unreachable
- Payment failure if x402 USDC payment is not properly handled by the calling agent
- Stale data if the upstream source has not yet updated after a new MTS publication

## How this service works

The US Monthly Treasury Statement: federal receipts, outlays and the deficit or surplus for the latest month and fiscal year to date, fused with interest expense. Computes the deficit change year over year and interest expense as a share of receipts. Cited to Treasury Fiscal Data.

## Output

A structured JSON object containing the latest Monthly Treasury Statement figures: monthly and fiscal-year-to-date federal receipts, outlays, and deficit or surplus; interest expense in dollar terms; interest expense as a percentage of receipts; and the year-over-year change in the deficit. Data is sourced from US Treasury Fiscal Data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-monthly-treasury-statement-6945b278/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
