CoinGecko API icon

CoinGecko API

Accède aux données de cryptomonnaies via l'API CoinGecko - Prix, marchés, historiques

Get NFT by Contract

AI-generated

Overview

This node interacts with the CoinGecko API to retrieve information about an NFT collection by its contract address on a specified asset platform. It is useful for users who want to fetch detailed data about a specific NFT collection using the blockchain platform and contract address as identifiers. For example, a user can get metadata and market data of an NFT collection on Ethereum by providing the platform ID and contract address.

Use Case Examples

  1. Retrieve NFT collection details on Ethereum by specifying 'ethereum' as the asset platform ID and the NFT contract address.
  2. Fetch NFT data for a contract on other supported asset platforms by changing the asset platform ID accordingly.

Properties

Name Meaning
Asset Platform ID The ID of the asset platform (blockchain) where the NFT contract is deployed, e.g., 'ethereum'.
Contract Address The contract address of the NFT collection on the specified asset platform.

Output

JSON

  • json - The JSON response containing detailed information about the NFT collection retrieved from the CoinGecko API.

Dependencies

  • CoinGecko public API

Troubleshooting

  • Ensure the 'Asset Platform ID' and 'Contract Address' are correctly specified and correspond to a valid NFT contract on CoinGecko.
  • If the API returns an error, check for network connectivity or API rate limits.
  • The node throws an error if the operation is unsupported or parameters are missing; verify the operation and required parameters.

Links

Discussion