Bitcoin Price

Fetches current BTC price from CoinGecko

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

  1. A user can use this node to get the latest Bitcoin price in USD and EUR to display on a dashboard.
  2. 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 USD
  • btc_eur - Current Bitcoin price in EUR
  • timestamp - 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

Discussion