GET
/
insights
/
rainbow-chart
/
{coinId}
cURL
curl --request GET \
  --url https://openapiv1.coinstats.app/insights/rainbow-chart/{coinId} \
  --header 'X-API-KEY: <api-key>'
[
  {
    "price": "0.9111",
    "time": "2010-09-30"
  }
]
50 credits per request
Returns Rainbow Chart data for either Bitcoin or Ethereum based on the ‘coinId’ parameter (use ‘bitcoin’ or ‘ethereum’). The Rainbow Chart shows historical price data over time, which can be visualized with color bands representing different market sentiment zones. Returns an array of data points with price and time values.

Authorizations

X-API-KEY
string
header
required

API key needed to access the endpoints. Example: 'demo-api-key'

Path Parameters

coinId
enum<string>
required

CoinId of the coin to return

Available options:
bitcoin,
ethereum

Response

200
application/json

The response is of type object[].