Duaer

入门

在 Duaer 里查维基百科浏览量

在 Duaer 里:Wikimedia:某个维基百科条目的每日浏览量,或昨天浏览最多的条目,支持各语言版本。一次成功查询用 1 额度。

能拿到什么

Duaer 数据市场里的「维基百科浏览量」:Wikimedia:某个维基百科条目的每日浏览量,或昨天浏览最多的条目,支持各语言版本。查到结果时用 1 额度,结果交给数字组织的下一个节点。

从节点创建器选 Duaer 数据 → 维基百科浏览量,或打开 数据市场。相关:维基百科、Hacker News 讨论。

适合做什么

  • 看看昨天维基百科上大家读得最多的条目。
  • 衡量一个人物或话题一个月内的关注度。

在画布里检索

  1. 打开节点创建器,选 Duaer 数据 → Wikipedia pageviews。
  2. 填 Article(如 Albert Einstein),留空则看热门条目;Language(如 de)、Days 可选。
  3. Limit 默认 10,最大 20。执行。

查到结果才扣 1 额度;没有结果、输入有误或上游失败都不扣。

用 API 调用

  • GET https://api.duaer.com/v1/data/wiki-pageviews?article=Albert%20Einstein
  • Authorization: Bearer <Duaer key>

下方是与数据市场「复制技能」相同的英文技能,含参数、示例与返回字段。

调用技能(英文)

与数据市场「复制技能」一致。

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

常见问题

Duaer 的维基百科浏览量检索扣多少额度?

查到结果时扣 1 额度;没有结果或出错不扣。

Duaer 维基百科浏览量包含机器人流量吗?

不包含。Duaer 只统计 Wikimedia 判定为真人用户的浏览。

同组