# Phantom API — Sonic NFT Sales

> Phantom API — Sonic NFT Sales 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).

Retrieves NFT sales transaction history on the Sonic blockchain network, filterable by block range and contract address.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/sonic/nft/sales?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-sonic-nft-sales-820d4e42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PZYJB87q29Bzvj8rgP868

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-sales-820d4e42 -d '<json body>'
```

Example prompt: Pull the last 50 NFT sales on Sonic blockchain for contract address 0xAbC123... sorted in descending order from block 1000000 down to block 990000.

## When to prefer this

Choose this endpoint when you need historical or recent NFT sales data specifically on the Sonic blockchain network, with the ability to scope by block range and contract address. It is pay-per-call at $0.01 USDC via x402, making it cost-effective for spot queries rather than high-frequency streaming. Prefer it over general Web3 RPC calls when you want pre-indexed, structured NFT sales events without writing raw contract event filters.

## Known failure modes

- Invalid or non-existent contract address returns empty results or an error
- fromBlock greater than toBlock causes a query error or empty response
- Limit too large may cause timeouts or truncated results
- Block range outside the indexed range returns no data
- Payment failure (x402) if USDC balance is insufficient — call blocked before execution

## 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 NFT sale events on the Sonic network matching the specified filters, including details such as block number, transaction hash, contract address, sale price, buyer/seller addresses, and token IDs — paginated up to the requested limit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number"
  },
  "order": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string"
  },
  "toBlock": {
   "type": "number"
  },
  "fromBlock": {
   "type": "number"
  },
  "contractAddress": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/phantom-api-sonic-nft-sales-820d4e42/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)
