# Phantom API — Berachain NFT Metadata Lookup

> Phantom API — Berachain NFT Metadata Lookup is a paid API for AI agents from phantom-api-omega.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Fetches on-chain NFT metadata for a given token ID and contract address on the Berachain network

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/berachain/nft/metadata?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-berachain-nft-metadata-lookup-322e5c0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DTpazTWPpAQPVRiZzYNHM

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 phantom-api-berachain-nft-metadata-lookup-322e5c0d -d '<json body>'
```

Example prompt: Can you pull the metadata for token ID 1234 from the Berachain NFT contract at 0xAbCd1234...5678? I want to see its name, image, and traits.

## When to prefer this

Use this endpoint when you specifically need NFT metadata (name, image, traits) for a token on the Berachain network and want a pay-per-call approach without managing your own RPC node or indexer. Prefer it over generic blockchain RPC calls when you want a simple POST interface that abstracts away raw contract ABI calls.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Token ID not minted or out of range returns a not-found error
- Contract does not implement standard NFT metadata interface causes metadata parsing failure
- Network connectivity or Berachain RPC issues cause timeouts
- Malformed contractAddress or tokenId input triggers validation errors

## How this service works

Lightning-fast access to blockchain data, smart contract insights, and Web3 infrastructure across 57+ networks. Pay-per-call via x402.

## Output

Returns on-chain metadata for the specified NFT token on Berachain, typically including the token name, description, image URI, external URL, and an array of trait/attribute key-value pairs as defined by the NFT contract's token URI.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tokenId": {
   "type": "string"
  },
  "contractAddress": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-berachain-nft-metadata-lookup-322e5c0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from phantom-api-omega.vercel.app](https://www.zero.xyz/host/phantom-api-omega.vercel.app/llms.txt)
