Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Zhihu User Followed Topics

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

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
User ID
Number of topics per page
Offset
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Zhihu$0.001 za wywołanieJSON
Zhihu$0.005 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON

Przewodniki:Best Zhihu API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Zhihu User Followed Topics?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/zhihu/web/user-follow-topics z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Zhihu User Followed Topics?

$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Zhihu User Followed Topics?

Wymagane: user_url_token (string). Opcjonalne: limit (string) i offset (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Zhihu User Followed Topics?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Zhihu lub klucza API?

Nie. Zhihu User Followed Topics działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Zhihu.