# Phantom API — Sonic NFT Metadata

> Phantom API — Sonic NFT Metadata 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-09-14).

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

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/sonic/nft/metadata
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-sonic-nft-metadata-1f782255
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TzlqpAzoBCBJ770NKfZdQ

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-sonic-nft-metadata-1f782255 -d '<json body>'
```

Example prompt: Can you pull the on-chain metadata for the Sonic NFT at contract address 0xAbCd...1234 with token ID 42 — I need its name, image, and any traits or attributes stored on-chain.

## When to prefer this

Use this endpoint when you specifically need NFT metadata from the Sonic blockchain network and want a fast, pay-per-call API without subscription commitments. Prefer this over general-purpose NFT APIs if you are working within the Sonic ecosystem and need low-latency on-chain data access at $0.01 per call.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty response
- Token ID not found within the contract returns null or 404-style error
- Sonic network RPC downtime causes timeout or service unavailable response
- Malformed input (non-string tokenId or contractAddress) may return a validation error
- Payment failure via x402 protocol prevents the call from being processed

## 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 NFT metadata for the specified token on the Sonic network, typically including the token name, description, image URL, and an array of attributes/traits stored in the smart contract or linked metadata 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-sonic-nft-metadata-1f782255/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)
