Open-source SDKs and tools for building on the OpenSea API. Each package is maintained in its own GitHub repository with full documentation.
OpenSea provides open-source SDKs and tools for building on the marketplace. Each package is maintained in its own GitHub repository. See the individual pages below for quick start guides and links to full documentation.
| Package | Description | Install |
|---|---|---|
| @opensea/sdk | TypeScript SDK for trading NFTs and tokens (ethers.js + viem) | npm install @opensea/sdk |
| @opensea/stream-js | Real-time marketplace events over WebSocket | npm install @opensea/stream-js |
| @opensea/cli | CLI and programmatic SDK for querying the API | npm install -g @opensea/cli |
| MCP | AI tool integration via Model Context Protocol | Setup guide |
| Agent Skill | AI agent skill for Claude Code, Cursor, and Windsurf | npx skills add ProjectOpenSea/opensea-skill |
All packages require an OpenSea API key. Get one at Settings -> Developer.
