/v1/stats
Wiki-wide statistics for a language
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/wikiedits-api/v1/stats" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/wikiedits-api/v1/stats", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/wikiedits-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/wikiedits-api/v1/stats",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"url": "https://en.wikipedia.org/wiki/Main_Page",
"jobs": 0,
"lang": "en",
"edits": 1354396375,
"pages": 65773514,
"users": 53255490,
"admins": 814,
"images": 969701,
"articles": 7195001,
"sitename": "Wikipedia",
"active_users": 271357
},
"meta": {
"timestamp": "2026-06-13T14:10:04.279Z",
"request_id": "3fed1739-564c-45c3-ba85-940249e9efb3"
},
"status": "ok",
"message": "Statistics retrieved successfully",
"success": true
}