Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Zhihu User Followed Topics

API 文件
https://api.sandbase.ai/v1/api/zhihu/web/user-follow-topics

Returns the list of topics followed by a specific Zhihu user. Filter and paginate results using user token, limit, and offset values.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
User ID
Number of topics per page
Offset
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Zhihu User Followed Topics API

Returns the topics a Zhihu user follows, with each topic's name data, follower count, and discussion count. It needs the user's user_url_token, and it accepts limit and offset for paging.

Use cases

  • Build an interest profile for a Zhihu user from the topics they follow.
  • Find niche topics with few followers that a specific account follows.
  • Compare the topic lists of two accounts to find shared interests.
  • Collect topic IDs to feed into other topic research workflows.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/user-follow-topics" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_url_token": "excited-vczh"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesUser ID
limitstringNoNumber of topics per page
offsetstringNoOffset

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": [
    {
      "contributions_count": 0,
      "topic": {
        "avatar_url": "https://pica.zhimg.com/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=57bbeac9",
        "category": "basic",
        "discuss_count": "12858",
        "excerpt": "天体生物学,是一门研究在宇宙中生命起源、生物演化、分布和未来发展的交叉学科,并不只限于地外生物,或包括对地球生物的研究。在天体物理学上,指研究天体上存在生物的条…",
        "followers_count": 2065,
        "foot_line": {
          "content": "2065 关注 · 1.2 万讨论"
        },
        "id": "20015598",
        "introduction": "天体生物学,是一门研究在宇宙中生命起源、生物演化、分布和未来发展的交叉学科,并不只限于地外生物,或包括对地球生物的研究。在天体物理学上,指研究天体上存在生物的条…"
      }
    }
  ],
  "paging": {
    "is_end": false,
    "is_start": true,
    "next": "https://www.zhihu.com/api/v5.1/topics/excited-vczh/following_topics_contribution…",
    "previous": "https://www.zhihu.com/api/v5.1/topics/excited-vczh/following_topics_contribution…",
    "totals": 50
  }
}

Response fields

FieldMeaning
data[].topic.idID of the followed topic, returned as a string.
data[].topic.categoryCategory label for the topic, such as basic or n_game.
data[].topic.introduction / data[].topic.excerptDescription text of the topic. Both can be an empty string when the topic has no description. The text may be cut with an ellipsis.
data[].topic.followers_countNumber of followers of the topic, as a number.
data[].topic.discuss_countNumber of discussions in the topic, as a string.
data[].topic.foot_line.contentDisplay summary of followers and discussions, for example 2065 关注 · 1.2 万讨论.
data[].topic.avatar_urlURL of the topic's image.
data[].contributions_countContribution count attached to the topic entry. It is 0 in the sample.
paging.is_end / paging.is_startFlags that show whether the page is the last or the first one.
paging.totalsTotal number of followed topics for the user. It is 50 in the sample.

Notes

  • Take user_url_token from the Zhihu profile URL of the user, for example excited-vczh.
  • To get the next page, increase offset by the limit value. The sample paging.next link uses offset=20&limit=20.
  • Stop paging when paging.is_end is true.
  • To look up the user's own profile, call Zhihu Web User Profile.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.005JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON

指南:Best Zhihu API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Zhihu User Followed Topics API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/zhihu/web/user-follow-topics。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Zhihu User Followed Topics API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Zhihu User Followed Topics API 接受哪些參數?

必要:user_url_token (string)。 選填:limit (string) 和 offset (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Zhihu User Followed Topics API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Zhihu 開發者帳號或 API 金鑰嗎?

不需要。Zhihu User Followed Topics 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Zhihu API 存取權。