# 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](https://pushbuild.com/apis/app/signup?api=wikipedia-pageviews)

Example request

```
POST /wikipedia-pageviews/run
{
  "articles": [
    "Bitcoin",
    "Ethereum"
  ],
  "maxItems": 20
}
```

## What a response looks like

POST /wikipedia-pageviews/run{"articles": ["Bitcoin", "Ethereum"], "maxItems": 5}

```
{"count": 2, "items": [{ "article": "Bitcoin", "averageViews": 3238.0, "description": "Decentralized digital cryptocurrency", "end": "2026-11-08", "granularity": "daily", "language": "en", "peak": {  "date": "2026-11-04",  "views": 7955 }, … ]}
```

| article | averageViews | description | end | granularity | language |
| --- | --- | --- | --- | --- | --- |
| Bitcoin | 3,238 | Decentralized digital cryptocurrency | 2026-11-08 | daily | en |
| Ethereum | 704.8 | Open-source blockchain computing platform | 2026-11-08 | daily | en |

Real rows returned by this API on 2026-11-09 for the request shown.

## 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.

| Results | Cost |
| --- | --- |
| 1,000 | $0.40 |
| 10,000 | $4.00 |
| 100,000 | $40.00 |
| 1,000,000 | $400.00 |
| 2,500 a month | Free ($1 monthly credit) |

## Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: `https://api.pushbuild.com/mcp/wikipedia-pageviews`. Add it to any assistant that supports remote MCP servers, with your key in the `X-API-Key` header. Same prices. [Setup for each app](https://pushbuild.com/apis/mcp.html).

## Related APIs

- [TSA Checkpoint Travel Numbers + BTS Transportation Stats API](https://pushbuild.com/apis/tsa-checkpoint-travel-data.html): Daily TSA airport checkpoint passenger counts since 2019 with year-over-year and 7-day averages, plus BTS monthly transportation statistics: airline passengers, on-time performance, air cargo, freight rail, trucking, transit and the Transportation Services Index..
- [Asteroid Close Approach API](https://pushbuild.com/apis/asteroid-close-approaches.html): NASA JPL data on near-Earth asteroids and comets: upcoming and past close approaches to Earth (distance in km and lunar distances, velocity, size estimate), the Sentry impact-risk list with probability and Palermo/Torino scales, and orbit and physical data for any object..
- [Volcano Alert API](https://pushbuild.com/apis/usgs-volcano-alerts.html): US volcano status from the USGS Volcano Hazards Program: every volcano at an elevated alert level with alert level and aviation color code, recent notices and daily updates from the Alaska, Cascades, Hawaii, California and Yellowstone observatories, and all monitored volcanoes..
- [Bluesky API](https://pushbuild.com/apis/bluesky-scraper.html): Bluesky posts by handle with likes, reposts, replies, quotes, images and links; profiles with follower and post counts; user search.
- [USGS Earthquakes API](https://pushbuild.com/apis/usgs-earthquakes.html): Search every earthquake recorded by the USGS by date, magnitude, depth, location radius or bounding box, or pull the live past-hour, day, week and month feeds.
- [Bulk SEO Audit & PageSpeed / Core Web Vitals Checker API](https://pushbuild.com/apis/seo-pagespeed-audit.html): 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)..

## 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](mailto:hello@pushbuild.com?subject=API%20question)

## New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

---
As of 2026-12-03. Source: https://pushbuild.com/apis/wikipedia-pageviews.html
