/v1/version
Specific version details
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}