Wikipedia

Get most-viewed Wikipedia pages

Get the most-viewed Wikipedia pages of a day or month, including non-article pages.

GET/v1/wikipedia/pageviews/top
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
5
langstringquery

Wikimedia edition code, e.g. `en`, `de`, `ja`, `simple` or `zh-min-nan`. Default: `en`.

modestringquery

`articles` for the most-viewed articles (the default), `countries` for the countries that viewed the edition most.

one of: articles, countries

datestringquery

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.

accessstringquery

Access method. Default: `all-access`.

one of: all-access, desktop, mobile-app, mobile-web

countrystringquery

Country code. With `mode=articles`, ranks that country's articles instead of the global list.

pattern: ^[A-Z]{2}$

Response fields
23

Endpoint-specific response payload.

datalookupStatus
string

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

datalang
string

Edition code.

datamode
string

Whether the rows rank articles or countries.

one of: articles, countries

dataaccess
string

Access method.

datadate
string

Day or month of the list. With no `date`, the latest published one.

datacountry
stringnullable

Country code, when one was asked for.

Most-viewed articles, for `mode=articles`.

dataarticles[]article
string

Article title.

dataarticles[]project
stringnullable

Project, when the row has one.

dataarticles[]views
integernullable

Views.

≥ 0

dataarticles[]viewsCeil
integernullable

Rounded-up views when only a bucket is published.

≥ 0

dataarticles[]rank
integernullable

Rank.

≥ 0

Most-viewing countries, for `mode=countries`.

datacountries[]country
string

Country code.

datacountries[]views
stringnullable

Views bucket, e.g. `1000000-9999999`.

datacountries[]viewsCeil
integernullable

Rounded-up views.

≥ 0

datacountries[]rank
integernullable

Rank.

≥ 0

dataempty
boolean

Whether the answer is a valid empty result rather than missing.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

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