Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Zhihu User Follow Topics

APIドキュメント
https://api.sandbase.ai/v1/api/zhihu/user-follow-topics

Get Zhihu topics followed by a user, with offset pagination. Use it to browse the topics associated with a known account's follow activity.

料金
$0.014286USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 1 件

プレイグラウンド

入力
Zhihu user URL token, such as the value in `zhihu.com/people/{userUrlToken}`.
Start offset, begins with 0.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

Zhihu User Follow Topics API

Returns the Zhihu topics a user follows, 20 per page by default. It needs the user's userUrlToken, the value in zhihu.com/people/{userUrlToken}. Each item includes the topic's name data such as description, follower count and discussion count.

Use cases

  • List the topics a known Zhihu account follows to see what subjects it cares about.
  • Compare follower and discussion counts across followed topics to find the busiest communities.
  • Collect topic IDs from a user's follow list to feed topic research or tracking.
  • Group a user's followed topics by category to see how their interests split.

Request

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

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

Parameters

NameTypeRequiredDescription
userUrlTokenstringYesZhihu user URL token, such as the value in zhihu.com/people/{userUrlToken}.
offsetintegerNoStart offset, begins with 0.

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://pic1.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.idTopic ID as a string.
data[].topic.categoryTopic category label, such as basic or n_game.
data[].topic.excerpt / data[].topic.introductionShort text describing the topic. Both can be empty for some topics.
data[].topic.followers_countNumber of followers of the topic, as an integer.
data[].topic.discuss_countNumber of discussions on the topic, returned as a string.
data[].topic.foot_line.contentDisplay text that combines the follower and discussion counts, for example 2065 关注 · 1.2 万讨论.
data[].topic.avatar_urlImage URL for the topic avatar.
data[].contributions_countContribution count attached to each followed topic. It is 0 in all items shown.
paging.totalsTotal number of followed topics for this user.
paging.is_end / paging.is_startFlags that show whether this page is the last or the first page.

Notes

  • Take userUrlToken from the profile URL, as in zhihu.com/people/excited-vczh.
  • Page through results with offset, which starts at 0. The paging.next URL shows the next page uses offset=20 with limit=20.
  • Stop paging when paging.is_end is true.
  • To look up the account itself, call Zhihu User Info.

Pricing

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

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Zhihu$0.014286 / 回JSON
Zhihu$0.014286 / 回JSON
Zhihu$0.028571 / 回JSON
Zhihu$0.014286 / 回JSON
Zhihu$0.014286 / 回JSON
Zhihu$0.014286 / 回JSON

ガイド:Best Zhihu API in 2026: Pricing Compared

質問

FAQ

Zhihu User Follow Topics API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/zhihu/user-follow-topics に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Zhihu User Follow Topics API の料金はいくらですか?

1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Zhihu User Follow Topics API はどのパラメータを受け付けますか?

必須: userUrlToken (string)。 任意: offset (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Zhihu User Follow Topics API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Zhihu の開発者アカウントまたは API key は必要ですか?

いいえ。Zhihu User Follow Topics は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Zhihu の API アクセスを別途申請する必要はありません。