# Base ERC-1155 Balance Batch Lookup

> Base ERC-1155 Balance Batch Lookup is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-21).

Returns ERC-1155 token balances for a given wallet address and up to 20 token IDs on Base mainnet using balanceOfBatch.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base-erc1155-balance?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-erc-1155-balance-batch-lookup-5a355f07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LbghPpfUeSwRYcctSAK_q

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-erc-1155-balance-batch-lookup-5a355f07 -d '<json body>'
```

Example prompt: Check the ERC-1155 balances for wallet 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311 on the Basepaint contract 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83 for token IDs 1168 and 1169.

## When to prefer this

Use this endpoint when you need to read ERC-1155 token balances on Base mainnet for up to 20 token IDs in a single call. It is read-only and has no side effects, making it safe for balance checks, access gating, and portfolio queries. Prefer this over manually constructing RPC calls when you want a simple, paid API abstraction for balanceOfBatch without managing your own blockchain node.

## Known failure modes

- Invalid contract address format returns an error
- Invalid owner wallet address format returns an error
- More than 20 token IDs provided exceeds batch limit
- Token IDs that don't exist on the contract return balance of 0
- Network or RPC errors on Base mainnet may cause timeouts
- Payment of exactly $0.003 USDC required; incorrect amount rejects the call

## How this service works

Call when an agent needs ERC-1155 balances for one Base wallet and up to 20 token ids via balanceOfBatch. Send contract, owner, and comma-separated token_ids. Example: Basepaint 1168 and 1169. Read-only. No spend. Send JSON {"contract":"0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83","owner":"0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311","token_ids":"1168,1169"}. Exact $0.003 USDC on Base. Try unpaid POST /v1/sandbox/base-erc1155-balance first.

## Output

Returns an array of token balances corresponding to each requested token ID, reflecting the on-chain balanceOfBatch result for the given owner and contract on Base mainnet.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "owner": {
   "type": "string",
   "examples": [
    "0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311"
   ],
   "description": "Wallet whose balances are read. Example: 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311. EIP-55 or all one case. Sent as the account in balanceOf and balanceOfBatch."
  },
  "contract": {
   "type": "string",
   "examples": [
    "0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83"
   ],
   "description": "ERC-1155 contract on Base mainnet. Example: 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83. EIP-55 or all one case. balanceOfBatch is read-only."
  },
  "token_ids": {
   "type": "string",
   "examples": [
    "1168,1169"
   ],
   "description": "Comma-separated ERC-1155 ids, 1 to 20. Example: 1168,1169. One id is balanceOf; several ids are balanceOfBatch. A JSON number is not an array."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-erc-1155-balance-batch-lookup-5a355f07/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
