CoinMarketCap API icon

CoinMarketCap API

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

Get Global Metrics Historical

AI-generated

Overview

This node operation retrieves historical global metrics data for the cryptocurrency market from the CoinMarketCap API. It is useful for analyzing market trends over time, such as total market capitalization, volume, and other aggregated metrics. Users can specify parameters like the conversion currency, start and end times, data point count, and interval to customize the historical data retrieved.

Use Case Examples

  1. A user wants to analyze the historical total market capitalization of cryptocurrencies in USD over the past month with daily intervals.
  2. A user needs to fetch historical global market volume data converted to EUR for a specific date range to perform trend analysis.

Properties

Name Meaning
Convert The currency to convert the global metrics data into (e.g., USD, EUR, BTC). Defaults to USD.
Time Start The start date and time for the historical data retrieval in ISO 8601 format.
Time End The end date and time for the historical data retrieval in ISO 8601 format.
Count The number of historical data points to return.
Interval The time interval between data points (e.g., 1 minute, 1 day, 1 month).

Output

JSON

  • json
    • data - The historical global metrics data returned by the CoinMarketCap API, including market capitalization, volume, and other aggregated metrics over the specified time range.

Dependencies

  • CoinMarketCap API key credential required for authentication.

Troubleshooting

  • Common issues include invalid or missing API key, incorrect date formats for time_start or time_end, and exceeding API rate limits.
  • Error messages from the API typically indicate the cause, such as 'Invalid API key' or 'Rate limit exceeded'. Ensure the API key is valid and the request parameters are correctly formatted.
  • If the node throws an 'Unknown operation' error, verify that the operation parameter is set correctly to 'getGlobalMetricsHistorical'.

Links

Discussion