Chaos Index
The Chaos Index combines Bitcoin price, ISS coordinates, average global temperature, latest earthquake magnitude, and lunar phase into a single number between 0 and 100. The methodology is available upon request. Please don't request it. The index is refreshed continuously and has never been the same number twice, which we consider proof that it works.
Try It — No Seriously
Parameters
| Parameter | Type | Required | Default | Description |
|---|
Examples
curl "https://api.stupidapis.com/chaos-index/calculate"
import requests
response = requests.get("https://api.stupidapis.com/chaos-index/calculate")
print(response.json())
const response = await fetch("https://api.stupidapis.com/chaos-index/calculate");
const data = await response.json();
console.log(data);
Response Schema
| Field | Type | Description |
|---|---|---|
index |
number |
The chaos index (0-100) |
components |
object |
The data sources contributing to the index |
interpretation |
string |
What this level of chaos means |
Example Response
{
"index": 73,
"components": {
"bitcoin": "$67,421",
"iss_latitude": "41.2°N",
"global_temp": "14.8°C",
"earthquake": "4.2 magnitude (Tonga)",
"lunar_phase": "Waxing Gibbous"
},
"interpretation": "Moderate chaos. Mercury is doing something. The market is also doing something. Neither is helping."
}