GET /v1/zhihu/web/fetch_user_segments
Get Zhihu User Segments
stable · 2 credits per success
Get a Zhihu user's highlighted segments (lineComments);user_url_token: MUST be the user's **member hash id** (e.g. c72367...), not the url_token;content_type: Content type, all for all;offset: Offset;limit: Number per page;Zhihu User Segments
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| limit | string | query | no | 每页数量 | 20 |
| offset | string | query | no | 偏移量 | 0 |
| content_type | string | query | no | 内容类型 | all |
| user_url_token | string | query | yes | 用户 member hash id (非 url_token) | c72367b43730a490687966ceb87e9305 |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.