Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

知乎数据 API · Zhihu data API · DataXAPI

БесплатноБез исполняемых скриптовНе проверен

Public Zhihu data through DataXAPI: posts, articles, pins (想法), questions, answers, users. 18 endpoints, $0.0020 a call, a failed call is free. Use when the…

data-x-apiот data-x-api465 установок в других каталогах

Об этом скилле

知乎数据 API · Zhihu data API · DataXAPI

Pay per call, no subscription. A call that ends in an error is not charged. 按次付费,不用订阅;出错不收费。 18 Zhihu endpoints, $0.0020 a call, each at its own price (listed below). No Zhihu account, cookie or login: one DataXAPI key.

DataXAPI returns public Zhihu data (知乎的公开数据) in one response shape, paid per call from a prepaid balance. This skill lists all 18 Zhihu endpoints with their prices and the questions each one answers. It was generated from catalog revision 69ca01375924c99b.

What one call returns: zhihu.trends.list, a recorded answer (30 items came back, the first shown; names, text, IDs and links are stand-ins, the figures are as recorded).

{
  "data": {
    "items": [
      {
        "id": "3975139299",
        "name": "周末露营装备推荐",
        "rank": 1,
        "heat": 6030000,
        "approximate": [
          {
            "field": "heat",
            "kind": "approximate"
          }
        ]
      }
    ]
  },
  "page": {
    "returned": 30,
    "has_more": false,
    "next_cursor": null
  },
  "meta": {
    "billing": {
      "amount": "0.002",
      "currency": "USD",
      "balance_after": "9.998"
    }
  }
}

What to call for which question

  • What is on the Zhihu hot list today? / 知乎热榜今天有什么? → zhihu.trends.list ($0.0020)
  • Read the answers to this Zhihu question. / 把这个知乎问题下的回答取下来。 → zhihu.questions.answers.list ($0.0020)
  • Search Zhihu for discussions of air purifiers. / 在知乎上搜关于空气净化器的讨论。 → zhihu.posts.search ($0.0020)

When the question is not one of these, run find (or dataxapi find) with the user's words and zhihu; if nothing fits, say so instead of calling another platform.

Call it three ways

Command line (npm install -g dataxapi, or npx dataxapi), with the key in $DATAXAPI_API_KEY (never print it, log it or put it in an address):

dataxapi call zhihu.trends.list --max-price 0.002

MCP. Server https://api.dataxapi.com/mcp, header Authorization: Bearer <key>. Tools: find (with platform: "zhihu" it lists this platform's endpoints), describe (parameters and price), call, read_more (free), account (balance). Setting the server up: https://dataxapi.com/agents.md

{"capability":"zhihu.trends.list","max_price":"0.002"}

REST:

curl -G "https://api.dataxapi.com/v1/zhihu/trends/list" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"

zhihu.trends.list costs $0.002 per call. Every capability ID maps to its path: dots become slashes under /v1. Finding endpoints, reading their parameters and their prices is free and needs no key.

Before you call

  • Users by url_token. Users are named by the handle in their profile address (url_token), such as zhihuadmin, not by a number.
  • The first 20 answers only. A question's answers come as the first 20 in Zhihu's own order; there is no next page.
  • Answer detail has no counts. An answer read on its own comes with no counts. A question's answers and a user's answers carry upvotes and comment counts.
  • The column ID. A column is named by the last part of its address: the word after zhuanlan.zhihu.com/, or the one starting with c_.
  • Heat is approximate. Hot list heat comes as “万热度” and is given as that number times 10,000, marked approximate. An entry's ID is its question's.

Every Zhihu endpoint

Capability ID Name Returns Price A page
zhihu.answers.comments.list Zhihu answer comments (知乎回答评论) Get a page of comments on a Zhihu answer: text, commenter, likes, reply count, time posted, IP location. $0.002 per call up to 20
zhihu.answers.get Zhihu answer detail (知乎回答详情) Get one Zhihu answer by ID or link: its question, text, author, time posted. $0.002 per call one object
zhihu.articles.get Zhihu article detail (知乎文章详情) Get one Zhihu column article by ID or link: title, text, author, upvotes, comment count, topics. $0.002 per call one object
zhihu.keywords.related Zhihu search suggestions (知乎搜索框联想词) Get the suggestions Zhihu's search box lists as a keyword is typed into it (autocomplete), in the order it lists them, about 10 at a time. The words and their places only, with no index. $0.002 per call up to 20
zhihu.columns.articles.list Zhihu column articles (知乎专栏文章列表) Get a page of the articles in a Zhihu column by the column's ID: title, text, author, time published, upvotes, comment count. $0.002 per call up to 20
zhihu.comments.replies.list Zhihu comment replies (知乎评论回复) Get a page of the replies under a top-level Zhihu comment: text, replier, likes, which comment each answers. Each reply also gives its IP location. $0.002 per call up to 20
zhihu.pins.get Zhihu pin detail (知乎想法详情) Get one Zhihu pin (short post) by ID or link: text, pictures, author, time posted, likes, comments, saves, reposts. $0.002 per call one object
zhihu.posts.search Zhihu conte
Полный SKILL.md на ClawHub

Установить 知乎数据 API · Zhihu data API · DataXAPI в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл 知乎数据 API · Zhihu data API · DataXAPI?

Public Zhihu data through DataXAPI: posts, articles, pins (想法), questions, answers, users. 18 endpoints, $0.0020 a call, a failed call is free. Use when the user asks about Zhihu content, accounts, comments or trends, or gives a Zhihu link, ID or account name. 通过 DataXAPI 取知乎的公开数据:帖子、文章、想法、问题、回答、用户。18 个接口,一次 $0.0020,失败不收费。用户问到知乎的内容、账号、评论或热点,或给出知乎的链接、编号、账号名时使用。

Как установить скилл 知乎数据 API · Zhihu data API · DataXAPI?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл 知乎数据 API · Zhihu data API · DataXAPI запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить 知乎数据 API · Zhihu data API · DataXAPI с