Pushbuild

Wikipedia Pageviews API - Article Traffic & Trending Topics

Daily or monthly Wikipedia pageviews for any article in any language, with totals, averages and peaks, plus the day's most-viewed articles. A free signal of public attention for brands, people, products and events.

$0.40 per 1,000 results

Get an API key

What it returns

Wikipedia traffic is a free, daily measure of public attention. Get it for any article, in any language.

Common uses

Trend and attention tracking for brands, people, films, stocks and crypto; media research; content planning. Pay per result.

Request

POST https://api.pushbuild.com/wikipedia-pageviews/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
articleslist of stringsExact Wikipedia article titles, e.g. OpenAI, Taylor Swift, Bitcoin.
languagestringWikipedia language code: en, de, fr, es, ja... Default: "en".
daysintegerWindow ending yesterday, if no dates are given. Default: 30.
startDatestringYYYY-MM-DD (data from 2015-07-01).
endDatestringYYYY-MM-DD.
granularitystring: daily, monthlySeries resolution. Default: "daily".
agentstring: user, all-agentsExclude automated traffic. Default: "user".
accessstring: all-access, desktop, mobile-web, mobile-appDevice type. Default: "all-access".
includeSummarybooleanTitle, description, intro text, thumbnail and Wikidata ID. Default: true.
topArticlesbooleanAlso return the most-viewed articles for a day. Default: false.
topDatestringDay for top articles (default yesterday).
maxTopArticlesintegerHow many to return. Default: 100.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/wikipedia-pageviews/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"articles": ["Bitcoin", "Ethereum"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.40 per 1,000 results. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.