OpenSea icon

OpenSea

Access NFT data using the OpenSea API v2

NFT → Get NFT

AI-generated

Overview

This node interacts with the OpenSea API to retrieve detailed information about a specific NFT on a selected blockchain. It fetches metadata, traits, ownership details, and rarity information for the NFT identified by its contract address and token ID. This is useful for applications that need to display or process NFT data, such as NFT marketplaces, portfolio trackers, or analytics tools.

Use Case Examples

  1. Retrieve metadata and ownership details for a specific NFT on the Ethereum blockchain by providing its contract address and token ID.
  2. Fetch NFT information from other supported blockchains like Polygon or Solana by selecting the appropriate chain option.

Properties

Name Meaning
Chain The blockchain network where the NFT resides (e.g., Ethereum, Polygon, Solana). This determines which blockchain's data is queried.
Contract Address The smart contract address of the NFT collection to which the NFT belongs. This is required to identify the NFT's collection.
Token ID The unique token ID of the specific NFT within the collection. This identifies the exact NFT to retrieve.
Additional Fields Optional parameters to customize the request, such as limiting the number of results, pagination cursor, ordering, and filtering event types (if applicable).

Output

JSON

  • resource - The resource type requested, here it is 'nft'.
  • operation - The operation performed, here it is 'getNft'.
  • timestamp - The ISO timestamp when the data was retrieved.
  • data - The full raw response data from the OpenSea API for the NFT.
  • summary
    • identifier - The unique identifier of the NFT.
    • collection - The collection to which the NFT belongs.
    • contract - The contract details of the NFT.
    • token_standard - The token standard used by the NFT (e.g., ERC-721).
    • name - The name of the NFT.
    • description - The description of the NFT.
    • image_url - URL to the image representing the NFT.
    • metadata_url - URL to the metadata of the NFT.
    • opensea_url - URL to the NFT's page on OpenSea.
    • updated_at - Timestamp of the last update to the NFT data.
    • is_disabled - Boolean indicating if the NFT is disabled.
    • is_nsfw - Boolean indicating if the NFT is marked as not safe for work.

Dependencies

  • OpenSea API (optionally with an API key credential)

Troubleshooting

  • Ensure the contract address and token ID are correct and correspond to an existing NFT on the selected blockchain.
  • If the API key is used, verify it is valid and has the necessary permissions.
  • Check network connectivity and OpenSea API availability if requests fail.
  • Handle pagination and limits properly if retrieving multiple NFTs or related data.

Links

Discussion