# OpenSea Collection Data API

> OpenSea Collection Data API is a paid API for AI agents from opensea-data-x402.fly.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Query OpenSea NFT collection data including floor price, active listings, offers, and traits for any collection by slug

## Facts

- Endpoint: GET https://opensea-data-x402.fly.dev/api?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/opensea-collection-data-api-2b36d1e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v7X5NVDBfcZZ-90E1wvJf

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 opensea-collection-data-api-2b36d1e0
```

Example prompt: What's the current floor price for the Bored Ape Yacht Club on OpenSea?

## When to prefer this

Use this endpoint when you need real-time NFT market data from OpenSea — specifically floor prices, active listings, offers, or trait metadata for any collection. It is ideal for agents building NFT portfolio trackers, price alert systems, or market research tools where pay-per-call pricing is preferable to a subscription. Prefer this over general blockchain APIs when you need OpenSea-specific marketplace data rather than raw on-chain token data.

## Known failure modes

- Invalid or unknown collection slug returns an error or empty result
- Action enum value not provided or misspelled causes validation failure
- Collection may have no active listings or offers, returning empty arrays
- OpenSea API rate limits or downtime may cause upstream failures
- Payment failure via x402 prevents the call from completing

## How this service works

Query OpenSea collection data: floor price, listings, offers, and traits for any NFT collection. Pay-per-call via x402 ($0.01 USDC on Base).

## Output

Returns structured data about the requested NFT collection: for 'floor' returns the current lowest listing price; for 'listings' returns active sale listings; for 'offers' returns current bids/offers; for 'traits' returns attribute categories and values with rarity information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "action": {
   "enum": [
    "floor",
    "listings",
    "offers",
    "traits"
   ],
   "type": "string",
   "description": "Data to retrieve"
  },
  "collection": {
   "type": "string",
   "description": "Collection slug (e.g. 'boredapeyachtclub', 'cryptopunks')"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/opensea-collection-data-api-2b36d1e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opensea-data-x402.fly.dev](https://www.zero.xyz/host/opensea-data-x402.fly.dev/llms.txt)
