Actions52
- Get Asset Platforms
- Get Asset Platforms List
- Get Categories
- Get Categories List
- Get Coin by Contract
- Get Coin Categories
- Get Coin Contract
- Get Coin Contract Market Chart
- Get Coin Contract Market Chart Range
- Get Coin History
- Get Coin Info
- Get Coin List
- Get Coin Market Chart
- Get Coin Market Chart Range
- Get Coin OHLC
- Get Coin Price
- Get Coin Status Updates
- Get Coin Tickers
- Get Companies
- Get Derivatives
- Get Derivatives Exchange Info
- Get Derivatives Exchanges
- Get Events
- Get Exchange Info
- Get Exchange List
- Get Exchange Rates
- Get Exchange Status Updates
- Get Exchange Tickers
- Get Exchange Volume Chart
- Get Exchanges List
- Get Finance
- Get Global Data
- Get Global DeFi Data
- Get Indexes
- Get Market Data
- Get Markets
- Get NFT by Contract
- Get NFT Collection Info
- Get NFT List
- Get NFT Market Chart
- Get Status Updates
- Get Supported Currencies
- Get Token Lists
- Get Token Price by Contract
- Get Trending Coins
- Get Trending Search
- Ping
- Search
- Search Coins
- Simple Price
- Simple Supported Currencies
- Simple Token Price
Simple Token Price
AI-generatedOverview
This node interacts with the CoinGecko API to retrieve the simple price of a cryptocurrency token based on its contract address on a specified asset platform. It is useful for users who want to quickly get the current price of a token in a chosen reference currency without needing detailed market data. For example, it can be used to fetch the USD price of an Ethereum-based token by providing the Ethereum platform ID and the token's contract address.
Use Case Examples
- Fetch the current USD price of a token on the Ethereum platform by specifying 'ethereum' as the Asset Platform ID and the token's contract address.
- Retrieve the price of a token on another blockchain platform by changing the Asset Platform ID and providing the corresponding contract address.
Properties
| Name | Meaning |
|---|---|
| Asset Platform ID | The ID of the blockchain platform where the token contract is deployed (e.g., 'ethereum'). This is required to identify the platform for the token contract. |
| Contract Address | The contract address of the token on the specified asset platform. This uniquely identifies the token contract. |
| VS Currency | The reference currency in which the token price is requested (e.g., USD, EUR, BTC). This determines the currency for the returned price. |
Output
JSON
json- The JSON response containing the simple token price data from CoinGecko API, keyed by contract address and currency.
Dependencies
- CoinGecko public API
Troubleshooting
- Common issues include invalid or incorrect Asset Platform ID or Contract Address, which will cause the API to return errors or empty data. Verify the platform ID and contract address are correct and supported by CoinGecko.
- Network or connectivity issues may cause request failures; ensure the node can access the CoinGecko API endpoint.
- If the API rate limit is exceeded, requests may be throttled or rejected; consider adding delays or handling rate limits in workflows.
Links
- CoinGecko API Documentation - Official documentation for the CoinGecko API endpoints and parameters.