Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Zhihu User Highlighted Segments

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

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 3 facultatifs

Bac à sable

Entrée
MUST be the user's **member hash id** (e.g. c72367...), not the url_token
Content type, all for all
Number per page
Offset
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Zhihu$0.001 par appelJSON
Zhihu$0.005 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON

Guides :Best Zhihu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Zhihu User Highlighted Segments ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/zhihu/web/user-segments avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Zhihu User Highlighted Segments ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API Zhihu User Highlighted Segments accepte-t-elle ?

Obligatoire : user_url_token (string). Facultatif : content_type (string), limit (string) et offset (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Zhihu User Highlighted Segments ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API Zhihu ?

Non. Zhihu User Highlighted Segments fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Zhihu séparément.