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 Highlighted Segments

Tài liệu API
https://api.sandbase.ai/v1/api/zhihu/web/user-segments

Returns highlighted text segments and line comments for a specified Zhihu member. Supports filtering by content type along with offset pagination.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn

Phòng thử nghiệm

Đầu vào
MUST be the user's **member hash id** (e.g. c72367...), not the url_token
Content type, all for all
Number 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 Highlighted Segments API

Fetch highlighted segments and line comments left by a member using their member hash ID in user_url_token.

Use cases

  • Review highlighted text quotes and inline comments from a target member.
  • Filter member segment interactions across specific content types.
  • Paginate through public line commentary history for community research.

Request

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

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesMUST be the user's member hash id (e.g. c72367...), not the url_token
limitstringNoNumber per page
offsetstringNoOffset
content_typestringNoContent type, all for all

Notes

  • user_url_token must be the user's member hash ID rather than their standard profile URL token.
  • Use limit and offset to page through results.
  • Set content_type to "all" to include all supported content types.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

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 Highlighted Segments?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/user-segments 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 Highlighted Segments có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

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

Bắt buộc: user_url_token (string). Tùy chọn: content_type (string), 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 Highlighted Segments trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

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 Highlighted Segments 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.