# ERC-1155 Token Metadata URI Lookup

> ERC-1155 Token Metadata URI Lookup is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Returns the metadata URI for a specific ERC-1155 token ID on a given EVM-compatible blockchain contract.

## Facts

- Endpoint: POST https://twin.unykorn.org/erc1155-uri?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-1155-token-metadata-uri-lookup-d755f94c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lNr55WjsYcqAgWejVnfvw

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-metadata-uri-lookup-d755f94c -d '<json body>'
```

Example prompt: What's the metadata URI for token ID 7 on the ERC-1155 contract 0xd9145CCE52D386f254917e481eB44e9943F39138 on Polygon?

## When to prefer this

Use this endpoint when you need to resolve the metadata URI for a specific ERC-1155 token on any of the 10 supported EVM chains without running your own RPC node. It is particularly useful for agents building NFT explorers, game asset managers, or multi-chain dashboards that need on-chain URI data without managing blockchain infrastructure. Prefer this over generic EVM RPC calls when you want a simple, paid, pre-authenticated lookup with a structured response.

## Known failure modes

- Invalid contract address format (must be 0x-prefixed 40 hex chars) returns validation error
- Unsupported chain name returns enum validation error
- Token ID does not exist on contract may return empty or revert-based error
- Network connectivity issues to the specified chain RPC may cause timeouts
- Payment failure via x402 protocol prevents request from being processed

## How this service works

Metadata URI for one ERC1155 token id — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok:true, the type field set to 'erc1155-uri' (implying the URI string is included), a payment receipt with transaction hash, USD amount, and receipt ID, and a generated_at ISO8601 timestamp. The core result is the metadata URI string associated with the queried token ID on the specified contract and chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "chain": {
     "enum": [
      "ethereum",
      "base",
      "polygon",
      "arbitrum",
      "optimism",
      "bsc",
      "avalanche",
      "gnosis",
      "linea",
      "scroll"
     ],
     "type": "string"
    },
    "tokenId": {
     "type": "integer",
     "minimum": 0
    },
    "contract": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]{40}$"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "erc1155-uri",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.003,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-1155-token-metadata-uri-lookup-d755f94c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
