/v1/stats
Install statistics + top countries
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}