OpenSea integration (Data, Finance). Imported from open-connector.
https://api.opensea.io/api/v2/search
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | Search query text. |
| chains | array | optional | Blockchain identifiers used to filter search results. |
| assetTypes | array | optional | Asset type filters. OpenSea defaults to collection and token when omitted. |
| limit | integer | optional | Number of search results to return. |
/api/v2/collections/{slug}
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
/api/v2/collections/{slug}/stats
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
/api/v2/collection/{slug}/nfts
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
| traits | array | optional | Trait filters to AND-combine for returned NFTs. |
| hasAgentBinding | boolean | optional | Filter to NFTs that have an ERC-8217 agent binding. |
| limit | integer | optional | Number of items to return per page. |
| next | string | optional | The OpenSea pagination cursor from the previous response. |
/api/v2/traits/{slug}
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
/api/v2/offers/collection/{slug}
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
| limit | integer | optional | Number of items to return per page. |
| next | string | optional | The OpenSea pagination cursor from the previous response. |
/api/v2/listings/collection/{slug}/nfts/{identifier}/best
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
| identifier | string | required | The NFT token identifier. |
| includePrivateListings | boolean | optional | Whether OpenSea should include private listings. |
/api/v2/offers/collection/{slug}/nfts/{identifier}/best
| Param | Type | Required | Description |
|---|---|---|---|
| slug | string | required | The unique OpenSea collection slug. |
| identifier | string | required | The NFT token identifier. |
/api/v2/chain/{chain}/contract/{address}/nfts/{identifier}
| Param | Type | Required | Description |
|---|---|---|---|
| chain | string | required | The blockchain identifier used by OpenSea, such as ethereum, polygon, or base. |
| address | string | required | The NFT contract address. |
| identifier | string | required | The NFT token identifier. |