Altcoin Season Index API
This endpoint serves the Altcoin Season Index as JSON, the same daily scores as the chart page.
Endpoint
- URL
https://api.blockchaincenter.net/api/coin/altcoinseason/- Method
- GET
- Format
- JSON
- Key
- no key
- CORS
- open
There are no parameters. Query strings are ignored and never change the result.
Fields
| Field | Type | Meaning |
|---|---|---|
score | { "30"|"90"|"365": { "YYYY-MM-DD": string } } | Index from 0 to 100 as an integer string for each day: the rounded share of winners among winners plus losers. Altcoin Season starts at 75 in the 90-day window. Windows are 30, 90 and 365 days. History from 2017-02-01 (30), 2017-04-03 (90) and 2018-01-02 (365). Individual days may be missing. Values are strings. |
winner | { "30"|"90"|"365": string[] } | Tickers of the top 50 coins (excluding BTC) that beat Bitcoin over the window. Array of strings. |
loser | { "30"|"90"|"365": string[] } | Tickers that performed worse than Bitcoin. Array of strings. |
change | { "30"|"90"|"365": { TICKER: string } } | Price change over the window as a decimal string ("-0.1336" = โ13.4%), including BTC. |
Examples
curl
curl -s https://api.blockchaincenter.net/api/coin/altcoinseason/fetch
const d = await (await fetch('https://api.blockchaincenter.net/api/coin/altcoinseason/')).json();
const s = d.score['90']; const day = Object.keys(s).sort().pop();
console.log(day, Number(s[day]));Updates and caching
Scores are updated daily. Please request them at most every 30 minutes.
Attribution
Requested, not required: Source: Altcoin Season Index by BlockchainCenter.net
Terms of use
- Free and no key required.
- No guarantee of availability or correctness, and not investment advice.
- Fair use. Excessive requests are throttled (HTTP 429).
- Do not present the data as your own index. Attribution is requested.
Versioning
This path and this structure are stable. New fields may be added. Breaking changes ship only on a new path, with at least 90 days' notice on this page.