# x402helper.xyz Treasury Cash Balance Lookup

> x402helper.xyz Treasury Cash Balance Lookup is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.013/call, status unknown (last checked 2026-10-31).

Retrieves daily cash balance history for a treasury account, with optional lookback window, payable via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/treasury/cash?utm_source=zero.xyz
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-treasury-cash-balance-lookup-8d6eb37f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_065AFsddlhlnftwlkuXUC

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 x402helper-xyz-treasury-cash-balance-lookup-8d6eb37f
```

Example prompt: Pull my treasury cash balance history for the last 30 days so I can review how the account has been trending.

## When to prefer this

Use this endpoint when you need to retrieve historical daily cash balance data from a treasury account and are operating in an x402-compatible micropayment environment where per-call USDC payments are acceptable. Prefer this over manual account queries when automating treasury monitoring or reconciliation workflows.

## Known failure modes

- Missing or invalid USDC payment via x402 protocol returns 402 Payment Required
- Invalid or out-of-range 'days' or 'range' parameter (must be 1–3660) returns validation error
- No data available for the requested period returns empty result object
- Service unavailability returns 5xx error

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

Returns a JSON object with a success flag and a result object containing daily cash balance data for the requested lookback period (defaulting to all available history if no range is specified).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "days": {
       "type": "integer",
       "default": null,
       "maximum": 3660,
       "minimum": 1,
       "description": "Look back this many days of the daily cash balance"
      },
      "range": {
       "type": "integer",
       "default": null,
       "maximum": 3660,
       "minimum": 1,
       "description": "Alias for days"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-xyz-treasury-cash-balance-lookup-8d6eb37f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
