Get most-viewed Wikipedia pages
Get the most-viewed Wikipedia pages of a day or month, including non-article pages.
Headers
Get your API keyAPI key (`sfk_...`)
Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.
`articles` for the most-viewed articles (the default), `countries` for the countries that viewed the edition most.
one of: articles, countries
Day (`YYYY-MM-DD`) for `mode=articles`, month (`YYYY-MM`) for `mode=countries`. Default: the latest published one, which is yesterday or last month (UTC), or the one before while that list is not out yet.
Access method. Default: `all-access`.
one of: all-access, desktop, mobile-app, mobile-web
Country code. With `mode=articles`, ranks that country's articles instead of the global list.
pattern: ^[A-Z]{2}$
Endpoint-specific response payload.
Whether the entity, page or data set exists. A missing entity is `not_found`; an existing entity with no rows is `found` with `empty: true`.
one of: found, not_found
Edition code.
Whether the rows rank articles or countries.
one of: articles, countries
Access method.
Day or month of the list. With no `date`, the latest published one.
Country code, when one was asked for.
Most-viewed articles, for `mode=articles`.
Article title.
Project, when the row has one.
Views.
≥ 0
Rounded-up views when only a bucket is published.
≥ 0
Rank.
≥ 0
Most-viewing countries, for `mode=countries`.
Country code.
Views bucket, e.g. `1000000-9999999`.
Rounded-up views.
≥ 0
Rank.
≥ 0
Whether the answer is a valid empty result rather than missing.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/wikipedia/pageviews/top?date=2026-11-02" \
-H "x-api-key: YOUR_API_KEY"Responses
Get most-viewed Wikipedia pages