Skip to main content

Coloured Power Law

coloured-power-law

Chart: Coloured Power Law

Parameters

NameTypeDescriptionRequired
start_datestringStart date in YYYY-MM-DD formatNo
end_datestringEnd date in YYYY-MM-DD formatNo
latestboolIf true, returns the current valueNo

Output

IndexNameTypeDescription
0day_countnumberDay count (x-axis)
1datestringDate (ISO)
2power_law_high_bandstringPower law high band
3power_law_mid_bandstringPower law mid band
4power_law_low_bandstringPower law low band
5deviation_from_mid_bandstring% deviation from mid band
6deviation_percentilenumberDeviation percentile

Example Request

https://charts.bitbo.io/api/v1/coloured-power-law/?start_date=2026-04-06&end_date=2026-04-08

Example Request with Latest

https://charts.bitbo.io/api/v1/coloured-power-law/?latest=true

Code Samples

curl "https://charts.bitbo.io/api/v1/coloured-power-law/?start_date=2026-04-06&end_date=2026-04-08&api_key=YOUR_API_KEY"

Example Output

{
"data": [
[
6305,
"2026-04-06",
"553772.81",
"156179.12",
"55414.44",
"-55.91",
10
],
[
6306,
"2026-04-07",
"554214.68",
"156323.96",
"55465.84",
"-53.96",
14
],
[
6307,
"2026-04-08",
"554656.83",
"156468.92",
"55517.27",
"-54.55",
13
]
]
}