# Wikimedia project pageviews

Total views of a whole Wikimedia project (e.g. all of French Wikipedia) per hour, day or month, by access method and traffic type, or 'all-projects' for every. Needs start and end.

Total views of a whole Wikimedia project (e.g. all of French Wikipedia) per hour, day or month, by access method and traffic type, or 'all-projects' for every Wikimedia site combined. Use it to size a language audience or to normalise article-level numbers.

- Tool ID: `wikimedia/pageviews-aggregate`
- 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": "^(all-projects|[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 or 'all-projects', e.g. 'fr.wikipedia.org'"
    },
    "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": [
        "hourly",
        "daily",
        "monthly"
      ],
      "default": "daily",
      "description": "Bucket size, e.g. 'daily'"
    },
    "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": [
    "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-aggregate",
  "input": {
    "project": "fr.wikipedia.org",
    "start": "20261001",
    "end": "20261010"
  }
}
```

## 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-aggregate) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

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