FluxyAPIFluxyAPI
BlocksExternal Services

CoinGecko

Fetch live cryptocurrency prices and market data.

CoinGecko Block

The CoinGecko Block provides a built-in integration with the CoinGecko API, allowing you to easily retrieve current price data for thousands of cryptocurrencies without manually configuring an external HTTP request.

Configuration

FieldRequiredDescription
Coin IDThe CoinGecko ID for the cryptocurrency (e.g., bitcoin, ethereum, solana).
CurrencyThe fiat currency to quote the price in (e.g., usd, eur, gbp).

Output Variable

Specify a Variable Name to store the result.

Success Payload

If fetching a price, the returned data structure wraps the CoinGecko API response:

{
  "data": {
    "bitcoin": {
      "usd": 65432.10,
      "usd_market_cap": 1200000000000
    }
  }
}

(If you request market_overview, it also includes "total_results": 100.)

Errors & Responses

If an error occurs, the variable will be populated with:

{
  "error_key": "FETCH_FAILED",
  "error_message": "Failed to fetch data from CoinGecko."
}

Common Error Keys: FIELD_MISSING, FETCH_FAILED

On this page