wikipedia_pageviews
Get monthly Wikipedia pageview counts for any article to gauge reading interest and complement Google Trends search data. Use it to compare search vs. reading trends for a fuller market picture.
Instructions
Monthly Wikipedia pageview counts for an article - a free, no-auth reference/reading interest signal that complements Google Trends' search-interest signal. The two diverging (e.g. a term trending in search but flat on Wikipedia) can itself be a signal worth flagging.
Args: article: an English Wikipedia article title, e.g. "Artificial_intelligence" or "Machine learning" (spaces are handled automatically). timeframe: how far back to request, as a simple duration - "P1Y" (1 year, default), "P6M" (6 months), "P90D" (90 days). Only whole Y/M/D forms are supported. response_format: "concise" (default) returns only the most recent 12 months. "full" returns the entire requested timeframe.
Returns: A list of records, one per month, each containing: - "month": "YYYY-MM" - "views": total pageviews that month (all access methods, human traffic only - bot traffic is excluded by Wikimedia's "user" agent filter)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| article | Yes | ||
| timeframe | No | P1Y | |
| response_format | No | concise |