Wikipedia Pageviews API + Wikidata: Daily Views per Page
Page updated
Price: $0.10 per 1,000 pages, flat on every Apify plan, no start fee. Free-plan cap: up to 100 pages per run on the Apify Free plan. Prices checked on 2026-10-19.
The Wikipedia Pageviews tool returns one row per page with daily views over your date range, the total, average and peak day, and the page’s Wikidata item.
Redirects are followed, so titles that land on the same page come back as one row.
Who it is for
Researchers, marketers, journalists and analysts who use Wikipedia page views as a public interest signal.
- Track public interest in topics, brands or people over time.
- Compare attention across a list of pages for the same date range.
- Find the peak day of interest for an event or launch.
- Join page views to Wikidata IDs for further analysis.
Inputs
| Field | Type | Required | Description |
|---|---|---|---|
| titles | array of strings | Yes | Wikipedia page titles, one per line. Redirects are followed. |
| project | string | No | Language edition, e.g. en.wikipedia (default), de.wikipedia. |
| lastDays | integer | No | Days ending yesterday (UTC). Default 30, up to 366. Or set startDate and endDate. |
| agent | string | No | user (default), all-agents, automated or spider. |
| includeWikidata | boolean | No | Adds the Wikidata ID, label, description, aliases and sitelink count. Default on. |
| maxItems | integer | No | Default 100, up to 2,000 page rows. |
Example input
{
"titles": [
"Artificial_intelligence"
],
"project": "en.wikipedia",
"lastDays": 30
} Example output
[
{
"type": "page",
"project": "en.wikipedia",
"title": "Artificial intelligence",
"inputTitles": [
"Artificial_intelligence"
],
"pageId": 1164,
"redirectedFrom": null,
"pageUrl": "https://en.wikipedia.org/wiki/Artificial_intelligence",
"startDate": "2026-09-19",
"endDate": "2026-10-18",
"access": "all-access",
"agent": "user",
"totalViews": 551712,
"daysWithData": 30,
"averageDailyViews": 18390,
"peakDate": "2026-09-30",
"peakViews": 31799,
"daily": [
{
"date": "2026-09-19",
"views": 15367
}
],
"wikidataId": "Q11660",
"wikidataLabel": "artificial intelligence",
"wikidataDescription": "field that develops and studies software enabling machines to exhibit intelligent behavior"
}
] Price
$0.10 per 1,000 pages
Free-plan cap: Up to 100 pages per run on the Apify Free plan
Billing happens on Apify, not on this website.
Limits
- Up to 100 pages per run on the Apify Free plan.
- Up to 2,000 page rows per run and 366 days per range, from 2015-07-01.
- One request at a time, with back-off on errors.
What it does not do
- It does not collect editor, user or account data. Page-level counts only.
- It does not count views of redirect titles separately. Views are for the resolved page.
FAQ
What counts as a result?
One page row, whatever the length of the date range.
Do I pay for pages that don't exist or for errors?
No. No-results, invalid-input, error and limit rows are free.
Where does the data come from?
From the Wikimedia Pageviews API, the MediaWiki API and Wikidata. Pageview data and Wikidata are CC0. Lepidata is not affiliated with the Wikimedia Foundation.
Is there a start fee?
No. You pay only the flat price per result.