# Compare Wikipedia page views of AI chatbots

**Use case:** 

Compares public interest in topics with official Wikimedia pageview data. For each article you get total views, the daily average, the peak day and the full daily series for the last 90 days, plus the article summary and categories. Swap in brands, people, products or events to compare demand and spot trends.

## Input

```json
{
  "articles": [
    "ChatGPT",
    "Claude (language model)",
    "Gemini (chatbot)",
    "Microsoft Copilot"
  ],
  "searchQueries": [],
  "maxResultsPerSearch": 20,
  "categories": [],
  "categoryDepth": 0,
  "maxResultsPerCategory": 100,
  "includeMostViewed": false,
  "mostViewedDate": "",
  "maxMostViewed": 25,
  "language": "en",
  "includeFullText": false,
  "includeSections": false,
  "includeInfobox": false,
  "includeHtml": false,
  "includeCategories": true,
  "includeLinks": false,
  "maxLinksPerArticle": 500,
  "includeImages": false,
  "maxImagesPerArticle": 20,
  "includeLanguageLinks": false,
  "includeWikidata": false,
  "skipDisambiguation": false,
  "includePageviews": true,
  "pageviewsGranularity": "daily",
  "pageviewsDays": 90,
  "pageviewsStartDate": "",
  "pageviewsEndDate": "",
  "pageviewsAccess": "all-access",
  "pageviewsAgent": "user",
  "pageviewRows": false,
  "maxArticles": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "title": {
    "label": "Title",
    "format": "text"
  },
  "language": {
    "label": "Lang",
    "format": "text"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "pageviewsTotal": {
    "label": "Total views",
    "format": "number"
  },
  "pageviewsDailyAverage": {
    "label": "Daily average",
    "format": "number"
  },
  "pageviews": {
    "label": "Pageviews (series, peak, period)",
    "format": "object"
  },
  "mostViewedRank": {
    "label": "Top rank",
    "format": "number"
  },
  "mostViewedViews": {
    "label": "Views on top day",
    "format": "number"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Wikipedia Scraper: Articles, Full Text, Infobox, Pageviews Actor is ready to run with the inputs already set for "Compare Wikipedia page views of AI chatbots". [Sign up or log in](https://console.apify.com/create-task-from-example/Y0KSEb5JyWRQnzEB9) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Compare Wikipedia page views of AI chatbots" task

The Wikipedia Scraper: Articles, Full Text, Infobox, Pageviews Actor will start running based on the input automatically. You can also change all the input fields, like articles (titles or urls), search queries, and more, to match your specific use case.

### 3. Receive the "Compare Wikipedia page views of AI chatbots" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, lang, link, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Compare Wikipedia page views of AI chatbots" task via API](https://apify.com/zhtech/wikipedia-scraper.md).

## FAQ

### What does the Wikipedia page views comparison task return?

The Wikipedia page views comparison task returns one row per article with title, URL, total views, daily average and the daily pageview series, plus description, summary, categories and last edit date.

### How do I compare other topics or a longer period?

Edit Articles in the Wikipedia page views comparison task with any titles or Wikipedia links in any language, and raise Period (days back), for example 365 days. Data goes back to July 2015.

### Can I run the Wikipedia page views comparison task on a schedule or through the API?

Save the Wikipedia page views comparison task to your Apify account, then add it to an Apify Schedule (for example daily) or start it from the Apify API, webhooks, Zapier, Make, n8n or the Apify MCP server for AI agents.

### How much does the Wikipedia page views comparison task cost?

The Wikipedia page views comparison task is pay per event: a small start fee per run plus a fee per article saved. Error rows and skipped pages are free. Prices are on the Pricing tab.

## About this Actor

This example demonstrates how to use [Wikipedia Scraper: Articles, Full Text, Infobox, Pageviews](https://apify.com/zhtech/wikipedia-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/zhtech/wikipedia-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/zhtech/wikipedia-scraper.md

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`).
