# NFT Collection Recent Trades by Contract

> NFT Collection Recent Trades by Contract is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-14).

Returns recent NFT sales for a given collection including buyer, seller, price, marketplace, and timestamp from an indexed data source.

## Facts

- Endpoint: GET https://api.x402node.dev/nft/trades
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nft-collection-recent-trades-by-contract-5f3ba299
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__dXjRLg4FmsXkn3avayje

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 nft-collection-recent-trades-by-contract-5f3ba299
```

Example prompt: Pull the recent NFT sales for the Bored Ape Yacht Club contract (0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D) on Ethereum — I want to see who bought and sold, at what price, and on which marketplace.

## When to prefer this

Use this endpoint when you need granular trade-level data for a specific NFT collection — individual buyer/seller pairs, exact prices, and marketplace attribution — rather than just aggregate stats. Ideal for wash-trade detection, price history analysis, and marketplace activity monitoring on a per-contract basis.

## Known failure modes

- Invalid or unrecognized contract address returns empty results or 404
- Unsupported chain identifier returns an error
- API key missing or invalid returns 401/402 unauthorized
- Collection has no recent trade activity returns empty array
- Rate limiting or payment failure returns 402 payment required

## How this service works

Recent NFT sales for a collection by contract and chain: buyer, seller, price, marketplace and time, from an indexed source behind an API key. For floor, volume and wash-trade analysis. nft trades, nft sales, recent sales, nft price history, marketplace activity Accepts payment on Base or Solana — either network works.

## Output

A list of recent trades for the specified NFT collection including each trade's buyer wallet address, seller wallet address, sale price, marketplace where the trade occurred, and timestamp of the transaction, sourced from an indexed on-chain data provider.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "default ethereum"
      },
      "limit": {
       "type": "string",
       "description": "rows (default 20, max 50)"
      },
      "address": {
       "type": "string",
       "description": "collection contract 0x..."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nft-collection-recent-trades-by-contract-5f3ba299/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
