# OpenSea

OpenSea is the world's first and largest NFT marketplace for NFTs and crypto collectibles.

This is a first-class FlyMyAI MCP. Agents **discover it automatically** via tool search and call the actions below on demand - you never wire it up by hand. See the [Composio catalog](https://docs.flymy.ai/mcp/composio.md) for how discovery works.

## Connect

**OpenSea** authenticates with an API key. Generate the credential in your OpenSea account, then paste it into FlyMyAI the first time an agent uses an OpenSea action.

[Get your OpenSea credential →](https://opensea.io/settings/developer)

### Fields to fill in FlyMyAI

| Field | Details |
| --- | --- |
| `API Key` | Your OpenSea API key. You can obtain this from your OpenSea developer settings. _(required)_ |

## Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

| Action | What it does | Required inputs |
| --- | --- | --- |
| `OPEN_SEA_BUILD_CRITERIA_OFFER` | Build a portion of a criteria offer including the merkle tree needed to post an offer. | `offerer`, `criteria` |
| `OPEN_SEA_CANCEL_ORDER` | Offchain cancel a single order, offer or listing, by its order hash when protected by the signedzone. protocol and chain are required to prevent hash collisions. please note cancellation is only assured if a fulfillment signature was not vended prior to cance… | `chain`, `order_hash`, `protocol_address` |
| `OPEN_SEA_CREATE_CRITERIA_OFFER` | Create a criteria offer to purchase any nft in a collection or which matches the specified trait. | `protocol_data` |
| `OPEN_SEA_CREATE_ITEM_OFFER` | Create an offer to purchase a single nft (erc721 or erc1155). | `chain`, `protocol`, `parameters`, `signature`, `protocol_address` |
| `OPEN_SEA_CREATE_LISTING` | List a single nft (erc721 or erc1155) for sale on the opensea marketplace. | `chain`, `protocol`, `parameters`, `signature`, `protocol_address` |
| `OPEN_SEA_FULFILL_LISTING` | Retrieve all the information, including signatures, needed to fulfill a listing directly onchain. | `listing` |
| `OPEN_SEA_FULFILL_OFFER` | Retrieve all the information, including signatures, needed to fulfill an offer directly onchain. | `offer` |
| `OPEN_SEA_GET_ACCOUNT` | Get an opensea account profile including details such as bio, social media usernames, and profile image. | `address_or_username` |
| `OPEN_SEA_GET_ALL_LISTINGS_BY_COLLECTION` | Get all active, valid listings for a single collection. | `collection_slug` |
| `OPEN_SEA_GET_ALL_OFFERS_BY_COLLECTION` | Get all active, valid offers for the specified collection. this includes individual and criteria offers. | `collection_slug` |
| `OPEN_SEA_GET_BEST_LISTINGS_BY_COLLECTION` | Get the cheapest priced active, valid listings on a single collection. | `collection_slug` |
| `OPEN_SEA_GET_BEST_LISTING_BY_NFT` | Get the best listing for an nft. | `collection_slug`, `identifier` |
| `OPEN_SEA_GET_BEST_OFFER_BY_NFT` | Get the best offers for an nft. | `collection_slug`, `identifier` |
| `OPEN_SEA_GET_COLLECTION` | Get a single collection including details such as fees, traits, and links. | `collection_slug` |
| `OPEN_SEA_GET_COLLECTIONS` | Get a list of opensea collections with optional filtering and pagination. | - |
| `OPEN_SEA_GET_COLLECTION_STATS` | Get stats for a single collection on opensea. | `collection_slug` |
| `OPEN_SEA_GET_CONTRACT` | Get a smart contract for a given chain and address. | `address`, `chain` |
| `OPEN_SEA_GET_EVENTS` | Get a list of events from opensea based on various filters like timestamps and event types. | - |
| `OPEN_SEA_GET_LISTINGS` | Get the complete set of active, valid listings. | `chain`, `protocol` |
| `OPEN_SEA_GET_NFT` | Get metadata, traits, ownership information, and rarity for a single nft. | `address`, `chain`, `identifier` |
| `OPEN_SEA_GET_ORDER` | Get a single order, offer or listing, by its order hash. protocol and chain are required to prevent hash collisions. | `chain`, `order_hash`, `protocol_address` |
| `OPEN_SEA_GET_PAYMENT_TOKEN` | Get a smart contract for a given chain and address. | `address`, `chain` |
| `OPEN_SEA_GET_TRAITS` | Get the traits in a collection. | `collection_slug` |
| `OPEN_SEA_REFRESH_NFT_METADATA` | Refresh metadata for a single nft. | `address`, `chain`, `identifier` |

## Links

- [OpenSea website](https://opensea.io)
- [Get API key / credential](https://opensea.io/settings/developer)
- [Browse the full Composio catalog](https://docs.flymy.ai/mcp/composio.md)
