# Wikipedia Pageview Trend Lookup

> Wikipedia Pageview Trend Lookup is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.052/call, status unknown (last checked 2026-11-28).

Fetches Wikipedia pageview statistics for a keyword, entity, or topic over a specified lookback window across multiple language editions.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/attention/index?utm_source=zero.xyz
- Price: $0.052/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wikipedia-pageview-trend-lookup-11ad1d84
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zOsUVVMxeMpdENA2kcIZw

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-pageview-trend-lookup-11ad1d84
```

Example prompt: How much Wikipedia attention has Bitcoin been getting? Pull pageview stats for the English Wikipedia article on Bitcoin over the last 60 days.

## When to prefer this

Use this endpoint when you need a quick, quantitative proxy for public interest or trending attention for any entity (company, person, product, topic) using Wikipedia pageview data, especially when you need multi-language support or a historical window of up to a year. Prefer this over social media trend APIs when you need a language-neutral, globally representative signal without platform bias.

## Known failure modes

- Keyword cannot be resolved to a Wikipedia article — returns error or empty result
- Requested language project has no article for the keyword — empty data
- Lookback window outside allowed range (14–365 days) — validation error
- Wikipedia API unavailable or rate-limited — upstream failure
- Payment not processed via x402 — 402 Payment Required response

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

A JSON object with success status and a result containing pageview metrics (counts, trends) for the specified keyword or Wikipedia article over the requested time window.

## 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": [
      "keyword"
     ],
     "properties": {
      "window": {
       "type": "integer",
       "default": null,
       "maximum": 365,
       "minimum": 14,
       "description": "Lookback in days (default 90)."
      },
      "article": {
       "type": "string",
       "default": null,
       "description": "Explicit Wikipedia article title to skip word->article resolution."
      },
      "keyword": {
       "type": "string",
       "default": null,
       "description": "Word/entity to measure: ticker, company, product, person or topic (e.g. Bitcoin, Nvidia, iPhone, Taylor Swift)."
      },
      "project": {
       "enum": [
        "en",
        "es",
        "fr",
        "de",
        "ru",
        "ja",
        "zh",
        "pt",
        "it",
        "ar",
        "ko",
        "hi"
       ],
       "type": "string",
       "default": null,
       "description": "Wikipedia language (default en)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wikipedia-pageview-trend-lookup-11ad1d84/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
