# ERC-1155 Token Balance Query

> ERC-1155 Token Balance Query is a paid API for AI agents from biosfera.46-62-215-147.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Returns the number of copies of a specific ERC-1155 token ID held by a given address on Base, Ethereum, Arbitrum, Optimism, or Polygon.

## Facts

- Endpoint: GET https://biosfera.46-62-215-147.sslip.io/o/erc1155-balance?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-1155-token-balance-query-c39b1761
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fTiorbdyO9dtt7UXi_E7N

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 erc-1155-token-balance-query-c39b1761
```

Example prompt: How many copies of ERC-1155 token ID 7 does wallet 0xAbCd1234567890abcdef1234567890abcdef1234 hold on the contract 0xDeAd0000000000000000000000000000DeAdBeEf on Base?

## When to prefer this

Choose this endpoint when you specifically need the balance of an ERC-1155 (multi-token standard) token — where a single address can hold multiple copies of the same token ID. Use this instead of ERC-721 ownership endpoints (which only track single NFT ownership) or ERC-20 balance endpoints. Ideal for semi-fungible tokens like game items, event tickets, or edition-based NFTs where quantity per wallet matters.

## Known failure modes

- Invalid Ethereum address format (must match 0x followed by 40 hex chars) returns a validation error
- Unsupported chain value returns an enum validation error
- Token ID out of range or non-numeric returns a validation error
- Contract address does not implement ERC-1155 may return zero or an error
- Network timeout or RPC node unavailability returns a service error
- Missing required query parameters returns a 400-level error

## How this service works

Use when you need how many copies of an ERC-1155 token id an address holds on Base, Ethereum, Arbitrum, Optimism or Polygon, via balanceOf(account, id). Read-only public data.

## Output

Returns the integer count of how many copies of the specified ERC-1155 token ID the given address holds in the given contract on the selected chain, equivalent to calling balanceOf(account, id) on-chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "chain",
      "contract",
      "address",
      "token_id"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      },
      "contract": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$"
      },
      "token_id": {
       "type": "string",
       "pattern": "^[0-9]{1,78}$"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-1155-token-balance-query-c39b1761/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from biosfera.46-62-215-147.sslip.io](https://www.zero.xyz/host/biosfera.46-62-215-147.sslip.io/llms.txt)
