Wikipedia Edit Count Aggregate
wikimedia-analytics.edits.aggregateGet total edit counts for a Wikimedia project over a date range, bucketed daily or monthly. Filter by editor type (anonymous, group-bot, name-bot, user, or all-editor-types) and page type (content, non-content, or all-page-types). Data: Wikimedia Analytics REST API (wikimedia.org/api/rest_v1), no auth required.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"start": "<start>",
"end": "<end>"
},
"name": "wikimedia-analytics.edits.aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date in YYYYMMDD format (e.g. 20260801) | |
| start | Yes | Start date in YYYYMMDD format (e.g. 20260801) | |
| project | Yes | Wikimedia project domain (e.g. en.wikipedia, de.wikipedia, commons.wikimedia) | |
| page_type | No | Page namespace type filter (default all-page-types) | |
| editor_type | No | Editor type filter (default all-editor-types) | |
| granularity | No | Time bucket granularity (default monthly) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |