Overview
This node fetches the current price of Bitcoin (BTC) in USD and EUR from the CoinGecko API. It is useful for workflows that require up-to-date cryptocurrency price data, such as financial dashboards, trading bots, or alert systems.
Use Case Examples
- A user can use this node to get the latest Bitcoin price in USD and EUR to display on a dashboard.
- It can be integrated into a trading automation workflow to trigger actions based on Bitcoin price changes.
Output
JSON
btc_usd- Current Bitcoin price in USDbtc_eur- Current Bitcoin price in EURtimestamp- ISO 8601 timestamp of when the price was fetched
Dependencies
- CoinGecko public API
Troubleshooting
- If the node fails to fetch data, check internet connectivity and CoinGecko API availability.
- API rate limits from CoinGecko might cause temporary failures; consider adding retry logic or caching.
Links
- CoinGecko API Documentation - Official documentation for the CoinGecko API used to fetch Bitcoin prices.