Skip to main content
GET
cURL
10 credits per request

  • Supports multiple time frames: 24 hours, 1 week, 1 month, 3 months, 6 months, 1 year, or all available data.
  • Data is returned as pairs of [timestamp, percentage] values.
  • Useful for analyzing market trends and Bitcoin’s relative strength in the overall crypto ecosystem.
  • type: Time range. One of 24h, 1w, 1m, 3m, 6m, 1y, all.

Authorizations

X-API-KEY
string
header
required

API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.

Query Parameters

type
enum<string>
required

Time period for the data

Available options:
24h,
1w,
1m,
3m,
6m,
1y,
all

Response

data
number[][]
required

Array of timestamp and BTC dominance percentage pairs Pair structure: [timestamp, BTC dominance percentage]

Example: