Skip to main content

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

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl
curl -s 'https://api.wellbyte.net/v1/zhihu/web/fetch_user_segments?limit=20&offset=0&content_type=all&user_url_token=c72367b43730a490687966ceb87e9305' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-09-23

data{
code:0
data{
data[ 0 items ]
paging{ 2 items }
}
meta{
endpoint:"zhihu.web.fetch_user_segments"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    limitstringqueryno每页数量20
    offsetstringqueryno偏移量0
    content_typestringqueryno内容类型all
    user_url_tokenstringqueryyes用户 member hash id (非 url_token)c72367b43730a490687966ceb87e9305

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 2 credits. Any failure — including a 200 that fails the quality gate — costs 0.

    All Zhihu endpoints →

    Search

    Search endpoints and docs