# Phantom API — Optimism NFT by Owner

> Phantom API — Optimism NFT by Owner 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).

Retrieves all NFTs owned by a given wallet address on the Optimism network, with pagination support.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/optimism/nft/by-owner?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-optimism-nft-by-owner-f5686bf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hsdkxGtvjfinybWSolAfa

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-optimism-nft-by-owner-f5686bf4 -d '<json body>'
```

Example prompt: Show me all the NFTs owned by wallet 0xAbCd...1234 on the Optimism network — fetch up to 50 results.

## When to prefer this

Use this endpoint when you specifically need to enumerate NFT holdings for a wallet address on the Optimism L2 network and want pay-per-call pricing without a subscription. Prefer this over general Ethereum mainnet NFT APIs when the user is interested in Optimism-native or bridged NFTs on OP chain.

## Known failure modes

- Invalid or malformed wallet address returns an error or empty result
- Network/RPC unavailability on Optimism causes timeout or 5xx
- Missing required 'owner' field returns a validation error
- Invalid pageKey causes a pagination failure or restarted result set
- Rate limiting or payment failure (x402) 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 a list of NFTs owned by the specified wallet address on the Optimism chain, including token metadata (contract address, token ID, name, image, description), along with a pagination key for fetching subsequent pages when the owner holds more NFTs than the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "owner": {
   "type": "string"
  },
  "pageKey": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-optimism-nft-by-owner-f5686bf4/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)
