# base-erc1155-balance

> base-erc1155-balance is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Queries the ERC-1155 multi-token balance for a specific wallet address and token ID on Base mainnet via the balanceOf(address,uint256) contract call.

## Facts

- Endpoint: GET https://x402.agentindex.world/base/erc1155-balance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-erc1155-balance-c9cc20f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZSDfs_ivXLhuSWI6lLn7p

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 base-erc1155-balance-c9cc20f3
```

Example prompt: Check how many of token ID 7 from ERC-1155 contract 0xAbC...123 are held by wallet 0xDeF...456 on Base mainnet.

## When to prefer this

Use this endpoint when you need to read the ERC-1155 balance of a specific token ID for a wallet on Base mainnet specifically — especially for semi-fungible tokens (SFTs), gaming items, or multi-edition NFTs where one contract manages many token types. Prefer this over ERC-20 or ERC-721 balance endpoints when the contract follows the ERC-1155 standard with distinct token IDs.

## Known failure modes

- Invalid wallet address format returns an error
- Invalid or non-existent token contract address returns an error or zero balance
- Token ID does not exist on the contract may return zero rather than an error
- Network congestion on Base may cause delayed or failed RPC reads
- Negative or non-integer token_id rejected by schema validation

## How this service works

ERC1155 multi-token balance for a wallet and token id on Base mainnet via balanceOf(address,uint256).

## Output

Returns the integer quantity of the specified ERC-1155 token ID held by the given wallet address, as returned by the on-chain balanceOf(address,uint256) function on Base mainnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "title": "Token"
  },
  "wallet": {
   "type": "string",
   "title": "Wallet"
  },
  "token_id": {
   "type": "integer",
   "title": "Token Id",
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-erc1155-balance-c9cc20f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
