Logo Opensea

Opensea

Tổ chức
alchemyplatform
opensea

Truy vấn dữ liệu sàn OpenSea — tin đăng, đề nghị mua, giao dịch/sự kiện, giá sàn, thống kê bộ sưu tập, đợt phát hành, đặc tính — và thực hiện giao dịch Seaport thông qua `@opensea/cli` chính thức cùng REST API của OpenSea trên Ethereum, Base, Arbitrum, Optimism, Polygon và nhiều mạng khác. Có chức năng tìm kiếm bộ sưu tập/NFT/token/tài khoản. KHÔNG dùng để đọc siêu dữ liệu NFT thông thường (tên, hình ảnh, đặc tính, quyền sở hữu), siêu dữ liệu token, số dư ví hiện tại, lịch sử giao dịch hoặc dữ liệu RPC trực tiếp — với các mục đích đó, hãy dùng `alchemy-cli` (trực tiếp), `alchemy-mcp`, `alchemy-api` (mã ứng dụng) hoặc `agentic-gateway` (không cần khóa API). Với nhu cầu chỉ hoán đổi token xuyên chuỗi (không liên quan đến sàn giao dịch), ưu tiên kỹ năng thuộc hệ sinh thái `lifi`. Cần có `OPENSEA_API_KEY` (có thể lấy ngay qua API).

Tổng quan

Nhà phát hànhalchemyplatform
Kho mãskills
Tên kỹ năngopensea
Sao
55
Bản fork
26
Tệp đi kèm
2
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được alchemyplatform công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Opensea trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/alchemyplatform/skills/tree/main/skills/ecosystem/opensea
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/alchemyplatform/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/ecosystem/opensea .claude/skills/opensea
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Opensea trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Opensea ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Opensea với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

OpenSea (NFT Marketplace Data + Seaport Trades)

OpenSea is the dominant NFT marketplace. This skill queries marketplace data — listings, offers, sales / events, floor prices, drops, traits — and executes Seaport trades via the official @opensea/cli. For NFT metadata (name, image, traits, ownership) outside the marketplace context, use Alchemy's NFT API instead. For pure cross-chain token swaps (no marketplace context), use the lifi ecosystem skill.

Primary toolnpx @opensea/cli@latest <command> (or npm install -g @opensea/cli)
REST API basehttps://api.opensea.io/api/v2
AuthOPENSEA_API_KEY header — instant via POST /api/v2/auth/keys, or signup at the developer portal
Optional PrivyPRIVY_APP_ID / PRIVY_APP_SECRET / PRIVY_WALLET_ID for write / fulfillment flows
ChainsEthereum, Base, Arbitrum, Optimism, Polygon, and more

When to use this skill

Use opensea when any of the following are true:

  • The user wants marketplace data — listings, offers, floor prices, sales history, collection stats
  • The user wants to buy / sell an NFT via Seaport (fulfill listing or accept offer)
  • The user wants to search across OpenSea (collections / NFTs / tokens / accounts)
  • The user wants to monitor events — sales, transfers, mints, listings, offers — for a collection or NFT
  • The user wants to explore drops or build a mint transaction for a SeaDrop contract
  • The user wants token discovery in the OpenSea-curated context (top, trending, by group)

When NOT to use this skill (handoff)

