Get Article Views
get_article_viewsGet daily pageview counts for a specific Wikipedia article over a date range. Dates must be in YYYYMMDD format.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"end": "20240131",
"start": "20240101",
"title": "Albert_Einstein"
},
"name": "get_article_views"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date in YYYYMMDD format (e.g. "20240131") | |
| start | Yes | Start date in YYYYMMDD format (e.g. "20240101") | |
| title | Yes | Wikipedia article title, URL-encoded if needed (e.g. "Albert_Einstein") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End date in YYYYMMDD format | |
| daily | Yes | Daily pageview breakdown | |
| start | Yes | Start date in YYYYMMDD format | |
| article | Yes | Wikipedia article title | |
| total_views | Yes | Total pageviews across date range |