Historical Crypto Market Performance

Returns the historical crypto market performance for coins available on the Coinme platform.

Sample API Request: GET

URL: https://caas-staging.coinme.com/services/historiccryptodata
headers:
"Authorization":"asdfghj", //authorization token, required,
'User-Agent: partnerapi' //required
Request Body:
{
  "interval"="DAYS" //required - The the interval (SECONDS, MINUTES, HOURS, DAYS).
  "currency"="BTC" //required
  "fiat"="USD" // required
  "count"=10 //optional
}

Sample API Response:

Successful Response:
{
  "data": {
    "items": [
      {
        "timestamp": 1679011200000,
        "open": "25053.7",
        "close": "26781.2",
        "high": "27035",
        "low": "24947.7",
        "volume": "8648.26471449"
      },
      {
        "timestamp": 1678924800000,
        "open": "24374.8",
        "close": "25053.7",
        "high": "25213",
        "low": "24210.8",
        "volume": "6062.601064170007"
      },
      {
        "timestamp": 1678838400000,
        "open": "24753.4",
        "close": "24372.6",
        "high": "25300",
        "low": "23913.3",
        "volume": "7649.429615129982"
      },
      {
        "timestamp": 1678752000000,
        "open": "24214.2",
        "close": "24753.4",
        "high": "26526",
        "low": "24051",
        "volume": "12950.94274097"
      },
      {
        "timestamp": 1678665600000,
        "open": "22165.1",
        "close": "24208.3",
        "high": "24599",
        "low": "21867.8",
        "volume": "13565.331377550023"
      },
      {
        "timestamp": 1678579200000,
        "open": "20619.7",
        "close": "22157.5",
        "high": "22299.9",
        "low": "20440.3",
        "volume": "7431.973570290001"
      },
      {
        "timestamp": 1678492800000,
        "open": "20224.7",
        "close": "20616.4",
        "high": "20879",
        "low": "19888",
        "volume": "9270.554687810012"
      },
      {
        "timestamp": 1678406400000,
        "open": "20363.7",
        "close": "20224.7",
        "high": "20364",
        "low": "19549.9",
        "volume": "8037.341238900003"
      },
      {
        "timestamp": 1678320000000,
        "open": "21696.5",
        "close": "20363.6",
        "high": "21819",
        "low": "20042.3",
        "volume": "5846.941776959993"
      },
      {
        "timestamp": 1678233600000,
        "open": "22194.8",
        "close": "21699.1",
        "high": "22267.9",
        "low": "21600",
        "volume": "2481.03272122"
      }
    ]
  },
  "errorResponse": null
}