Ir al contenido
GET /v1/meta

Service metadata

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/wikitrends-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "note": "Pageview data lags ~1-2 days; range/date defaults end 2 days back. project defaults to en.wikipedia (a bare lang code like 'de' becomes de.wikipedia).",
        "source": "Wikimedia Pageviews REST API (wikimedia.org, live)",
        "service": "wikitrends-api",
        "endpoints": {
            "GET /v1/top": "Most-viewed articles for a day — the trending list (project=en.wikipedia, date=2026-06-08, limit=50, exclude_special=true).",
            "GET /v1/meta": "This document.",
            "GET /v1/article": "Daily/monthly pageview trend for one article (article=Cristiano_Ronaldo, project=en.wikipedia, from=2026-06-01, to=2026-06-08).",
            "GET /v1/compare": "Rank several articles by total views (articles=Python_(programming_language)|Java_(programming_language), from=2026-06-01, to=2026-06-08).",
            "GET /v1/aggregate": "A project's total pageviews over a range (project=en.wikipedia, from=2026-06-01, to=2026-06-08, granularity=daily)."
        },
        "description": "Live readership-trend data from the Wikimedia Pageviews API — the official measure of what the world is reading on Wikipedia and its sister projects. The top endpoint returns the most-viewed articles on any Wikipedia language edition for a given day (the daily trending list); the article endpoint returns the daily or monthly pageview trend for any single article over a date range; the aggregate endpoint returns a whole project's total pageviews over a range; the compare endpoint ranks several articles head-to-head by total views over a range. Live, no key, nothing stored. Distinct from Wikipedia content/article APIs — this is the pageview, trending and engagement signal: what people are actually reading and how it changes.",
        "upstream_status": "ok",
        "sample_top_count": 1000
    },
    "meta": {
        "timestamp": "2026-06-10T13:59:42.433Z",
        "request_id": "592eaae8-50dd-418c-9a62-b2470c83252f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}