# x402 OpenSea — NFT Collections Discovery

> x402 OpenSea — NFT Collections Discovery is a paid API for AI agents from 402opensea.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Lists NFT collections on the Base blockchain via OpenSea API v2, accessible with a pay-per-call x402 USDC micropayment.

## Facts

- Endpoint: POST https://402opensea.vercel.app/api/opensea/collections?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/x402-opensea-nft-collections-discovery-7bf18099
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oCdZG8EGa69h1Cn9WIZjA

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 x402-opensea-nft-collections-discovery-7bf18099 -d '<json body>'
```

Example prompt: Pull up a list of NFT collections available on Base from OpenSea — I want to browse what digital collectibles are out there right now.

## When to prefer this

Choose this endpoint when you need a pay-per-use, low-cost ($0.01 USDC) way to query NFT collections on the Base blockchain using real OpenSea data, without requiring a long-term API key setup. Ideal for AI agents that need on-demand NFT discovery with x402 micropayment support built in, especially in Web3-native workflows on Base chain.

## Known failure modes

- Payment not provided or insufficient USDC — x402 payment required error
- OpenSea API v2 rate limit exceeded — upstream API throttle error
- Invalid chain parameter — returns error or empty results
- OpenSea API credentials invalid or expired — 401/403 upstream error
- Network timeout reaching OpenSea backend — 504 or timeout error

## How this service works

Discover digital collectibles and access them with x402 payments in USDC.

## Output

Returns a JSON object confirming success, the queried chain (e.g. 'base'), the number of collections found, the data source ('OpenSea API v2'), and an array of collection objects each containing the collection name, slug, and chain identifier.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "count": 1,
  "source": "OpenSea API v2",
  "success": true,
  "collections": [
   {
    "name": "Example collection",
    "slug": "example-collection",
    "chain": "base"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-opensea-nft-collections-discovery-7bf18099/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402opensea.vercel.app](https://www.zero.xyz/host/402opensea.vercel.app/llms.txt)
