Actions9
- Account Actions
- Collection Actions
- Event Actions
- NFT Actions
NFT → List NFTs by Collection
AI-generatedOverview
This node operation fetches a list of NFTs belonging to a specific collection from the OpenSea API. It is useful for scenarios where users want to retrieve multiple NFTs within a particular collection, such as displaying all NFTs from a popular collection like "boredapeyachtclub" or analyzing the NFTs available in a collection for market research.
Use Case Examples
- Retrieve all NFTs from the "boredapeyachtclub" collection to display in a marketplace.
- Fetch NFTs from a specific collection to analyze their metadata and ownership details.
Properties
| Name | Meaning |
|---|---|
| Collection Slug | The unique identifier slug of the NFT collection to list NFTs from (e.g., "boredapeyachtclub"). |
| Additional Fields | Optional parameters to customize the query such as limit on number of results, pagination cursor, ordering criteria, and direction. |
Output
JSON
resource- The resource type, here it is 'nft'.operation- The operation performed, here 'listNftsByCollection'.timestamp- The ISO timestamp when the data was fetched.data- The raw data returned from the OpenSea API for the NFTs in the specified collection.
Dependencies
- OpenSea API endpoint at https://api.opensea.io
- Optional API key credential for OpenSea API authentication
Troubleshooting
- Common issues include invalid or missing collection slug, resulting in API errors or empty results.
- API rate limits or missing API key may cause request failures; ensure API key is provided if required.
- Pagination issues if 'Next Cursor' is incorrect or expired; verify cursor values for pagination.
Links
- OpenSea API Documentation - Official documentation for the OpenSea API used to fetch NFT data.