CoinGecko API icon

CoinGecko API

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

Get Coin by Contract

AI-generated

Overview

This node operation fetches detailed information about a cryptocurrency by its contract address on a specified asset platform using the CoinGecko API. It is useful for users who want to retrieve specific data about a token deployed on a blockchain platform, such as Ethereum, by providing the platform ID and the token's contract address. For example, it can be used to get metadata and market data of an ERC-20 token by its contract address.

Use Case Examples

  1. Retrieve detailed information about a token on the Ethereum platform by providing 'ethereum' as the Asset Platform ID and the token's contract address.
  2. Use this operation to get contract-specific data for tokens on various supported blockchain platforms.

Properties

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

Output

JSON

  • json - The JSON response containing detailed information about the cryptocurrency token retrieved by contract address.

Dependencies

  • CoinGecko public API

Troubleshooting

  • Ensure the Asset Platform ID and Contract Address are correctly specified; incorrect values will result in errors or empty responses.
  • If the API request fails, check network connectivity and CoinGecko API status.
  • The node throws an error if the operation is unsupported or parameters are missing; verify the operation and required parameters.

Links

Discussion