APIs / CoinMarketCap / History

CoinMarketCap: History

History from CoinMarketCap as JSON. 1 credit per successful call.

GET /v1/coinmarketcap/history

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
idintegerRequiredAny
rangestringOptionalAny
intervalstringOptionaldaily, 1h
currencystringOptionalUSD

Example request

CoinMarketCap
GET/v1/coinmarketcap/history?id=1&range=30d&interval=daily
{
  "success": true,
  "data": {
    "id": 1,
    "range": "30d",
    "interval": "daily",
    "points": 30,
    "currency": "USD",
    "history": [
      {
        "time_open": "2026-10-19T00:00:00+00:00",
        "time_close": "2026-10-19T23:59:59+00:00",
        "time_high": "2026-10-19T07:35:00+00:00",
        "time_low": "2026-10-19T16:04:00+00:00",
        "open": 82017.6013001938,
        "high": 83072.4676309005,
        "low": 81668.2225670664,
        "close": 81853.5379117163,
        "volume": 24424961000.65,
        "market_cap": 1644991783974.69,
        "circulating_supply": 20098843,
        "currency": "USD"
      },
      {
        "time_open": "2026-10-20T00:00:00+00:00",
        "time_close": "2026-10-20T23:59:59+00:00",
        "time_high": "2026-10-20T14:58:00+00:00",
        "time_low": "2026-10-20T01:15:00+00:00",
        "open": 81853.5379117163,
        "high": 83287.8040985804,
        "low": 81107.2341199025,
        "close": 82941.0021276786,
        "volume": 26999680268.16,
        "market_cap": 1667028961197.13,
        "circulating_supply": 20098843,
        "currency": "USD"
      },
      {
        "time_open": "2026-10-21T00:00:00+00:00",
        "time_close": "2026-10-21T23:59:59+00:00",
        "time_high": "2026-10-21T16:40:00+00:00",
        "time_low": "2026-10-21T05:54:00+00:00",
        "open": 82941.0021276786,
        "high": 84840.0432624934,
        "low": 82543.4427196497,
        "close": 84011.9684264689,
        "volume": 30470182680.3,
        "market_cap": 1688706339025.64,
        "circulating_supply": 20101200,
        "currency": "USD"
      }
    ]
  },
  "meta": {
    "endpoint_family": "history",
    "source": "coinmarketcap"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 18 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idinteger
rangestring
intervalstring
pointsinteger
currencystring
historyobject[]