pageviews
Retrieve daily view counts for a Wikipedia article over a date range to analyze popularity trends and historical interest. Returns total views, daily average, and a markdown table.
Instructions
Get daily view counts for a Wikipedia article over a date range (popularity research, trending topics, historical interest). Uses Wikimedia's pageviews REST API. Default window is the last 7 days ending yesterday UTC. Returns total + daily average + markdown table of daily views.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date in YYYYMMDD (default: yesterday UTC) | |
| lang | No | Wikipedia language code (default 'en') | en |
| start | No | Start date in YYYYMMDD (default: 7 days before end) | |
| title | Yes | Article title (e.g. 'Tyrannosaurus' or 'Albert_Einstein') |