Zum Inhalt springen
GET /v1/stats

Install statistics + top countries

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/flathub-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}