Zum Inhalt springen
GET /v1/system

Downloads by operating system

Live testen

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

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

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

API-Key holen

Code-Snippets

curl "https://api.oanor.com/pypistats-api/v1/system" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pypistats-api/v1/system", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pypistats-api/v1/system");
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/pypistats-api/v1/system",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "source": "pypistats.org",
        "package": "requests",
        "by_system": [
            {
                "system": "Linux",
                "downloads": 7168426068,
                "share_pct": 94.99
            },
            {
                "system": "Windows",
                "downloads": 252156979,
                "share_pct": 3.34
            },
            {
                "system": "Darwin",
                "downloads": 89983560,
                "share_pct": 1.19
            },
            {
                "system": "null",
                "downloads": 34069391,
                "share_pct": 0.45
            },
            {
                "system": "other",
                "downloads": 2104027,
                "share_pct": 0.03
            }
        ],
        "total_downloads": 7546740025
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:26.978Z",
        "request_id": "e3828ca3-20ce-49b0-a075-dfebaac10e62"
    },
    "status": "ok",
    "message": "System breakdown retrieved successfully",
    "success": true
}