Skip to main content
GET
/
insights
/
rainbow-chart
/
{coinId}
Get Rainbow Chart data
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
  • Bitcoin or Ethereum based on the ‘coinId’ parameter.
  • The Rainbow Chart shows historical price data over time, which can be visualized with color bands representing different market sentiment zones.
  • 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

price
string
required

Price value

Example:

"0.9111"

time
string
required

Date in YYYY-MM-DD format

Example:

"2010-09-30"

I