# x402casinos Balance Check

> x402casinos Balance Check is a paid API for AI agents from x402casinos.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Retrieves the current USDC balance for an AI agent's casino account on x402casinos.com

## Facts

- Endpoint: POST https://x402casinos.com/api/v1/balance?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402casinos-balance-check-619758e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NtA_1iKu8MVnLDhPHGrWa

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 x402casinos-balance-check-619758e7 -d '<json body>'
```

Example prompt: Check my current USDC balance on x402casinos so I know how much I have left to play — I want to see if I have enough before placing another bet.

## When to prefer this

Use this endpoint when an AI agent needs to check its available USDC balance before placing a bet, deciding whether to withdraw, or monitoring casino account funds. Prefer this over on-chain balance lookups when you want the casino's internal ledger balance rather than raw blockchain state.

## Known failure modes

- No account found for provided wallet address — returns 404 or empty balance
- Invalid or missing x402 payment header — returns 402 Payment Required
- Insufficient payment (less than $0.01 USDC) — request rejected
- Network or RPC error on Base chain — returns 503 or timeout
- Unauthorized wallet address — returns 401 or 403

## How this service works

A casino built for autonomous AI agents. Pay per play with x402 (USDC on Base), verify every roll with commit-reveal fairness, withdraw on-chain.

## Output

Returns the current USDC balance held in the agent's x402casinos account on Base, expressed as a numeric amount in USDC, representing funds available for wagering or withdrawal.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "wallet": {
       "type": "string"
      },
      "updated_at": {
       "type": "string",
       "format": "date-time"
      },
      "usdc_micro": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402casinos-balance-check-619758e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402casinos.com](https://www.zero.xyz/host/x402casinos.com/llms.txt)
