# Wikipedia Pageviews — Article Traffic, Trends & Top Articles (`intelscrape/wikipedia-pageviews-scraper`) Actor

Wikipedia Pageviews scraper: daily or monthly views for any Wikipedia article in any language, with totals, peaks and 7-day trend %, plus the most-viewed articles per day for a language or country. A free, public demand signal for topics, people, brands and products. No API key. Pay per article.

- **URL**: https://apify.com/intelscrape/wikipedia-pageviews-scraper.md
- **Developed by:** [IntelScrape](https://apify.com/intelscrape) (community)
- **Categories:** SEO tools, News, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Wikipedia Pageviews — Article Traffic, Trends & Top Articles

![Wikipedia Pageviews — Article Traffic, Trends & Top Articles](https://api.apify.com/v2/key-value-stores/hRabN9WfDGrT4nSvV/records/wikipedia-pageviews-scraper-banner.png)

🇨🇳 **维基百科浏览量采集器**：获取任意语言维基百科条目的每日或每月浏览量，计算总量、峰值和 7 天趋势，还可列出某天某语言或某国家浏览最多的条目。这是衡量话题、人物、品牌和产品关注度的免费公开指标。无需 API 密钥。

🇸🇬 **Paparan Halaman Wikipedia**: tontonan harian atau bulanan bagi mana-mana artikel Wikipedia dalam apa-apa bahasa, dengan jumlah, puncak dan trend 7 hari, serta artikel paling banyak dibaca mengikut hari atau negara. Tiada kunci API.

#### 🤖 NEW: Connect This To Your AI!

Use this actor from Claude, ChatGPT, Cursor or any MCP client through the **[IntelScrape MCP Server](https://apify.com/intelscrape/skip--trace)**, or call it directly over the Apify API.

#### 🏆 Featured Bots by IntelScrape

- [Skip Trace Pro](https://apify.com/intelscrape/skip-trace-pro)
- [TruePeopleSearch Scraper](https://apify.com/intelscrape/truepeoplesearch-scraper)
- [TikTok Email Scraper](https://apify.com/intelscrape/tiktok-scraper)
- [Amazon Product Reviews Scraper](https://apify.com/intelscrape/amazon-product-review-scraper)
- [Website Contact Scraper](https://apify.com/intelscrape/contact-info-scraper)
- [Skip Trace MCP Server](https://apify.com/intelscrape/skip--trace)

⚡ Works with n8n, Make, Zapier, Google Sheets and the Apify API.

![price](https://img.shields.io/badge/price-%242%20per%201K%20articles-blue) ![billing](https://img.shields.io/badge/billing-pay%20per%20article-green) ![API key](https://img.shields.io/badge/API%20key-not%20required-brightgreen) ![history](https://img.shields.io/badge/history-since%202015-orange)

**Daily public-interest data for any topic: Wikipedia views with totals, peaks, 7-day trend and the top articles per day or country.**

> **Honest coverage & billing:** Data appears with about a 1-day delay. You pay only for results actually delivered, and a built-in cost guard stops the run at your max-charge limit.

🌍 Built for teams in the **US, China and Singapore**, and anyone who needs this data in a spreadsheet or pipeline.

⭐ Found it useful? Please leave a review; it helps others find it.

⚖️ **Lawful business use only.** Collect public data only, and comply with the source site's terms, copyright and data-protection laws (GDPR, CCPA, China PIPL, Singapore PDPA).

*Examples below are illustrative; names and values may be fictional or out of date.*

### What is Wikipedia Pageviews?

Wikipedia is one of the most visited sites on earth, and every article view is public. That makes pageviews a free, transparent proxy for public interest: how much attention a person, company, product, disease or event is getting, day by day, in any language, going back to 2015. **Wikipedia Pageviews** turns that data into ready-to-use rows with totals, peaks and a 7-day trend, or lists the most-read articles of any day for a language or a country.

### What does it do?

- **Any article, any language**: titles or URLs; redirects are resolved to the canonical article
- **Daily or monthly views** for up to 10 years of history (data starts July 2015), human traffic only (bots and spiders excluded)
- **Stats per article**: total, average, peak and peak date, last 7 days vs previous 7 days with trend %
- **Article context**: short description, Wikidata ID, page size and last edit time
- **Top articles mode**: the most-viewed articles of a day for a language edition, or for a country across all languages
- **Time series included** for charts and models (can be turned off)

### Why choose us over cheaper scrapers?

- **Honest output**: limits are documented, missing data is labeled, never invented
- **Clean, consistent schema** ready for Excel, Sheets, BI tools or an LLM
- **No account risk**: no logins, no cookies, no API keys
- **Pay per result** with a built-in cost guard; no subscription, failed items are never charged
- **Fast and light**: no residential proxy, so runs finish in seconds and stay cheap
- **Maintained by IntelScrape** and fixed fast when the source changes

### Who is it for?

- **Trend research & content planning**: see which topics are gaining attention before you write
- **Market & investment research**: track interest in companies, products, crypto assets and tickers
- **Brand & reputation monitoring**: spot spikes in attention on your brand or executives
- **Data science & forecasting**: add a clean public-interest signal to models
- **Journalists**: find what readers in a country are reading today
- **Academic research**: build reproducible attention datasets across languages

### How to use it

#### In Apify Console (no code)

1. Click **Try for free** / **Start**. The form is prefilled with a working example.
2. Change the inputs (see examples below).
3. Click **Start**, then export the results as **JSON, CSV, Excel, XML or HTML**, or open them in Google Sheets.
4. Optional: **Schedule** the actor to run hourly, daily or weekly.

#### Via API

```bash
curl -X POST "https://api.apify.com/v2/acts/intelscrape~wikipedia-pageviews-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode": "articles", "articles": ["ChatGPT", "Taylor Swift", "Bitcoin"], "language": "en", "days": 30}'
```

Or use the official [Apify JavaScript](https://docs.apify.com/api/client/js/) and [Python](https://docs.apify.com/api/client/python/) clients:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("intelscrape/wikipedia-pageviews-scraper").call(run_input={"mode": "articles", "articles": ["ChatGPT", "Taylor Swift", "Bitcoin"], "language": "en", "days": 30})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
    print(item)
```

#### With AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) or the [IntelScrape MCP Server](https://apify.com/intelscrape/skip--trace) to Claude Desktop, Cursor, ChatGPT or any MCP client, then ask in plain language, e.g. *"Run intelscrape/wikipedia-pageviews-scraper with the default input and summarise the results."*

### Input examples

**Three articles, last 30 days (default)**

```json
{
  "mode": "articles",
  "articles": ["ChatGPT", "Taylor Swift", "Bitcoin"],
  "language": "en",
  "days": 30
}
```

**Monthly history of German articles**

```json
{
  "mode": "articles",
  "articles": ["https://de.wikipedia.org/wiki/Volkswagen", "BMW"],
  "language": "de",
  "days": 1095,
  "granularity": "monthly"
}
```

**Top 100 articles read in Japan on a date**

```json
{
  "mode": "top",
  "topCountry": "JP",
  "topDate": "2026-10-18",
  "topLimit": 100
}
```

### Output fields

| Field | Description |
|---|---|
| `type` | article or top-article |
| `article / inputTitle / url` | Canonical title, what you entered, article URL |
| `description / wikidataId` | Short description and Wikidata item |
| `pageLengthBytes / lastEdited` | Article size and last edit |
| `startDate / endDate / periods / granularity` | Covered range |
| `totalViews / avgViews` | Views in range and average per period |
| `peakViews / peakDate` | Best day (or month) |
| `last7DaysViews / prev7DaysViews / trendPct7d` | Week-over-week trend (daily mode) |
| `series[]` | date + views per period |
| `rank / views / date / country (top mode)` | Position, views and date of each top article; country lists use Wikimedia's rounded-up counts |

#### Sample output

```json
{
  "type": "article",
  "article": "ChatGPT",
  "url": "https://en.wikipedia.org/wiki/ChatGPT",
  "description": "Generative AI chatbot by OpenAI",
  "wikidataId": "Q115564437",
  "totalViews": 412345,
  "avgViews": 13745,
  "peakViews": 19870,
  "peakDate": "2026-10-07",
  "last7DaysViews": 98760,
  "prev7DaysViews": 92110,
  "trendPct7d": 7.2
}
```

### Pricing (pay per event)

| Event | When it is charged | Price |
|---|---|---|
| **Actor start** | once per run | $0.005 |
| **Article timeline** | per article with its pageview history and stats | $0.002 |
| **Top article** | per row of a top-articles list | $0.0002 |

#### Cost examples

| Run | Cost |
|---|---|
| Default run: 3 articles, 30 days | $0.011 |
| 500 articles, 1 year daily | $1.005 |
| Top 1,000 articles of a day | $0.205 |

Platform usage is included in these prices. Set **Max charge per run** in the run options to cap spend; the actor stops cleanly when the limit is reached and keeps everything collected so far.

### Tips for best results

- Use exact Wikipedia titles or paste article URLs to avoid ambiguity.
- Wikimedia publishes each day with about a 1-day delay, so the latest complete day is yesterday.
- Use monthly granularity for multi-year history; rows stay small.
- Combine with Google Trending Searches to compare search spikes with reading spikes.

### FAQ

#### Is this real traffic?

Yes. These are Wikimedia's official pageview counts for human users (agent type "user"), with bots and crawlers excluded.

#### How far back does it go?

July 2015, when the current pageview pipeline started.

#### Why are country top-list numbers round?

Wikimedia publishes per-country top lists with counts rounded up for privacy; we flag them with viewsAreRoundedUp.

#### Can I track non-English articles?

Yes. Set language to any edition code (de, fr, ja, zh, es, ru…).

#### Do I need a key?

No. The Wikimedia APIs are public; the actor identifies itself politely as required by Wikimedia's policy.

#### What if an article does not exist?

It is logged and skipped, and you are not charged.

### Honest limits

- Data appears with about a 1-day delay.
- Mobile app views are included in all-access totals but cannot be separated per article in this actor.
- Country top lists exist for Wikimedia-approved countries only and use rounded counts.
- Pageviews measure reading interest, not search volume.

### Related IntelScrape bots

- [Google Trending Searches](https://apify.com/intelscrape/google-trending-searches-scraper): daily trending searches by country
- [Keyword Search Volume](https://apify.com/intelscrape/keyword-search-volume): estimated monthly Google searches & trends
- [Google Autocomplete Scraper](https://apify.com/intelscrape/google-autocomplete-scraper): keyword suggestions from Google, YouTube, Amazon & Bing
- [Google News Scraper](https://apify.com/intelscrape/google-news-scraper): headlines & summaries
- [Hacker News Scraper](https://apify.com/intelscrape/hacker-news-scraper): stories & comments by keyword
- [Skip Trace MCP Server](https://apify.com/intelscrape/skip--trace): IntelScrape tools for AI agents

### Legal

This actor collects publicly available data only. You are responsible for using the results lawfully and in line with the source's terms and applicable privacy laws (GDPR, CCPA, PIPL, PDPA). Process personal data only with a legitimate purpose. IntelScrape is not affiliated with, endorsed by or sponsored by the data source; all trademarks belong to their owners.

# Actor input Schema

## `mode` (type: `string`):

Track your own articles, or list the most-viewed articles of a day.

## `articles` (type: `array`):

Article titles or Wikipedia URLs (articles mode).

## `language` (type: `string`):

Language edition: en, de, fr, es, ja, zh, ru, pt, it…

## `days` (type: `integer`):

How far back to go (data starts July 2015).

## `granularity` (type: `string`):

Daily or monthly totals.

## `includeSeries` (type: `boolean`):

Add the per-day (or per-month) views array to each row.

## `topDate` (type: `string`):

YYYY-MM-DD. Empty = 2 days ago (latest complete day).

## `topCountry` (type: `string`):

Two-letter country code for the top articles read in that country (all languages). Empty = the language edition above.

## `topLimit` (type: `integer`):

How many top articles to return.

## `proxyConfiguration` (type: `object`):

Not needed normally. The actor switches to Apify Proxy automatically if the source starts rate-limiting.

## Actor input object example

```json
{
  "mode": "articles",
  "articles": [
    "ChatGPT",
    "Taylor Swift",
    "Bitcoin"
  ],
  "language": "en",
  "days": 30,
  "granularity": "daily",
  "includeSeries": true,
  "topDate": "",
  "topCountry": "",
  "topLimit": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "articles": [
        "ChatGPT",
        "Taylor Swift",
        "Bitcoin"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("intelscrape/wikipedia-pageviews-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "articles": [
        "ChatGPT",
        "Taylor Swift",
        "Bitcoin",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("intelscrape/wikipedia-pageviews-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "articles": [
    "ChatGPT",
    "Taylor Swift",
    "Bitcoin"
  ]
}' |
apify call intelscrape/wikipedia-pageviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,intelscrape/wikipedia-pageviews-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bxLD6KssG7vhniCoy/builds/nRhcs5kLdAb8dUeSk/openapi.json
