# Wikipedia Trending Articles - Pageviews and Summaries (`turboextract/wikipedia-trending`) Actor

Export the most viewed Wikipedia articles for any day and language, or daily pageviews for your own list of articles, with each article's description, summary, image and link. Official Wikimedia data for trend research, content ideas and AI. No API key.

- **URL**: https://apify.com/turboextract/wikipedia-trending.md
- **Developed by:** [Moses Ndambuki](https://apify.com/turboextract) (community)
- **Categories:** AI, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 1,000 article delivereds

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 Trending Articles: Most Viewed Pages, Pageviews and Summaries

**Export the most viewed Wikipedia articles for any day and language, or daily pageviews for your own list of articles, with each article's short description, intro summary, image and link.** Official Wikimedia data for trend research, content ideas, SEO and AI. No API key.

In one test, the top 10 articles in English and German for one day returned 20 rows with summaries in about 4 seconds. Tracking ChatGPT showed 287,757 views over 7 days.

***

### Who this is for

- **Journalists and content creators** finding what the world is reading today
- **SEO and marketing teams** spotting rising topics before they peak
- **Analysts and researchers** measuring public interest over time
- **Brand teams** tracking interest in a company, product or person
- **AI teams** feeding fresh, trending context into agents

***

### What you get

```json
{
  "language": "en",
  "date": "2026-11-21",
  "article": "ChatGPT",
  "title": "ChatGPT",
  "views": 287757,
  "viewsLastDay": 29378,
  "changeVsPriorAvgPct": -31.8,
  "dailyViews": [
    { "date": "2026-11-15", "views": 26309 },
    { "date": "2026-11-21", "views": 29378 }
  ],
  "url": "https://en.wikipedia.org/wiki/ChatGPT",
  "description": "Generative AI chatbot by OpenAI",
  "summary": "ChatGPT is a generative artificial intelligence (AI) chatbot developed by OpenAI...",
  "wikidataId": "Q115564437",
  "source": "tracked"
}
```

***

### How it works

```mermaid
flowchart LR
    A[Languages and dates] --> C[Wikimedia pageviews]
    B[Articles to track] --> C
    C --> D[Skip special pages]
    D --> E[Article summary]
    E --> F[Article rows]
```

***

### Quick start

1. Click **Try for free**.
2. Keep **Languages** as `en`, or add `de`, `es`, `ja` and more.
3. Optional: set a **Date** and **Days** for a range, and **Top articles per day**.
4. Or add **Articles to track**, like `Taylor Swift`, for their daily views.
5. Click **Start**, then export to CSV, JSON, Excel or Google Sheets. Schedule it daily for a trend feed.

#### API

```bash
curl -X POST "https://api.apify.com/v2/acts/Turboextract~wikipedia-trending/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"languages": ["en", "es"], "topN": 100}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("Turboextract/wikipedia-trending").call(run_input={
    "articles": ["Nvidia", "OpenAI", "Anthropic"],
    "days": 30,
})
for a in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(a["title"], a["views"], a["changeVsPriorAvgPct"])
```

***

### Input

| Field | Default | What it does |
|---|---|---|
| `languages` | en | Wikipedia language codes |
| `date` | yesterday | Last day of the range |
| `days` | 1 | Days in the range, up to 31 |
| `topN` | 50 | Top articles per day and language |
| `articles` | – | Articles to track; skips the top list |
| `includeSummary` | true | Description, summary, image |
| `skipSpecialPages` | true | Skips Main Page and Special: pages |

***

### Pricing

**$0.0005 per article row delivered.** A daily top 100 costs $0.05.

| Option | Top 100, daily for a month |
|---|---|
| **Wikipedia Trending Articles** | **$1.50** |
| Trend research tools | $50 to $300 a month |

***

### Use cases

- **Daily trend feed**: the top 50 articles each morning in your languages
- **Content calendar**: what readers searched for during a past event
- **Brand interest**: daily views for your company and competitors
- **Election and sports tracking**: interest in people over a month
- **AI context**: what's trending today, with summaries ready for a prompt

***

### Tips

- Pageview data arrives about a day late. With no date, the actor uses the latest day available.
- Article titles must match Wikipedia exactly. Paste the article link if unsure.
- Some top pages get bot traffic Wikimedia doesn't filter. A sudden spike on an odd page is often that.
- Use several languages to compare interest across countries.

***

### Pairs well with

- [Google News Feed](https://apify.com/Turboextract/google-news-feed): the news behind each trend
- [YouTube Scraper](https://apify.com/Turboextract/youtube-videos-scraper): videos on the same topics
- [Book Data Scraper](https://apify.com/Turboextract/open-library-books): books about trending subjects

***

### FAQ

**Do I need an API key?** No. The actor uses the official Wikimedia APIs.

**How far back does data go?** Pageviews go back to July 2015.

**Why are the views different from the article's page?** The actor counts human views across desktop, mobile web and apps.

**How fresh is the data?** Daily data is published about a day later.

**Is it legal?** Wikimedia publishes pageviews and article content openly. Summaries are licensed CC BY-SA.

***

### SEO keywords

Wikipedia trending articles, Wikipedia pageviews API, most viewed Wikipedia pages, Wikipedia top articles export, trending topics data, Wikipedia page views tracker, Wikimedia API scraper, public interest data, Wikipedia summaries dataset, daily trends feed

***

### Support

- Docs and examples: https://github.com/andersonjames38phd-cpu/wikipedia-trending
- Community Discord: https://discord.gg/8SrXSCpvgj

Built and maintained by [Turboextract](https://apify.com/Turboextract) on the Apify platform.

# Actor input Schema

## `languages` (type: `array`):

Wikipedia language codes, like en, de, es, fr or ja.

## `date` (type: `string`):

Day for the top list, like 2026-11-20. Empty uses the latest available day (yesterday).

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

Number of days ending on the date. Each day is a separate top list.

## `topN` (type: `integer`):

How many of the most viewed articles per day and language, up to 1,000.

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

Article titles like Taylor Swift or ChatGPT, or Wikipedia links. Returns total and daily views for each over the date range (at least 7 days). When set, the top list is skipped.

## `includeSummary` (type: `boolean`):

Adds each article's short description, intro summary, image and link.

## `skipSpecialPages` (type: `boolean`):

Skips Main Page, Special:, search and other non-article pages.

## Actor input object example

```json
{
  "languages": [
    "en"
  ],
  "days": 1,
  "topN": 50,
  "includeSummary": true,
  "skipSpecialPages": true
}
```

# Actor output Schema

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

One row per article with views, rank, description and summary.

# 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 = {
    "languages": [
        "en"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("turboextract/wikipedia-trending").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 = { "languages": ["en"] }

# Run the Actor and wait for it to finish
run = client.actor("turboextract/wikipedia-trending").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 '{
  "languages": [
    "en"
  ]
}' |
apify call turboextract/wikipedia-trending --silent --output-dataset

```

## MCP server setup

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

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/xApIhP11MVv02ceZX/builds/mzGTgqRVoaGKAMRCl/openapi.json
