# Wikimedia article pageviews

Daily or monthly view counts of one Wikipedia (or other Wikimedia) article between two dates. Needs article, start and end.

Daily or monthly view counts of one Wikipedia (or other Wikimedia) article between two dates. Use it to measure public interest in a brand, person, product or topic over time and to spot spikes. Titles use the article name as on the wiki (spaces or underscores both work). Use monthly granularity for ranges over a few months. 404 when the article has no views in the range or does not exist.

- Tool ID: `wikimedia/pageviews-per-article`
- Provider: [Wikimedia](/providers/wikimedia.md)
- Capability: [Wikipedia, books & web archives](/tools/knowledge/reference.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "project": {
      "type": "string",
      "minLength": 8,
      "maxLength": 40,
      "pattern": "^[a-z][a-z0-9-]{1,20}\\.(wikipedia|wiktionary|wikiquote|wikibooks|wikisource|wikinews|wikiversity|wikivoyage|wikimedia|wikidata)\\.org$",
      "default": "en.wikipedia.org",
      "description": "Wikimedia project domain, e.g. 'en.wikipedia.org', 'fr.wikipedia.org' or 'www.wikidata.org'"
    },
    "article": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255,
      "description": "Article title as on the wiki, e.g. 'Nvidia' or 'Albert Einstein'"
    },
    "access": {
      "type": "string",
      "enum": [
        "all-access",
        "desktop",
        "mobile-app",
        "mobile-web"
      ],
      "default": "all-access",
      "description": "Access method, e.g. 'all-access' or 'mobile-web'"
    },
    "agent": {
      "type": "string",
      "enum": [
        "user",
        "automated",
        "spider",
        "all-agents"
      ],
      "default": "user",
      "description": "Traffic type: 'user' (humans, default) excludes known bots and automated traffic, e.g. 'user'"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "daily",
        "monthly"
      ],
      "default": "daily",
      "description": "Bucket size, e.g. 'daily' or 'monthly'"
    },
    "start": {
      "type": "string",
      "pattern": "^20[0-9]{6}([0-9]{2})?$",
      "description": "Timestamp YYYYMMDD (or YYYYMMDDHH), e.g. '20261001'"
    },
    "end": {
      "type": "string",
      "pattern": "^20[0-9]{6}([0-9]{2})?$",
      "description": "Timestamp YYYYMMDD (or YYYYMMDDHH), e.g. '20261031'"
    }
  },
  "required": [
    "article",
    "start",
    "end"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "wikimedia/pageviews-per-article",
  "input": {
    "article": "Nvidia",
    "start": "20261001",
    "end": "20261031"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: CC0 1.0 (Wikimedia Analytics API data).

Attribution: Data from the Wikimedia Foundation Analytics API (wikimedia.org).

[Provider documentation](https://doc.wikimedia.org/generated-data-platform/aqs/analytics-api/reference/page-views.html)

[REST inspection](https://api.agentik.cc/v1/tools/wikimedia/pageviews-per-article) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/wikimedia/pageviews-per-article) · [Agent index](/llms.txt)
