Zum Inhalt springen
GET /v1/version

Specific version details

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "name": "requests",
        "files": [
            {
                "size": 62574,
                "filename": "requests-2.31.0-py3-none-any.whl",
                "packagetype": "bdist_wheel",
                "python_version": "py3"
            },
            {
                "size": 110794,
                "filename": "requests-2.31.0.tar.gz",
                "packagetype": "sdist",
                "python_version": "source"
            }
        ],
        "author": "Kenneth Reitz",
        "yanked": false,
        "license": "Apache 2.0",
        "summary": "Python HTTP for Humans.",
        "version": "2.31.0",
        "homepage": "https://requests.readthedocs.io",
        "keywords": [],
        "released": "2023-05-22T15:12:42.313790Z",
        "repository": "https://github.com/psf/requests",
        "dependencies": [
            "charset-normalizer (<4,>=2)",
            "idna (<4,>=2.5)",
            "urllib3 (<3,>=1.21.1)",
            "certifi (>=2017.4.17)",
            "PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'",
            "chardet (<6,>=3.0.2) ; extra == 'use_chardet_on_py3'"
        ],
        "documentation": "https://requests.readthedocs.io",
        "python_versions": [
            "3",
            "3 :: Only",
            "3.10",
            "3.11",
            "3.7",
            "3.8",
            "3.9"
        ],
        "requires_python": ">=3.7",
        "dependency_count": 6,
        "description_content_type": "text/markdown"
    },
    "meta": {
        "timestamp": "2026-05-30T18:16:47.558Z",
        "request_id": "1071babf-2cda-41c3-b664-7f5190f23240"
    },
    "status": "ok",
    "message": "Version retrieved",
    "success": true
}