This document describes the API endpoints available in the data routes module.
All endpoints are prefixed with https://app.signal21.io/api/data
Returns the total stacking rewards in BTC.
Response:
{
"reward": number
}
Example:
{
"reward": 1234.567
}
Returns the total number of stackers.
Response:
{
"stackers": number
}
Example:
{
"stackers": 15000
}
Returns the current stacking cycle.
Response:
{
"cycle": number
}
Example:
{
"cycle": 42
}
Returns the total number of miners.
Response:
{
"miners": number
}
Example:
{
"miners": 221
}
All endpoints return JSON responses. In case of errors, appropriate HTTP status codes will be returned along with error details.
Data is served through a cached storage system to improve performance and reduce database load.