Article
article
Optional
Page title with underscores, exactly as the API returns it. Null on country-breakdown rows.
Wikipedia Pageviews: Topic Trends, Top Articles by Country
Pricing
from $0.70 / 1,000 pageview rows
Reader interest from the official Wikimedia pageviews API: one row per article and date with exact views, share of the wiki's traffic and change against the previous bucket. Also the most-read articles of a language edition, the top articles opened in a country, and which countries read a wiki.
Mode
mode
Required
Which question the row answers: articleTrends, topArticles, topByCountry or countryBreakdown.
Wiki
project
Optional
The wiki the views were counted on, as the API spells it. Null on a marker row for a country with no data.
Article
article
Optional
Page title with underscores, exactly as the API returns it. Null on country-breakdown rows.
Title
articleTitle
Optional
The same title with spaces instead of underscores, for reading.
Date
date
Optional
The bucket: YYYY-MM-DD for a day, YYYY-MM for a month (UTC).
Bucket size
granularity
Optional
daily or monthly.
Device channel
access
Optional
all-access, desktop, mobile-web or mobile-app, as asked for.
Agent class
agent
Optional
user, all-agents, spider or automated - article trends only; the ranking endpoints have no agent filter and leave this empty.
Views
views
Optional
The comparable number: the exact count for article and wiki-ranking rows, the privacy ceiling for country rows (see viewsExact). Null on a found:false row.
Exact count
viewsExact
Optional
true = views is a measured count; false = it is the upper bound the API publishes for country data.
Views range
viewsRange
Optional
The published bucket string of a country-breakdown row, e.g. 1000000000-9999999999.
Wiki views in the bucket
projectViews
Optional
Everything the wiki served in the same bucket; filled on article rows when the share is switched on.
Change (%)
changePct
Optional
Change against the previous bucket of the same article, in percent; empty on the oldest bucket of the range and in the ranking modes.
Rank
rank
Optional
Rank inside the bucket, as the API numbered it before non-article pages were dropped; empty on article-trend rows.
Country
country
Optional
ISO 3166-1 alpha-2 code of the readers (top articles in a country) or of the reading country (country breakdown).
Found
found
Required
false = the API published nothing for this title or country; the other number columns are then empty.
Page
url
Optional
Link to the page the count belongs to, or to the wiki on a country-breakdown row. Empty on a marker row for a country with no data.
Read at
fetchedAt
Required
When the run read the API, ISO 8601 UTC.