Statistics
Retrieve statistics and overview information about all DePIN devices
Responses
200
Statistics retrieved successfully
application/json
500
Internal server error
application/json
get
GET /v1/depin-devices/stats/overview HTTP/1.1
Host: api.example.com
Accept: */*
{
"totalDevices": 150,
"networkDistribution": {
"helium": 75,
"render": 45,
"livepeer": 30
},
"userDistribution": {
"user123": 5,
"user456": 3
}
}
Retrieve statistics and overview information about all portfolios (both predefined and user portfolios)
Responses
200
Portfolio statistics retrieved successfully
application/json
500
Internal server error
application/json
get
GET /v1/portfolios/stats/overview HTTP/1.1
Host: api.example.com
Accept: */*
{
"predefinedPortfolios": {
"total": 10,
"active": 8,
"riskDistribution": {
"Conservative": 3,
"Moderate": 2,
"Aggressive": 3
}
},
"userPortfolios": {
"total": 25,
"custom": 15,
"basedOnPredefined": 10,
"riskDistribution": {
"Conservative": 8,
"Moderate": 10,
"Aggressive": 7
}
}
}