api.zato.org/api/chain/erc1155-balance
Use when an agent needs how many units of an ERC-1155 token id a wallet holds (multi-edition NFTs, game items, semi-fungible tokens) on Ethereum (default) or Base. Read-only eth_call to balanceOf(address,uint256); returns the raw integer balance. Payment in USDC on Base via x402.
GET
https://api.zato.org/api/chain/erc1155-balanceUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.zato.org/api/chain/erc1155-balance?address=0xd8da6bf26964af9d7eed9e03e53415d37aa96045&contract=0x76be3b62873462d2142405439777e971754e8e77&token_id=1");
console.log(await res.json());Example input
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"contract": "0x76be3b62873462d2142405439777e971754e8e77",
"token_id": "1"
}More from NFT DataProvider status
- api.zato.org/api/chain/erc721-tokensUse when an agent needs to know which NFTs of a given collection a wallet owns: balanceOf plus the token ids via ERC721Enumerable (up to 50) on Ethereum (default) or Base. Honest limit: no indexer - collections that are not enumerable return only the count.0.003
- api.zato.org/api/chain/nft-metadataUse when an agent needs what an NFT actually is: reads tokenURI (ERC-721) or uri(id) (ERC-1155) on Ethereum (default) or Base and fetches the metadata JSON (ipfs:// via public gateway, https, or data: URIs) - name, description, image, attributes. Fetch is SSRF-safe, max 9 s and 200 KB per gateway.0.003
- www.nftdata.app/api/get-collection-dataNFT Data — get_collection_data (0.002 USDC). Returns structured NFT collection and market data for any OpenSea collection slug.0.002
