# Phantom API — Soneium NFT Metadata Lookup

> Phantom API — Soneium 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-20).

Fetches on-chain NFT metadata for a given token and contract address on the Soneium blockchain network.

## Facts

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

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-soneium-nft-metadata-lookup-29249cc8 -d '<json body>'
```

Example prompt: Can you pull up the metadata for token ID 42 from the Soneium NFT contract at address 0xAbCd1234...5678? I want to see the name, image, and any traits associated with it.

## When to prefer this

Use this endpoint when you specifically need NFT metadata from the Soneium network and want pay-per-call pricing via x402 (USDC) without managing API keys or subscriptions. Prefer this over general-purpose NFT APIs when Soneium chain coverage is required, or when you need lightweight per-call billing for sporadic lookups rather than bulk indexing.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Token ID does not exist on the contract — returns not found or null metadata
- Soneium RPC node unavailability causes timeout or 503 error
- Malformed input (missing contractAddress or tokenId) returns a 400 bad request
- Metadata hosted off-chain (IPFS/Arweave) may be unreachable, resulting in incomplete metadata
- Payment failure via x402 protocol blocks the request

## 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 structured NFT metadata for the specified token on the Soneium network, typically including the token name, description, image URL, and an array of trait/attribute objects (trait_type and value pairs), as well as any other standard ERC-721/1155 metadata fields stored on-chain or in linked JSON.

## 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-soneium-nft-metadata-lookup-29249cc8/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)
