# NFT Metadata Lookup

> NFT Metadata Lookup is a paid API for AI agents from nft-metadata.api.klymax402.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Fetches on-chain NFT metadata (name, description, image, attributes, etc.) for a given contract address and token ID on Ethereum or Base

## Facts

- Endpoint: GET https://nft-metadata.api.klymax402.com/api/metadata
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nft-metadata-lookup-bd0cf8a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Pczm5XdoFH9oSjl-gVH2C

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-lookup-bd0cf8a7
```

Example prompt: Can you fetch the metadata for Bored Ape Yacht Club token ID 1234 — the contract is 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum?

## When to prefer this

Use this endpoint when you need to retrieve NFT metadata directly by contract address and token ID on Ethereum or Base, without scraping a marketplace UI. Prefer this over general blockchain explorers when you need structured metadata (traits, image, description) in a programmatic, agent-friendly format for a single token lookup.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Token ID does not exist within the contract (unminted or burned token)
- Unsupported chain value (only 'ethereum' and 'base' are accepted)
- Contract is not ERC-721 or ERC-1155 compliant and metadata cannot be resolved
- Off-chain metadata URI is unreachable or returns malformed JSON
- Payment failure results in 402 response before metadata is returned

## How this service works

Fetch NFT metadata from contract and token ID

## Output

Returns NFT metadata for the specified token, typically including the token name, description, image URL, animation URL (if any), and a list of trait/attribute key-value pairs as defined by the contract's token URI.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "Blockchain: 'ethereum' or 'base' (default: ethereum)"
  },
  "tokenId": {
   "type": "string",
   "description": "Token ID within the contract"
  },
  "contract": {
   "type": "string",
   "description": "NFT contract address (e.g. 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nft-metadata-lookup-bd0cf8a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nft-metadata.api.klymax402.com](https://www.zero.xyz/host/nft-metadata.api.klymax402.com/llms.txt)
