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
Get Coin Price
AI-generatedOverview
This node operation retrieves the current price of one or more specified cryptocurrencies using the CoinGecko API. It allows users to specify the cryptocurrencies by their IDs and choose a reference currency for the price. Additionally, users can optionally include market capitalization, 24-hour trading volume, and 24-hour price change in the response. This operation is useful for applications that need up-to-date cryptocurrency price data, such as portfolio trackers, trading bots, or financial dashboards.
Use Case Examples
- Get the current price of Bitcoin and Ethereum in USD.
- Retrieve the price of Cardano in EUR including market cap and 24h volume.
- Fetch the price of multiple coins in BTC without additional market data.
Properties
| Name | Meaning |
|---|---|
| Coin IDs | IDs of the cryptocurrencies to retrieve prices for, separated by commas. |
| VS Currency | The reference currency in which to get the cryptocurrency prices (e.g., USD, EUR, BTC). |
| Include Market Cap | Whether to include the market capitalization data in the response. |
| Include 24h Volume | Whether to include the 24-hour trading volume data in the response. |
| Include 24h Change | Whether to include the 24-hour price change data in the response. |
Output
JSON
json- The JSON response from the CoinGecko API containing the current price and optionally market cap, 24h volume, and 24h change for the specified cryptocurrencies.
Dependencies
- CoinGecko public API
Troubleshooting
- Common issues include invalid or misspelled coin IDs, unsupported reference currencies, or network connectivity problems.
- If the API returns an error, verify that the coin IDs and VS currency are correct and supported by CoinGecko.
- Ensure the node has internet access to reach the CoinGecko API endpoint.
- If the node throws an 'Operation not supported' error, confirm that the operation parameter is set to 'getCoinPrice'.
Links
- CoinGecko API Documentation - Official documentation for the CoinGecko API endpoints and parameters.