Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

opensea

БесплатноЗапускает вложенные скриптыНе проверен

Interact with the OpenSea API (api.opensea.io) to query NFT collections, retrieve NFT metadata and images, get collection stats and floor prices, fetch…

jiayaoqijiaот jiayaoqijia★ 81 звезда на GitHub

Об этом скилле

OpenSea API

Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more.

Quick start

  1. Set OPENSEA_API_KEY in your environment
  2. Preferred: Use the opensea CLI (@opensea/cli) for all queries and operations
  3. Alternatively, use the shell scripts in scripts/ or the MCP server
export OPENSEA_API_KEY="your-api-key"

# Install the CLI globally (or use npx)
npm install -g @opensea/cli

# Get collection info
opensea collections get boredapeyachtclub

# Get floor price and volume stats
opensea collections stats boredapeyachtclub

# Get NFT details
opensea nfts get ethereum 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d 1234

# Get best listings for a collection
opensea listings best boredapeyachtclub --limit 5

# Search across OpenSea
opensea search "cool cats"

# Get trending tokens
opensea tokens trending --limit 5

# Get a swap quote
opensea swaps quote \
  --from-chain base --from-address 0x0000000000000000000000000000000000000000 \
  --to-chain base --to-address 0xTokenAddress \
  --quantity 0.02 --address 0xYourWallet

Task guide

Recommended: Use the opensea CLI (@opensea/cli) as your primary tool. It covers all the operations below with a consistent interface, structured output, and built-in pagination. Install with npm install -g @opensea/cli or use npx @opensea/cli. The shell scripts in scripts/ remain available as alternatives.

Token swaps

OpenSea's API includes a cross-chain DEX aggregator for swapping ERC20 tokens with optimal routing across all supported chains.

Task CLI Command Alternative
Get swap quote with calldata opensea swaps quote --from-chain <chain> --from-address <addr> --to-chain <chain> --to-address <addr> --quantity <qty> --address <wallet> get_token_swap_quote (MCP) or opensea-swap.sh
Get trending tokens opensea tokens trending [--chains <chains>] [--limit <n>] get_trending_tokens (MCP)
Get top tokens by volume opensea tokens top [--chains <chains>] [--limit <n>] get_top_tokens (MCP)
Get token details opensea tokens get <chain> <address> get_tokens (MCP)
Search tokens opensea search <query> --types token search_tokens (MCP)
Check token balances get_token_balances (MCP) —

Reading NFT data

Task CLI Command Alternative
Get collection details opensea collections get <slug> opensea-collection.sh <slug>
Get collection stats opensea collections stats <slug> opensea-collection-stats.sh <slug>
List NFTs in collection opensea nfts list-by-collection <slug> [--limit <n>] opensea-collection-nfts.sh <slug> [limit] [next]
Get single NFT opensea nfts get <chain> <contract> <token_id> opensea-nft.sh <chain> <contract> <token_id>
List NFTs by wallet opensea nfts list-by-account <chain> <address> [--limit <n>] opensea-account-nfts.sh <chain> <address> [limit]
List NFTs by contract opensea nfts list-by-contract <chain> <contract> [--limit <n>] —
Get collection traits opensea collections traits <slug> —
Get contract details opensea nfts contract <chain> <address> —
Refresh NFT metadata opensea nfts refresh <chain> <contract> <token_id> —

Marketplace queries

Task CLI Command Alternative
Get best listings for collection opensea listings best <slug> [--limit <n>] opensea-best-listing.sh <slug> <token_id>
Get best listing for specific NFT opensea listings best-for-nft <slug> <token_id> opensea-best-listing.sh <slug> <token_id>
Get best offer for NFT opensea offers best-for-nft <slug> <token_id> opensea-best-offer.sh <slug> <token_id>
List all collection listings opensea listings all <slug> [--limit <n>] opensea-listings-collection.sh <slug> [limit]
List all collection offers opensea offers all <slug> [--limit <n>] opensea-offers-collection.sh <slug> [limit]
Get collection offers opensea offers collection <slug> [--limit <n>] opensea-offers-collection.sh <slug> [limit]
Get trait offers opensea offers traits <slug> --type <type> --value <value> —
Get order by hash — opensea-order.sh <chain> <order_hash>

Marketplace actions (POST)

Task Script
Get fulfillment data (buy NFT) opensea-fulfill-listing.sh <chain> <order_hash> <buyer>
Get fulfillment data (accept offer) opensea-fulfill-offer.sh <chain> <order_hash> <seller> <contract> <token_id>
Generic POST request opensea-post.sh <path> <json_body>

Search

Task CLI Command
Search collections opensea search <query> --types collection
Search NFTs opensea search <query> --types nft
Search tokens opensea search <query> --types token
Полный SKILL.md на GitHub

Установить opensea в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SOURCE.mdTRUST.auto.yamlreferences/marketplace-api.mdreferences/rest-api.mdreferences/seaport.mdreferences/stream-api.mdreferences/token-swaps.mdscripts/opensea-account-nfts.shscripts/opensea-best-listing.shscripts/opensea-best-offer.shscripts/opensea-collection-nfts.shscripts/opensea-collection-stats.shscripts/opensea-collection.shscripts/opensea-events-collection.shscripts/opensea-fulfill-listing.shscripts/opensea-fulfill-offer.shscripts/opensea-get.shscripts/opensea-listings-collection.shscripts/opensea-listings-nft.shscripts/opensea-nft.shscripts/opensea-offers-collection.shscripts/opensea-offers-nft.shscripts/opensea-order.shscripts/opensea-post.shscripts/opensea-stream-collection.shscripts/opensea-swap.sh

FAQ

Что делает скилл opensea?

Interact with the OpenSea API (api.opensea.io) to query NFT collections, retrieve NFT metadata and images, get collection stats and floor prices, fetch marketplace listings and offers, execute Seaport trades, and swap ERC20 tokens. Provides the @opensea/cli command-line tool, curl-based shell scripts with built-in retry and backoff, and a programmatic TypeScript SDK. Use when making any API calls to OpenSea, using an OPENSEA_API_KEY, querying NFT or collection data, fetching NFT images or metadata, checking floor prices, or building applications that integrate with OpenSea. Triggers on tasks mentioning OpenSea API, NFT data fetching, collection queries, marketplace listings, token swaps, Seaport protocol, or api.opensea.io endpoints. Always prefer this skill's CLI and scripts over writing raw curl commands to OpenSea.

Как установить скилл opensea?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл opensea запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить opensea с