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.
| Field | Type | Description |
|---|---|---|
articles | list of strings | Exact Wikipedia article titles, e.g. OpenAI, Taylor Swift, Bitcoin. |
language | string | Wikipedia language code: en, de, fr, es, ja... Default: "en". |
days | integer | Window ending yesterday, if no dates are given. Default: 30. |
startDate | string | YYYY-MM-DD (data from 2015-07-01). |
endDate | string | YYYY-MM-DD. |
granularity | string: daily, monthly | Series resolution. Default: "daily". |
agent | string: user, all-agents | Exclude automated traffic. Default: "user". |
access | string: all-access, desktop, mobile-web, mobile-app | Device type. Default: "all-access". |
includeSummary | boolean | Title, description, intro text, thumbnail and Wikidata ID. Default: true. |
topArticles | boolean | Also return the most-viewed articles for a day. Default: false. |
topDate | string | Day for top articles (default yesterday). |
maxTopArticles | integer | How many to return. Default: 100. |
maxItems | integer | Maximum 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.
Related APIs
Bulk SEO Audit & PageSpeed / Core Web Vitals Checker API
Audit any list of URLs: Lighthouse performance, SEO, accessibility and best-practice scores, real-user Core Web Vitals (LCP, INP, CLS), speed opportunities, and on-page SEO checks (title, meta description, H1, canonical, alt text, sitemap, robots, schema)..
FEC Campaign Finance (Candidates, PACs, Contributions) API
US federal campaign finance from official FEC bulk data: candidate receipts, spending, cash on hand and debts; PAC, super PAC and party committee totals; PAC and party contributions and independent expenditures for or against candidates.
Federal Register API
Search every Federal Register document since 1994: final and proposed rules, notices, executive orders and presidential documents, by keyword, agency, type, date and CFR part.
Google News Scraper API
Fast Google News results for any keyword, topic or country: title, source, publish time, snippet and link.
Google Trends Scraper API
Google Trends data for any keywords: interest over time, interest by country/state, related queries and topics (top and rising), plus today's trending searches.
Hacker News Scraper API
Search every Hacker News story and comment by keyword, date and points, or pull the live Top, New, Best, Ask, Show and Jobs feeds.
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