Function quotesHistorical1

Quotes Historical Returns an interval of historical global cryptocurrency market metrics based on time and interval parameters.

Technical Notes

  • A historic quote for every "interval" period between your "time_start" and "time_end" will be returned.
  • If a "time_start" is not supplied, the "interval" will be applied in reverse from "time_end".
  • If "time_end" is not supplied, it defaults to the current time.
  • At each "interval" period, the historic quote that is closest in time to the requested time will be returned.
  • If no historic quotes are available in a given "interval" period up until the next interval period, it will be skipped.

Interval Options There are 2 types of time interval formats that may be used for "interval".

The first are calendar year and time constants in UTC time: "hourly" - Get the first quote available at the beginning of each calendar hour. "daily" - Get the first quote available at the beginning of each calendar day. "weekly" - Get the first quote available at the beginning of each calendar week. "monthly" - Get the first quote available at the beginning of each calendar month. "yearly" - Get the first quote available at the beginning of each calendar year.

The second are relative time intervals. "m": Get the first quote available every "m" minutes (60 second intervals). Supported minutes are: "5m", "10m", "15m", "30m", "45m". "h": Get the first quote available every "h" hours (3600 second intervals). Supported hour intervals are: "1h", "2h", "3h", "4h", "6h", "12h". "d": Get the first quote available every "d" days (86400 second intervals). Supported day intervals are: "1d", "2d", "3d", "7d", "14d", "15d", "30d", "60d", "90d", "365d".

This endpoint is available on the following API plans:

  • Basic
  • Hobbyist (1 month)
  • Startup (1 month)
  • Standard (3 month)
  • Professional (12 months)
  • Enterprise (Up to 6 years)

Cache / Update frequency: Every 5 minutes. Plan credit use: 1 call credit per 100 historical data points returned (rounded up). CMC equivalent pages: Our Total Market Capitalization global chart coinmarketcap.com/charts/.