# Wikipedia Attention – Top Pages

> Wikipedia Attention – Top Pages is a paid API for AI agents from wikipedia-attention.x402tookit.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-21).

Returns the most-viewed Wikipedia articles for the latest published day, ranked by view count, excluding main page and special pages.

## Facts

- Endpoint: GET https://wikipedia-attention.x402tookit.com/top-pages?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-attention-top-pages-1045b21d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G9-xuwKp7_1l-BQaymUyk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wikipedia-attention-top-pages-1045b21d
```

Example prompt: What are the top 20 most-viewed Wikipedia articles today in English? Give me each article's title, rank, and view count.

## When to prefer this

Use this endpoint when you need a current, authoritative snapshot of the most-read Wikipedia articles by raw view count for a given language. It is ideal for trend detection, editorial research, content strategy, or situational awareness of what the public is reading. Prefer this over the rising-articles endpoint when you want absolute popularity rather than relative momentum, and over search endpoints when you don't have a specific topic in mind.

## Known failure modes

- Wikipedia pageview data not yet published for today — returns data for the previous available day
- Invalid language code returns an error or empty results
- Limit out of range (below 1 or above 50) may cause a validation error
- Network or upstream Wikimedia API outage may cause degraded or no response

## How this service works

The most-viewed Wikipedia articles on the latest published day, with views and rank, excluding the main page and special pages.

## Output

A ranked list of up to 50 Wikipedia articles for the most recently published day, each including the article title, its rank, and its view count, along with metadata such as the date, language, source URL, and any disclaimer or attribution notes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lang": {
       "type": "string",
       "description": "Language code (default en)"
      },
      "limit": {
       "type": "integer",
       "description": "How many, 1 to 50 (default 20)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "date": {
       "type": [
        "null",
        "string"
       ]
      },
      "pages": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "rank": {
          "type": [
           "null",
           "number"
          ]
         },
         "views": {
          "type": [
           "null",
           "number"
          ]
         },
         "article": {
          "type": [
           "null",
           "string"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "language": {
       "type": [
        "null",
        "string"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-attention-top-pages-1045b21d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wikipedia-attention.x402tookit.com](https://www.zero.xyz/host/wikipedia-attention.x402tookit.com/llms.txt)
