# Phantom API — Abstract NFT Sales

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

Fetches on-chain NFT sales transaction history for a given smart contract on the Abstract network, filtered by block range and ordered by block number.

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/abstract/nft/sales?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-abstract-nft-sales-0a9a34c5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RqWycPotp9ofoEk4Or8-u

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-abstract-nft-sales-0a9a34c5 -d '<json body>'
```

Example prompt: Pull the last 50 NFT sales for contract 0xAbC123... on Abstract, from block 1000000 to 1050000, sorted in descending order.

## When to prefer this

Use this endpoint when you need fast, pay-per-call access to NFT sales history on the Abstract network without committing to a subscription. Prefer it over general-purpose blockchain RPC nodes when you need pre-indexed, structured NFT sale events rather than raw transaction logs. Best suited for agents that need to query specific contract sales activity by block range without setting up dedicated indexing infrastructure.

## Known failure modes

- Invalid or non-existent contract address returns empty results or an error
- fromBlock greater than toBlock causes invalid range error
- Limit set too high may result in timeout or truncated response
- Block range outside indexed data returns empty results
- Missing required contractAddress field causes validation error
- Network unavailability or Vercel cold-start may cause latency spikes

## 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 recorded on-chain for the specified contract on the Abstract network, each entry containing sale details (such as transaction info, block number, and sale data) filtered by the provided block range, sorted as specified, and capped at the given 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-abstract-nft-sales-0a9a34c5/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)
