Wikimedia Commons Page Views Scraper avatar

Wikimedia Commons Page Views Scraper

Pricing

from $3.62 / 1,000 results

Go to Apify Store
Wikimedia Commons Page Views Scraper

Wikimedia Commons Page Views Scraper

Scrapes Wikimedia Commons pageview statistics from the official API. Returns top files with title, views, and rank for a given date and access method.

Pricing

from $3.62 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

ParseForge

Wikimedia Commons Page Views Scraper

Scrape Wikimedia Commons page views for any date, access type, and up to a million files. Get each file's title, view count, and rank in one flat row. No API key or login. Export to CSV, JSON, Excel, or XML.

Wikimedia Commons pageview data shows which media files people look at, but the official API returns raw JSON and needs manual date handling. This Actor calls the Wikimedia Pageviews API for you, filters by access method, and returns each file's views and rank in a fixed schema. Use it to track media popularity, monitor upload performance, or build dashboards without writing code.

Who uses itWhat they scrape Wikimedia Commons for
Media researchersWhich Commons files are trending on a given day
GLAM institutionsHow many views their uploaded collections receive
Content marketersWhich Commons images drive the most traffic to their articles
Data analystsBuild time series of Commons file popularity

What it does

This Actor collects Wikimedia Commons pageview statistics for a given date and access method, and returns each file as a flat row with its title, view count, and rank.

  • ๐Ÿ“… Date targeting: pick any past date in YYYY/MM/DD format, from yesterday back to 2015.
  • ๐Ÿ“Š Access filtering: choose all-access, desktop, or mobile-app to see where views come from.
  • ๐Ÿ”ข Rank and views: every row includes the file's rank and exact view count for that day.
  • ๐Ÿ“ Flat export: results are one row per file, ready for CSV, JSON, Excel, or XML.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Wikimedia Commons data

๐Ÿ“ˆ Track media trends.

A media researcher runs the Actor daily for the previous day and charts which Commons files spike in views, spotting viral images early.

๐Ÿ›๏ธ Measure GLAM impact.

A museum uploads its collection to Commons and runs the Actor monthly to report how many views its files received, justifying continued digitization.

๐Ÿ“ฐ Support editorial decisions.

A newsroom checks Commons pageviews for candidate images before publishing, choosing the file that already attracts attention.

๐Ÿ“Š Build a popularity dashboard.

A data analyst schedules the Actor for the last 30 days and aggregates the results into a dashboard of top Commons files by access type.

Why choose this scraper

What you get
No API keyThe Wikimedia Pageviews API is public and needs no authentication.
One row per fileEach result is a flat record with title, views, and rank.
Any dateGo back to 2015 or pull yesterday's stats.
Access splitCompare all-access, desktop, and mobile-app views.

What a Wikimedia Commons record looks like

Every record returns as one flat JSON row. Here is a real one from a run:

{
"project": "commons.wikimedia",
"access": "all-access",
"year": "2026",
"month": "08",
"day": "23",
"article": "Main_Page",
"views": 176034,
"rank": 1,
"scrapedAt": "2026-08-24T21:36:29.573Z"
}

Every value above comes from a real run. A field a record does not have comes back as null.

Configure the run

Set the date, access method, and maximum number of files. The Actor calls the Wikimedia Pageviews API and returns only the top files for that day, already filtered and ranked. The Input tab lists every parameter.

A first run with the defaults:

{
"date": "2026/08/23",
"access": "all-access",
"maxItems": 10
}

A larger pull:

{
"date": "2026/08/23",
"access": "all-access",
"maxItems": 200
}

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Wikimedia Commons Page Views Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Wikimedia Commons through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/wikimedia-commons-pageviews-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check the date format. It must be YYYY/MM/DD, for example 2026/08/23. Also ensure the date is not today or in the future, and that maxItems is at least 1.

Why do I only get 10 items?

Free Apify accounts are limited to 10 items as a preview. Upgrade to a paid plan to increase maxItems up to 1,000,000.

The date I entered returns an error.

The Wikimedia Pageviews API only has data from 2015 onwards. Dates before that, or today's date, will fail. Use a past date between 2015 and yesterday.

Can I get more than 1000 files?

The Wikimedia API returns at most the top 1000 files per day. Setting maxItems higher will not return more rows, but you can run the Actor for multiple dates.

FAQ

QuestionAnswer
What is the Wikimedia Commons Page Views Scraper?It is an Apify Actor that calls the official Wikimedia Pageviews API for commons.wikimedia.org and returns the top viewed files for a given date and access method.
Do I need a Wikimedia API key?No. The Wikimedia Pageviews API is public and does not require authentication or an API key.
What dates can I scrape?Any date from 2015 to yesterday. The API does not provide data for today or future dates.
What does 'access method' mean?It is the platform used to view the file: all-access (combined), desktop, or mobile-app. Choose one per run.
How many files can I get?Free Apify users are limited to 10 items as a preview. Paid users can set maxItems up to 1,000,000, but the API typically returns the top 1000 files per day.
What fields are returned?Each row includes the project, access method, year, month, day, article (file title), views, and rank.
Can I get pageviews for a specific file?This Actor returns the top files for a date, not a single file's history. To track one file over time, run the Actor for multiple dates and filter the results.
What export formats are supported?You can export the dataset as CSV, JSON, Excel, or XML from the Apify platform.
Is this the same as the Pageviews Analysis tool?It uses the same underlying Wikimedia API, but this Actor gives you structured data you can download and integrate, instead of a web interface.
Can I schedule this Actor?Yes. Use Apify schedules to run it daily, weekly, or monthly and build a time series of Commons pageviews.

Browse the full ParseForge collection for more scrapers.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Wikimedia Foundation, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

๐Ÿ’ฐ How much does it cost to scrape Wikimedia Commons Page Views?

This Actor uses pay-per-result pricing: $0.004 per result collected. You are billed only for the results you receive, so a run that returns nothing costs nothing.