NeedUse instead
NFT metadata (name, image, traits, ownership lookup) outside a marketplace contextalchemy-api (NFT API) — broader coverage, fewer rate limits
Pure cross-chain token swap (no NFT marketplace need)lifi (ecosystem skill) — broader bridge / DEX aggregation
Token spot prices for valuationalchemy-api (Prices API)
Token metadata, search, list by chain (general)alchemy-api (Token API)
Current wallet balances (token + native)alchemy-api (Portfolio / Token API)
Transaction history (transfers in / out)alchemy-api (Transfers API)
Live blockchain reads (block #, gas, eth_call)alchemy-cli (live) or alchemy-api (JSON-RPC)
Pre-execution simulationalchemy-api (Simulation API)
Account abstraction (bundlers, gas managers)alchemy-api
Smart wallet / embedded wallet flowsalchemy-api (Wallets / Account Kit)

Scope contract

This skill covers (scope_in):

  • Marketplace data: opensea listings best, opensea listings best-for-nft, opensea offers best-for-nft, opensea offers all, opensea collections stats, opensea collections trending, opensea collections top, opensea collections traits
  • Seaport trades: fulfillment data for buying (opensea-fulfill-listing.sh) and selling (opensea-fulfill-offer.sh); creating listings / offers via opensea-post.sh with the Seaport order structure
  • Events / monitoring: opensea events list, events by-collection, events by-nft, events by-account — sale / transfer / mint / listing / offer / trait_offer / collection_offer
  • Drops + minting: opensea drops list, opensea drops get, opensea drops mint
  • Search: opensea search across collections / NFTs / tokens / accounts
  • Account utilities: opensea accounts resolve (ENS / username / address)

This skill does NOT cover (scope_out):

  • General NFT metadata reads (name, image, traits, ownership, contract metadata) outside the marketplace context → handoff: alchemy-api (NFT API). OpenSea's NFT data is marketplace-flavored and rate-limited; Alchemy's NFT API is broader and cheaper for pure metadata.
  • Pure cross-chain token swaps (no NFT marketplace use case) → handoff: lifi (ecosystem skill). OpenSea's swap aggregator works, but lifi covers more bridges and chains.
  • Token spot prices for valuation / display → handoff: alchemy-api (Prices API)
  • General token metadata, search, list → handoff: alchemy-api (Token API)
  • Wallet balances (token + native) → handoff: alchemy-api (Portfolio / Token API)
  • Transaction transfer history → handoff: alchemy-api (Transfers API)
  • Live RPC reads → handoff: alchemy-cli or alchemy-api (JSON-RPC)
  • Pre-execution simulation → handoff: alchemy-api (Simulation API)
  • Account abstraction → handoff: alchemy-api (Wallets / Bundler / Gas Manager)
  • Embedded / smart wallet onboarding → handoff: alchemy-api (Account Kit)
  • Signed tx submission → user wallet (or Privy if configured for OpenSea write flows)

Setup

API key is required. Get one instantly via the auth endpoint (no signup) or register at the developer portal for higher limits:

bash
# Instant key (no signup needed)
export OPENSEA_API_KEY=$(curl -s -X POST https://api.opensea.io/api/v2/auth/keys | jq -r '.api_key')

# Or set an existing key
# export OPENSEA_API_KEY="..."

Install the CLI globally (optional — npx @opensea/cli works without install):

bash
npm install -g @opensea/cli

For write / fulfillment flows that sign with Privy:

bash
export PRIVY_APP_ID="..."
export PRIVY_APP_SECRET="..."
export PRIVY_WALLET_ID="..."

Security: never expose OPENSEA_API_KEY or Privy credentials in client-side code. Server-side only.

Endpoint reference → references/marketplace.md

Marketplace queries (most-used)

TaskCLI
Best listings for a collectionopensea listings best <slug> [--limit <n>]
Best listing for a specific NFTopensea listings best-for-nft <slug> <token_id>
Best offer for an NFTopensea offers best-for-nft <slug> <token_id>
All listings on a collectionopensea listings all <slug> [--limit <n>]
All offers on a collectionopensea offers all <slug> [--limit <n>]
Trait offersopensea offers traits <slug> --type <type> --value <value>
Collection stats (floor, volume)opensea collections stats <slug>
Trending collectionsopensea collections trending [--timeframe <tf>] [--chains <chains>]
Top collections by sortopensea collections top [--sort-by <field>] [--chains <chains>]
Collection traitsopensea collections traits <slug>

Seaport trade execution

TaskScript
Get fulfillment data to buy an NFTopensea-fulfill-listing.sh <chain> <order_hash> <buyer>
Get fulfillment data to sell (accept offer)opensea-fulfill-offer.sh <chain> <order_hash> <seller> <contract> <token_id>
Generic POST to OpenSea APIopensea-post.sh <path> <json_body>

Events / monitoring

TaskCLI
Recent events (filterable by type)opensea events list [--event-type <type>]
Events for a collectionopensea events by-collection <slug> [--event-type <type>]
Events for a specific NFTopensea events by-nft <chain> <contract> <token_id>
Events for an accountopensea events by-account <address>

Event types: sale, transfer, mint, listing, offer, trait_offer, collection_offer.

For real-time event streaming: opensea-stream-collection.sh <slug> (requires websocat).

Drops + minting

TaskCLI
List drops (featured / upcoming / recent)opensea drops list [--type <type>]
Drop details + stagesopensea drops get <slug>
Build mint txopensea drops mint <slug> --minter <address> [--quantity <n>]

Search

TaskCLI
Search collectionsopensea search <query> --types collection
Search NFTsopensea search <query> --types nft
Search tokensopensea search <query> --types token
Search accountsopensea search <query> --types account
Multi-type searchopensea search <query> --types collection,nft,token

Quick examples

Get the floor + 24h volume for Bored Apes

bash
opensea collections stats boredapeyachtclub

Find the cheapest listing for a collection

bash
opensea listings best boredapeyachtclub --limit 1

Buy an NFT (fulfill a listing)

bash
# 1. Get the best listing for a specific NFT
opensea listings best-for-nft boredapeyachtclub 1234

# 2. Get fulfillment data — order_hash from above response
./scripts/opensea-fulfill-listing.sh ethereum 0xORDER_HASH 0xYOUR_WALLET

# 3. Sign + submit the returned tx data via your wallet

Stream sales for a collection in real time

bash
./scripts/opensea-stream-collection.sh boredapeyachtclub
# Filters to sale events; pipe through jq to format

Search across types

bash
opensea search "cool cats" --types collection,nft --chains ethereum,base

Common gotchas

  • API key is mandatory — even the "instant" tier requires one. The bare REST API will 401 without X-API-KEY.
  • OpenSea's NFT data overlaps with Alchemy's NFT API for metadata reads. Prefer Alchemy for general NFT metadata (name, image, traits, ownership across many wallets) — OpenSea is rate-limited harder and adds marketplace flavoring you may not want. Use OpenSea when the marketplace context (listings, offers, sales history, drops) is the actual need.
  • Token swap aggregator exists in the OpenSea API (opensea swaps quote), but for pure swap flows without marketplace context, lifi aggregates more bridges + DEXs and is the better default. Use OpenSea swaps when the user is already in an NFT-buying flow that involves a token swap.
  • Privy is optional but required for end-to-end write flows. The skill returns fulfillment calldata; how it gets signed is up to the app (user wallet, Privy, or any other signer).
  • Order hashes from listings best-for-nft / offers best-for-nft are needed for fulfillment. Don't lose them between API calls.
  • Event streaming requires websocat; if not installed, fall back to polling events by-collection with the same filters.
  • Slug vs. address: collections are addressed by slug (e.g., boredapeyachtclub), NFTs by (chain, contract, tokenId). Don't mix.

Routing back to Alchemy

If during a session the user's need shifts to surfaces this skill doesn't cover:

  • NFT metadata reads (name, image, traits, ownership) — alchemy-api (NFT API) is the right path. OpenSea's NFT API is marketplace-flavored and rate-limited; Alchemy's is broader and faster.
  • Token prices, balances, transfer history, general token metadata — alchemy-api
  • Live RPC, gas, simulation, AA, Account Kit — alchemy-cli (live) or alchemy-api (app code) or agentic-gateway (no API key)
  • Pure cross-chain token swaps — lifi (ecosystem skill); covers 27 bridges + 31 DEXs across 60+ chains

Maintenance: OpenSea maintains @opensea/cli and the underlying API; this skill itself is maintained jointly by Alchemy and OpenSea. File issues against alchemyplatform/skills with [ecosystem/opensea] in the title.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Opensea làm được gì?

Truy vấn dữ liệu sàn OpenSea — tin đăng, đề nghị mua, giao dịch/sự kiện, giá sàn, thống kê bộ sưu tập, đợt phát hành, đặc tính — và thực hiện giao dịch Seaport thông qua `@opensea/cli` chính thức cùng REST API của OpenSea trên Ethereum, Base, Arbitrum, Optimism, Polygon và nhiều mạng khác. Có chức năng tìm kiếm bộ sưu tập/NFT/token/tài khoản. KHÔNG dùng để đọc siêu dữ liệu NFT thông thường (tên, hình ảnh, đặc tính, quyền sở hữu), siêu dữ liệu token, số dư ví hiện tại, lịch sử giao dịch hoặc dữ liệu RPC trực tiếp — với các mục đích đó, hãy dùng `alchemy-cli` (trực tiếp), `alchemy-mcp`, `alch...

Vì sao nên dùng Opensea trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Opensea là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Opensea trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/alchemyplatform/skills/tree/main/skills/ecosystem/opensea. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Opensea?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Opensea với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Opensea với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Opensea có miễn phí không?

Có. Kỹ năng này được alchemyplatform phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