Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Zhihu User Followed Topics

Tài liệu 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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
User ID
Number of topics per page
Offset
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.005 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Zhihu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Zhihu User Followed Topics?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/user-follow-topics với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Zhihu User Followed Topics có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Zhihu User Followed Topics chấp nhận những tham số nào?

Bắt buộc: user_url_token (string). Tùy chọn: limit (string) và offset (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Zhihu User Followed Topics trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Zhihu không?

Không. Zhihu User Followed Topics chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Zhihu.