# US Monthly Treasury Statement API

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

Returns the latest US Monthly Treasury Statement with federal receipts, outlays, deficit/surplus, interest expense, year-over-year deficit change, and interest-to-receipts ratio, cited to Treasury Fiscal Data.

## Facts

- Endpoint: GET https://api.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-api-6b08bf9f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RLuRrfBdNMokkrxtTFaUb

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-api-6b08bf9f
```

Example prompt: What does the latest Monthly Treasury Statement show — receipts, outlays, the deficit, and how much of federal revenue is going to interest payments compared to the same period last year?

## When to prefer this

Use this endpoint when you need the most recent official US federal fiscal summary including receipts, outlays, deficit, and interest burden metrics in a single normalized call, especially when you want pre-computed ratios like interest-as-share-of-receipts and year-over-year deficit change without additional computation.

## Known failure modes

- Treasury Fiscal Data source unavailable or delayed — endpoint may return stale or error response
- Rate limiting or payment failure (x402) — 402 response requiring payment
- No data available for the current month if Treasury has not yet published the latest statement

## 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 JSON object containing the latest month's federal receipts, outlays, and deficit or surplus (both monthly and fiscal year to date), interest expense, the year-over-year change in the deficit, and interest expense as a share of receipts, all cited to 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-api-6b08bf9f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
