# NFT Metadata

> NFT Metadata is a paid API for AI agents from bess-x402.onrender.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-30).

Resolves and returns structured metadata (name, description, image, traits) for any ERC-721 or ERC-1155 NFT token on major EVM chains.

## Facts

- Endpoint: GET https://bess-x402.onrender.com/v1/evm/nft-metadata?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nft-metadata-c8c4879b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mMnoQY3mIxvuwgW3S_288

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 nft-metadata-c8c4879b
```

Example prompt: Can you pull the metadata for token ID 4521 of the Bored Ape Yacht Club contract (0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D) on Ethereum — I want the name, image, and all its traits.

## When to prefer this

Use this endpoint when you need resolved, human-readable NFT metadata (name, image, traits) rather than raw on-chain data. It handles URI resolution from IPFS, Arweave, data URIs, and HTTPS automatically, saving you from implementing multi-protocol resolution yourself. Ideal for NFT display UIs, rarity tools, appraisal workflows, or any agent that needs to present NFT details across Ethereum, Base, Arbitrum, Optimism, or Polygon.

## Known failure modes

- Invalid or non-existent contract address returns an error
- Token ID not found on the contract returns a not-found error
- Unsupported chain name returns a validation error
- Token URI pointing to an unreachable or rate-limited IPFS/Arweave gateway causes a timeout or fetch failure
- Contract is not an ERC-721 or ERC-1155 token, causing metadata resolution to fail

## How this service works

Metadata of an ERC-721 or ERC-1155 token: token URI resolved from IPFS, Arweave, data URI or https into name, description, image link and traits. Use for NFT displays, rarity or appraisal.

## Output

Returns structured NFT metadata resolved from the token URI (which may point to IPFS, Arweave, a data URI, or HTTPS), including the token's name, description, image URL, and an array of traits/attributes as key-value pairs.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "contract",
      "token_id"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "ethereum, base, arbitrum, optimism or polygon"
      },
      "contract": {
       "type": "string",
       "description": "NFT contract"
      },
      "token_id": {
       "type": "string",
       "description": "Token ID"
      }
     }
    }
   },
   "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/nft-metadata-c8c4879b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bess-x402.onrender.com](https://www.zero.xyz/host/bess-x402.onrender.com/llms.txt)
