Zhihu User Answers

https://api.sandbase.ai/v1/api/zhihu/web/user-answers

Returns answers posted by a specific Zhihu user based on their user token. Supports pagination and sorting results by creation date or upvote count.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Number of answers per page
Offset
Sort Type Allowed values: created, voteups.
User ID
OutputExample
Responseoutputs · 77.1 KB · 2,396 lines
[
  {
    "data": {
      "data": [
        {
          "admin_closed_comment": false,
          "annotation_action": [],
          "answer_type": "normal",
          "attachment": {
            "attachment_id": "",
            "type": "answer"
          },
          "author": {
            "avatar_url": "https://pica.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980_l.jpg?source=c8b7c179",
            "avatar_url_template": "https://picx.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980.jpg?source=c8b7c179",
            "badge": [],
            "badge_v2": {
              "detail_badges": [],
              "icon": "",
              "merged_badges": [],
              "night_icon": "",
              "title": ""
            },
            "gender": -1,
            "headline": "python 人工智能 深度学习 机器学习",
            "id": "66ae4cef372d990cba4e8b9179233fc2",
            "is_advertiser": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": "",
              "vip_icon": {
                "night_mode_url": "",
                "url": ""
              }
            },
            "name": "人工智能",
            "type": "people",
            "url": "http://www.zhihu.com/api/v4/people/66ae4cef372d990cba4e8b9179233fc2",
            "url_token": "ren-gong-zhi-neng-90",
            "user_type": "people",
            "vip_info": {
              "is_vip": false
            }
          },
          "biz_ext": {
            "creation_relationship": {}
          },
          "can_comment": {
            "reason": "",
            "status": true
          },
          "collapse_reason": "",
          "collapsed_by": "nobody",
          "comment_count": 0,
          "comment_permission": "all",
          "content": "<p data-pid=\"pmLFr5WS\">文本识别</p>",
          "content_need_truncated": false,
          "created_time": 1456553324,
          "editable_content": "",
          "excerpt": "文本识别",
          "extras": "",
          "force_login_when_click_read_more": false,
          "id": "88321598",
          "is_collapsed": false,
          "is_copyable": true,
          "is_labeled": false,
          "is_navigator": false,
          "is_normal": true,
          "navigator_vote": false,
          "question": {
            "created": 1456282404,
            "has_publishing_draft": false,
            "id": "40699477",
            "question_type": "normal",
            "relationship": {},
            "title": "Waston 是如何通过书写识别人的情绪的?",
            "type": "question",
            "updated_time": 1456282404,
            "url": "http://www.zhihu.com/api/v4/questions/40699477"
          },
          "reaction": {
            "relation": {
              "faved": false,
              "liked": false
            },
            "statistics": {
              "favorites": 0,
              "like_count": 1
            }
          },
          "reaction_instruction": {},
          "relationship": {
            "is_author": false,
            "is_authorized": false,
            "is_nothelp": false,
            "is_thanked": false,
            "voting": 0
          },
          "reshipment_settings": "allowed",
          "reward_info": {
            "can_open_reward": false,
            "is_rewardable": false,
            "reward_member_count": 0,
            "reward_total_money": 0,
            "tagline": ""
          },
          "same_video_answers": [],
          "suggest_edit": {
            "reason": "",
            "status": false,
            "tip": "",
            "title": "",
            "unnormal_details": {},
            "url": ""
          },
          "thumbnail": "",
          "type": "answer",
          "updated_time": 1456553324,
          "url": "http://www.zhihu.com/api/v4/answers/88321598",
          "vote_next_step": "vote",
          "voteup_count": 2
        },
        {
          "admin_closed_comment": false,
          "annotation_action": [],
          "answer_type": "normal",
          "attachment": {
            "attachment_id": "",
            "type": "answer"
          },
          "author": {
            "avatar_url": "https://pic1.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980_l.jpg?source=c8b7c179",
            "avatar_url_template": "https://picx.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980.jpg?source=c8b7c179",
            "badge": [],
            "badge_v2": {
              "detail_badges": [],
              "icon": "",
              "merged_badges": [],
              "night_icon": "",
              "title": ""
            },
            "gender": -1,
            "headline": "python 人工智能 深度学习 机器学习",
            "id": "66ae4cef372d990cba4e8b9179233fc2",
            "is_advertiser": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": "",
              "vip_icon": {
                "night_mode_url": "",
                "url": ""
              }
            },
            "name": "人工智能",
            "type": "people",
            "url": "http://www.zhihu.com/api/v4/people/66ae4cef372d990cba4e8b9179233fc2",
            "url_token": "ren-gong-zhi-neng-90",
            "user_type": "people",
            "vip_info": {
              "is_vip": false
            }
          },
          "biz_ext": {
            "creation_relationship": {}
          },
          "can_comment": {
            "reason": "",
            "status": true
          },
          "collapse_reason": "",
          "collapsed_by": "nobody",
          "comment_count": 0,
          "comment_permission": "all",
          "content": "<p data-pid=\"A4JnV1Tr\">deep learning这是个方向</p>",
          "content_need_truncated": false,
          "created_time": 1456553279,
          "editable_content": "",
          "excerpt": "deep learning这是个方向",
          "extras": "",
          "force_login_when_click_read_more": false,
          "id": "88321493",
          "is_collapsed": false,
          "is_copyable": true,
          "is_labeled": false,
          "is_navigator": false,
          "is_normal": true,
          "navigator_vote": false,
          "question": {
            "created": 1454912375,
            "has_publishing_draft": false,
            "id": "40214698",
            "question_type": "normal",
            "relationship": {},
            "title": "为什么说机器智能才是现实之路,而真正意义上的人工智能很可能是水中花镜中月?",
            "type": "question",
            "updated_time": 1454912375,
            "url": "http://www.zhihu.com/api/v4/questions/40214698"
          },
          "reaction": {
            "relation": {
              "faved": false,
              "liked": false
            },
            "statistics": {
              "favorites": 0,
              "like_count": 1
            }
          },
          "reaction_instruction": {},
          "relationship": {
            "is_author": false,
            "is_authorized": false,
            "is_nothelp": false,
            "is_thanked": false,
            "voting": 0
          },
          "reshipment_settings": "allowed",
          "reward_info": {
            "can_open_reward": false,
            "is_rewardable": false,
            "reward_member_count": 0,
            "reward_total_money": 0,
            "tagline": ""
          },
          "same_video_answers": [],
          "suggest_edit": {
            "reason": "",
            "status": false,
            "tip": "",
            "title": "",
            "unnormal_details": {},
            "url": ""
          },
          "thumbnail": "",
          "type": "answer",
          "updated_time": 1456553279,
          "url": "http://www.zhihu.com/api/v4/answers/88321493",
          "vote_next_step": "vote",
          "voteup_count": 0
        },
        {
          "admin_closed_comment": false,
          "annotation_action": [],
          "answer_type": "normal",
          "attachment": {
            "attachment_id": "",
            "type": "answer"
          },
          "author": {
            "avatar_url": "https://picx.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980_l.jpg?source=c8b7c179",
            "avatar_url_template": "https://picx.zhimg.com/23f3234ed553f46ac28c3ad7f0d73980.jpg?source=c8b7c179",
            "badge": [],
            "badge_v2": {
              "detail_badges": [],
              "icon": "",
              "merged_badges": [],
              "night_icon": "",
              "title": ""
            },
            "gender": -1,
            "headline": "python 人工智能 深度学习 机器学习",
            "id": "66ae4cef372d990cba4e8b9179233fc2",
            "is_advertiser": false,
            "is_org": false,
            "kvip_info": {
              "is_vip": false,
              "target_url": "",
              "vip_icon": {
                "night_mode_url": "",
                "url": ""
              }
            },
            "name": "人工智能",
            "type": "people",
            "url": "http://www.zhihu.com/api/v4/people/66ae4cef372d990cba4e8b9179233fc2",
            "url_token": "ren-gong-zhi-neng-90",
            "user_type": "people",
            "vip_info": {
              "is_vip": false
            }
          },
          "biz_ext": {
            "creation_relationship": {}
          },
          "can_comment": {
            "reason": "",
            "status": true
          },
          "collapse_reason": "",
          "collapsed_by": "nobody",
          "comment_count": 1,
          "comment_permission": "all",
          "content": "<p data-pid=\"zpoeTnuS\">人与机器结合,促成自身的进步</p>",
          "content_need_truncated": false,
          "created_time": 1456553204,
          "editable_content": "",
          "excerpt": "人与机器结合,促成自身的进步",
          "extras": "",

Examples

Select an example to load its inputs and result into the playground.

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
limit
string · optional
offset
string · optional
sort_type
string (created, voteups) · optional

Access

Provider
Zhihu
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/zhihu/web/user-answers
Authentication
Bearer API key

API README

Zhihu User Answers API

Query answers submitted by a specific user on Zhihu using their user_url_token. You can paginate results and customize the sort order.

Use cases

  • Analyze the most upvoted answers submitted by a specific Zhihu author.
  • Monitor recent answers from specific industry experts on Zhihu.
  • Extract an author's answer history for profile research.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/user-answers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_url_token": "<user_url_token>"}'

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesUser ID
limitstringNoNumber of answers per page
offsetstringNoOffset
sort_typestringNoSort Type

Notes

  • user_url_token is the required user identifier.
  • sort_type accepts either created or voteups.
  • Pagination is controlled using limit and offset.

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.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/zhihu/web/user-answers
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# 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-answers" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "user_url_token": "ren-gong-zhi-neng-90"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0075 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Zhihu User Answers API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/user-answers 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 Answers 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 Answers API accept?

Required: user_url_token (string). Optional: limit (string), offset (string) and sort_type (one of created, voteups). The Parameters table and the Playground on this page list every field.

What does the Zhihu User Answers 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 Answers 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.