# Phantom API – Linea NFT Sales

> Phantom API – Linea 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-09-15).

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

## Facts

- Endpoint: POST https://phantom-api-omega.vercel.app/api/linea/nft/sales
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/phantom-api-linea-nft-sales-6cda1ea3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z_HI4LIGLGqD52luxmOYD

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-linea-nft-sales-6cda1ea3 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you specifically need NFT sales data on the Linea blockchain with flexible block-range and contract filtering. Prefer it over generic blockchain explorers when you need programmatic, pay-per-call access without API key setup, or when working with 57+ multi-chain infrastructure via a single provider. Best suited for agents needing on-chain NFT trade history for analytics, auditing, or monitoring tasks on Linea.

## Known failure modes

- Invalid contract address format returns validation error
- fromBlock greater than toBlock returns empty result or error
- Block range too large may result in timeout or truncated response
- Unrecognized sort order enum value returns bad request error
- Missing required fields may return default behavior or error depending on implementation
- Network or RPC issues on Linea may cause temporary failures

## 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 sales events on the Linea blockchain matching the given filters, including transaction details such as sale price, token IDs, buyer/seller addresses, and block numbers. Results are ordered and limited according to the request parameters.

## 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-linea-nft-sales-6cda1ea3/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)
