CoinGecko API icon

CoinGecko API

Accède aux données de cryptomonnaies via l'API CoinGecko - Prix, marchés, historiques

Get Categories

AI-generated

Overview

This node interacts with the CoinGecko API to retrieve cryptocurrency data. Specifically, the 'Get Categories' operation fetches the list of cryptocurrency categories available on CoinGecko. This is useful for users who want to categorize or filter cryptocurrencies based on their categories, such as DeFi, NFTs, or stablecoins.

Use Case Examples

  1. A user wants to display all cryptocurrency categories to allow selection for further data retrieval.
  2. A user needs to analyze market trends by category and fetches the list of categories to organize their data.

Output

JSON

  • json - The JSON response containing the list of cryptocurrency categories from the CoinGecko API

Dependencies

  • CoinGecko public API

Troubleshooting

  • If the API request fails, check internet connectivity and CoinGecko API availability.
  • Ensure the operation parameter is correctly set to 'getCategories' to avoid unsupported operation errors.
  • Handle API rate limits by implementing retry logic or using the 'continue on fail' option in n8n.

Links

Discussion