# Base NFT Metadata

> Base NFT Metadata is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Fetches the token URI and parsed metadata (name, description, image, attributes) for a specific ERC-721 NFT on the Base blockchain

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/base/nft-metadata?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-base-nft-metadata-c4b9ddc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6Djd92CV9lSgpBYwKrzC-

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 agent-data-tools-revmesh2074-workers-dev-base-nft-metadata-c4b9ddc0
```

Example prompt: Can you pull up the metadata for token ID 42 of the Base NFT collection at contract address 0xd4307e0acd12cf46fd6cf93bc264f5d5d1598792 — I want to see its name, image, and any traits?

## When to prefer this

Use this endpoint when you need to display or verify what a specific Base ERC-721 NFT represents — its name, image, and traits. Prefer it over generic blockchain RPC calls because it automatically resolves data: URIs, HTTPS URLs, and IPFS links through ipfs.io, truncates oversized SVGs, and returns a clean parsed JSON rather than raw ABI-encoded data. For NFT ownership queries, use the companion base_nft_owner endpoint instead.

## Known failure modes

- Token does not exist → 422 Unprocessable Entity (no charge)
- Metadata unreachable (bad IPFS CID, dead HTTPS URL) → 200 with metadataError field populated
- Invalid contract address format → 422 or error response
- Contract is not ERC-721 compliant → tokenURI call fails, reported in metadataError
- IPFS gateway timeout → metadataError populated, no retry

## How this service works

NFT metadata on Base: the token URI of one ERC-721 token id (tokenURI) and the JSON it points to (name, description, image, attributes), read from data: URIs, https or ipfs:// (through ipfs.io). Strings over 1,000 characters, such as on-chain SVG images, are shortened. Use to show or check what an NFT is; for its owner use base_nft_owner. A token that does not exist is 422, uncharged; unreachable metadata is reported in metadataError.

## Output

Returns a JSON object containing the chain name and ID, contract address, token ID, collection symbol, the tokenURI string, a parsed metadata object with name, description, and image URL (and attributes when available), the metadata source type (data URI, HTTPS, or IPFS), and a metadataError field if the metadata could not be fetched. Long strings like on-chain SVGs are truncated to 1,000 characters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "contract",
  "tokenId"
 ],
 "properties": {
  "tokenId": {
   "type": "string",
   "description": "Token id, a whole number"
  },
  "contract": {
   "type": "string",
   "description": "0x ERC-721 collection contract address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name": {
   "type": "string"
  },
  "chain": {
   "type": "string"
  },
  "symbol": {
   "type": "string"
  },
  "chainId": {
   "type": "number"
  },
  "tokenId": {
   "type": "string"
  },
  "contract": {
   "type": "string"
  },
  "metadata": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "image": {
     "type": "string"
    },
    "description": {
     "type": "string"
    }
   }
  },
  "tokenUri": {
   "type": "string"
  },
  "metadataError": {},
  "metadataSource": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-base-nft-metadata-c4b9ddc0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
