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

Zhihu User Highlighted Segments

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

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 3 opcjonalnych

Playground

Wejście
MUST be the user's **member hash id** (e.g. c72367...), not the url_token
Content type, all for all
Number 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 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.

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

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/zhihu/web/user-segments 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 Highlighted Segments?

$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Zhihu User Highlighted Segments?

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

Co zwraca API Zhihu User Highlighted Segments?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Zhihu lub klucza API?

Nie. Zhihu User Highlighted Segments 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.