{"uid":"cap_LbghPpfUeSwRYcctSAK_q","slug":"base-erc-1155-balance-batch-lookup-5a355f07","name":"Base ERC-1155 Balance Batch Lookup","description":"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.","url":"https://agentshelf.syntexa.ch/v1/base-erc1155-balance?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aqyLLIIDt312W4Af0id1u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ERC-1155 token balances for a given wallet address and up to 20 token IDs on Base mainnet using balanceOfBatch.","exampleAgentPrompt":"Check the ERC-1155 balances for wallet 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311 on the Basepaint contract 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83 for token IDs 1168 and 1169.","exampleUseCases":[{"title":"Verify Basepaint NFT ownership","prompt":"Does wallet 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311 own any Basepaint tokens with IDs 1168 or 1169 on the contract 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83?"},{"title":"Gate access by ERC-1155 holdings","prompt":"I need to check if address 0xAbCd1234abcd1234abcd1234abcd1234abcd1234 holds token IDs 5, 10, and 15 from the ERC-1155 contract 0x1234567890abcdef1234567890abcdef12345678 on Base — can you fetch those balances?"},{"title":"Portfolio snapshot for ERC-1155 collector","prompt":"Pull the balances for token IDs 1, 2, 3, 4, and 5 from ERC-1155 contract 0xBa5e05cb26b78eDa3A2f8e3b3814726305dcAc83 for my wallet 0x8BA0D7704dF6a610F4ce9937d31E0Bbc19717311 so I can see what I'm holding."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T06:45:37.342Z","isFirstParty":false,"canonicalSlug":"base-erc-1155-balance-batch-lookup-5a355f07"}