CoinMarketCap Get market quotes (historical)

CoinMarketCap - Get market quotes (historical)

Returns an interval of historic quotes for any exchange based on time and interval parameters. Historical exchange quotes currently include: volume_24: Combined 24 hour volume for all market pairs at each historical interval. num_market_pairs: Number of market pairs available at each historical interval. Quotes are returned in USD. Additional currency conversion options and additional fields will be available in the future. **Technical Details** 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", "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:** - ~~Starter~~ - ~~Hobbyist~~ - Standard (1 month) - Professional (12 months) - Enterprise (Up to 5 years) **Cache / Update frequency:** Every ~5 minutes. This endpoint will be migrated to ~1 minute updates shortly.

Posted on:

2018-08-27

curl -v "https://streamdata.motwin.net/http://pro-api.coinmarketcap.comv1/exchange/quotes/historical?X-Sd-Token={streamdata_token}&convert={field_value}&count={field_value}&id={field_value}&interval={field_value}&slug={field_value}&time_end={field_value}&time_start={field_value}"



Return to Main Page



Submit Your API

Join the gallery to find out how much you can save with Streamdata.io.