/v1/stats
Install statistics + top countries
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/flathub-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/flathub-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/flathub-api/v1/stats");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/flathub-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"stats": {
"id": "org.mozilla.firefox",
"flathub_url": "https://flathub.org/apps/org.mozilla.firefox",
"top_countries": [
{
"country": "US",
"installs": 1380749
},
{
"country": "DE",
"installs": 322097
},
{
"country": "GB",
"installs": 263814
},
{
"country": "BR",
"installs": 177089
},
{
"country": "RU",
"installs": 172157
},
{
"country": "CA",
"installs": 153712
},
{
"country": "FR",
"installs": 144620
},
{
"country": "ES",
"installs": 105986
},
{
"country": "AU",
"installs": 86678
},
{
"country": "PL",
"installs": 81847
}
],
"installs_total": 11464201,
"installs_last_month": 187942,
"installs_last_7_days": 35935
}
},
"meta": {
"timestamp": "2026-05-31T13:49:01.857Z",
"request_id": "972cfdb1-5ca7-4505-be34-d95918ca2a8e"
},
"status": "ok",
"message": "Stats retrieved",
"success": true
}