Skip to main content

SF Power Law

sf-power-law

Chart: SF 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_countstringDay count (x-axis)
1datestringDate (ISO)
2sf463_pricestringSF463 price
3power_law_midstringPower law mid
4power_law_lowstringPower law low
5power_law_highstringPower law high
6average_2stringAverage (SF463 + power law mid) / 2
7tick_valuestringTick value (year-start)
8tick_textstringTick text (year label)
9closing_pricestringClosing price

Example Request

https://charts.bitbo.io/api/v1/sf-power-law/?start_date=2025-05-07&end_date=2025-05-09

Example Request with Latest

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

Code Samples

curl "https://charts.bitbo.io/api/v1/sf-power-law/?start_date=2025-05-07&end_date=2025-05-09&api_key=YOUR_API_KEY"

Example Output

{
"data": [
[
"12.34",
"2025-05-07",
"12.34",
"12.34",
"12.34",
"12.34",
"0.12",
"12.34",
"12.34",
"12.34"
],
[
"23.45",
"2025-05-08",
"23.45",
"23.45",
"23.45",
"23.45",
"0.23",
"23.45",
"23.45",
"23.45"
],
[
"34.56",
"2025-05-09",
"34.56",
"34.56",
"34.56",
"34.56",
"0.34",
"34.56",
"34.56",
"34.56"
]
]
}