Zum Inhalt springen
GET /v1/meta

Service metadata

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

Beispiel-Response

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

{
    "data": {
        "note": "Look up a package by its PyPI name (package=requests, numpy, flask). Names are normalised to lowercase. Version and system breakdowns are totalled over the available ~180-day window with each category's share of total downloads.",
        "source": "pypistats.org public API (live)",
        "service": "pypistats-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/python": "Downloads broken down by Python version (package=requests).",
            "GET /v1/recent": "Headline download counts — last day, week and month (package=requests).",
            "GET /v1/system": "Downloads broken down by operating system (package=requests).",
            "GET /v1/overall": "Daily download timeline (package=requests, limit=30, max 180)."
        },
        "description": "Live PyPI (Python Package Index) download analytics from pypistats.org — the adoption view of a Python package. recent = the headline download counts (last day, last week, last month); overall = the daily download timeline; python = the breakdown by Python version (which versions the package's users are on); system = the breakdown by operating system (Linux, Windows, macOS). Live, no key, nothing stored. Distinct from the PyPI registry-metadata API — this measures how much the community actually uses a package.",
        "upstream_status": "ok",
        "requests_last_month": 1572094434
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:27.064Z",
        "request_id": "bbbed346-54ea-4865-8d3f-bbdc936bacbf"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}