Zhihu User Highlighted Segments
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.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 3 optional
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- user_url_token
- string · required
- content_type
- string · optional
- limit
- string · optional
- offset
- string · optional
Access
- Provider
- Zhihu
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/zhihu/web/user-segments
- Authentication
- Bearer API key
API README
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
| 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 |
Notes
user_url_tokenmust be the user's member hash ID rather than their standard profile URL token.- Use
limitandoffsetto page through results. - Set
content_typeto "all" to include all supported content types.
Related APIs
- Zhihu AI Search Stream: Returns streaming AI search results from Zhihu based on a query prompt.
- Zhihu Answer Details: Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.
- Zhihu Article Search: Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offse…
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/zhihu/web/user-segments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Zhihu User Highlighted SegmentsThis API Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0075 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Zhihu User Highlighted Segments API?
Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/user-segments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Zhihu User Highlighted Segments API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Zhihu User Highlighted Segments API accept?
Required: user_url_token (string). Optional: content_type (string), limit (string) and offset (string). The Parameters table and the Playground on this page list every field.
What does the Zhihu User Highlighted Segments API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a Zhihu developer account or API key?
No. Zhihu User Highlighted Segments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Zhihu API access separately.
