user_url_tokenstringzorunlu
MUST be the user's **member hash id** (e.g. c72367...), not the url_token
https://api.sandbase.ai/v1/api/zhihu/web/user-segmentsReturns highlighted text segments and line comments for a specified Zhihu member. Supports filtering by content type along with offset pagination.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Fetch highlighted segments and line comments left by a member using their member hash ID in user_url_token.
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>"}'
| Name | Type | Required | Description |
|---|---|---|---|
user_url_token | string | Yes | MUST be the user's member hash id (e.g. c72367...), not the url_token |
limit | string | No | Number per page |
offset | string | No | Offset |
content_type | string | No | Content type, all for all |
user_url_token must be the user's member hash ID rather than their standard profile URL token.limit and offset to page through results.content_type to "all" to include all supported content types.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 '{}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
user_url_tokenstringzorunluMUST be the user's **member hash id** (e.g. c72367...), not the url_token
content_typestringContent type, all for all
limitstringNumber per page
offsetstringOffset
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Zhihu | $0.001 çağrı başına | JSON |
Zhihu | $0.005 çağrı başına | JSON |
Zhihu | $0.001 çağrı başına | JSON |
Zhihu | $0.001 çağrı başına | JSON |
Zhihu | $0.001 çağrı başına | JSON |
Zhihu | $0.001 çağrı başına | JSON |
Kılavuzlar:Best Zhihu API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/zhihu/web/user-segments adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: user_url_token (string). İsteğe bağlı: content_type (string), limit (string) ve offset (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. Zhihu User Highlighted Segments, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Zhihu API erişimi için ayrıca başvuru yapmanız gerekmez.