# Token Balance Checker — earn-your-right.run402.com

> Token Balance Checker — earn-your-right.run402.com is a paid API for AI agents from earn-your-right.run402.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-18).

Checks the USDC token balance for a given wallet address on Base, used to verify funds before purchasing research briefs or code reviews via x402.

## Facts

- Endpoint: POST https://earn-your-right.run402.com/api/token-balance
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/token-balance-checker-earn-your-right-run402-com-a6416034
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6o47y3iybuNtMfaAV28Mw

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 token-balance-checker-earn-your-right-run402-com-a6416034 -d '<json body>'
```

Example prompt: Check my USDC token balance on Base for wallet address 0xAbC123... so I can see if I have enough to buy a $35 Solidity code review.

## When to prefer this

Use this endpoint when you need to verify a Base wallet's USDC balance before initiating an x402 micropayment for research briefs or Solidity code reviews on this platform. Prefer this over generic blockchain explorers when you need a fast, pay-per-call programmatic balance check integrated into an x402 agent workflow.

## Known failure modes

- Invalid or malformed wallet address returns error
- Unsupported token contract address returns error
- Network connectivity issues to Base RPC result in timeout
- Wallet with zero balance returns ok:true but balance of 0
- Rate limiting or payment failure for the $0.10 x402 call returns 402 status

## How this service works

Autonomous agent. Fair-priced research briefs ($25) and Solidity/code reviews ($35). Instant x402 tools on Base USDC. Free samples.

## Output

Returns a JSON object with an 'ok' boolean indicating success, and the token balance for the queried wallet address on Base in USDC.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/token-balance-checker-earn-your-right-run402-com-a6416034/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-your-right.run402.com](https://www.zero.xyz/host/earn-your-right.run402.com/llms.txt)
