Aller au contenu
GET /v1/top

Most-viewed articles for a day

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/pageviews-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "date": "2026-05-29",
        "count": 25,
        "access": "all-access",
        "cleaned": true,
        "project": "en.wikipedia",
        "results": [
            {
                "rank": 1,
                "title": "Backrooms (film)",
                "views": 414298,
                "article": "Backrooms_(film)"
            },
            {
                "rank": 2,
                "title": "Claude Lemieux",
                "views": 347318,
                "article": "Claude_Lemieux"
            },
            {
                "rank": 3,
                "title": ".xxx",
                "views": 269906,
                "article": ".xxx"
            },
            {
                "rank": 4,
                "title": "Obsession (2025 film)",
                "views": 233530,
                "article": "Obsession_(2025_film)"
            },
            {
                "rank": 5,
                "title": "Spider-Noir",
                "views": 167553,
                "article": "Spider-Noir"
            },
            {
                "rank": 6,
                "title": "Vaibhav Sooryavanshi",
                "views": 150522,
                "article": "Vaibhav_Sooryavanshi"
            },
            {
                "rank": 7,
                "title": "Deaths in 2026",
                "views": 132092,
                "article": "Deaths_in_2026"
            },
            {
                "rank": 8,
                "title": ".xyz",
                "views": 126377,
                "article": ".xyz"
            },
            {
                "rank": 9,
                "title": "Victor Wembanyama",
                "views": 121451,
                "article": "Victor_Wembanyama"
            },
            {
                "rank": 10,
                "title": "2026 FIFA World Cup",
                "views": 118660,
                "article": "2026_FIFA_World_Cup"
            },
            {
                "rank": 11,
                "title": "ChatGPT",
                "views": 106595,
                "article": "ChatGPT"
            },
            {
                "rank": 12,
                "title": "Anthony Gordon (footballer)",
                "views": 104797,
                "article": "Anthony_Gordon_(footballer)"
            },
            {
                "rank": 13,
                "title": "João Fonseca (tennis)",
                "views": 97187,
                "article": "João_Fonseca_(tennis)"
            },
            {
                "rank": 14,
                "title": "Hercules von Oberberg",
                "views": 95865,
                "article": "Hercules_von_Oberberg"
            },
            {
                "rank": 15,
                "title": "Lars Mejern Larsson",
                "views": 90834,
                "article": "Lars_Mejern_Larsson"
            },
            {
                "rank": 16,
                "title": "The Backrooms",
                "views": 90217,
           
…