Get started
Wikipedia pageviews in Duaer
In Duaer: Wikimedia: daily views of a Wikipedia article, or the most read articles of yesterday, in any language. One successful search uses 1 credit.
What you get
Duaer Wikipedia pageviews returns daily human views of one article up to yesterday, newest first. Leave the article empty to get yesterday’s most read articles.
Pick Duaer Data → Wikipedia pageviews in the node creator, or open the data market. Related: Wikipedia, Hacker News.
When to use it
- See what people read most on Wikipedia yesterday.
- Measure interest in a person or topic over a month.
When not to use it
- Article text. Use Wikipedia.
- Tech news discussion. Use Hacker News.
Search on the canvas
- Open the node creator and pick Duaer Data → Wikipedia pageviews.
- Fill Article (such as Albert Einstein), or leave it empty for the top articles. Optional: Language (such as de), Days.
- Limit defaults to 10, max 20. Execute.
A search uses 1 credit only when it returns rows. No rows, wrong input, or an upstream failure uses 0.
Call the API
- GET https://api.duaer.com/v1/data/wiki-pageviews?article=Albert%20Einstein
- Authorization: Bearer <Duaer key>
The call skill below matches Copy skill in the Duaer data market, with parameters, examples, and result fields.
Call skill
Same text as Copy skill.
---
name: duaer-wiki-pageviews
description: >-
Duaer Wikipedia pageviews. Wikimedia: daily views of a Wikipedia article, or the most read articles of yesterday, in any language.
One successful search uses 1 Duaer credit.
---
# Duaer Wikipedia pageviews
Duaer Wikipedia pageviews returns daily human views of one article up to yesterday, newest first. Leave the article empty to get yesterday’s most read articles.
## When to use
- See what people read most on Wikipedia yesterday.
- Measure interest in a person or topic over a month.
## When not to use
- Article text. Use https://skills.duaer.com/wikipedia.md.
- Tech news discussion. Use https://skills.duaer.com/hacker-news.md.
## Call
`GET https://api.duaer.com/v1/data/wiki-pageviews?article=Albert%20Einstein`
Header: `Authorization: Bearer <Duaer key>`
Use an account key or a model API key.
Get a Duaer key: https://skills.duaer.com/keys.md
## Parameters
Provide `article` or `language`.
- `article` — Optional. Article title such as Albert Einstein. Empty lists yesterday’s top articles.
- `language` — Optional. Wikipedia code such as en, de, ja, or zh. Default en.
- `days` — Optional. Days up to yesterday, 1 to 90. Default 30.
- `limit` — Optional. Rows to return, from 1 to 20. Default 10.
## Examples
- `GET https://api.duaer.com/v1/data/wiki-pageviews?article=Albert%20Einstein&days=7` — daily views for the last week.
- `GET https://api.duaer.com/v1/data/wiki-pageviews?language=de` — yesterday’s most read German articles.
## Result
The response is `{ "items": [...] }`. Each item has `source`, `title`, `url`, and `summary`, plus:
- `article`, `language`, `date` — article, wiki, and day.
- `views` — views that day.
- `rank` — position in the most read list.
The summary of an article row also shows the total over the days asked.
Fields without a value are left out.
## Credits
A search that returns at least one row uses 1 credit.
An empty search, a search that finds nothing, or a failed search uses 0.
Wrong input returns 400 with a message and uses 0.
No remaining credits returns 402 and does not search.
A missing key returns 401.
## Related
- https://skills.duaer.com/wikipedia.md — Duaer Wikipedia
- https://skills.duaer.com/hacker-news.md — Duaer Hacker News
Questions
How many credits does a Wikipedia pageviews search use in Duaer?
One credit when Duaer returns rows. A search with no rows or an error uses 0.
Does Duaer Wikipedia pageviews count bots?
No. Duaer counts only views Wikimedia classes as human users.
In this section
Wikipedia in Duaer
In Duaer: Wikipedia articles in any language edition with the short description, a text excerpt, and a thumbnail, for quick background on a term. One successful search uses 1 credit.
Get startedHacker News in Duaer
In Duaer: Hacker News via Algolia: stories, Ask HN, Show HN, and comments by words, by relevance or newest. One successful search uses 1 credit.