Zhihu User Articles

2.07 credits/call
ae_zhihu_user_articles

Retrieve the article list for a specified Zhihu user. Inputs: - user_url_token (required string): the user's identifier, for example "ming-he-43-93". - offset (optional string): pagination offset; defaults to "0". - limit (optional string): number of articles per page; defaults to "20". - sort_type (optional string): "created" sorts by publication time and is the default; "voteups" sorts by upvote count. Returns: a response containing the requested article-list data in data, along with response status information. The detailed article fields are not specified, and data may be null. This is a list operation, not a guarantee of full article text.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
limitstringNo每页文章数量/Number of articles per page20
offsetstringNo偏移量/Offset0
sort_typeenum (created | voteups)No排序类型/Sort Typecreated
user_url_tokenstringYes用户ID/User ID—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_zhihu_user_articles' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "limit": "10",
    "user_url_token": "geetata"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "detail": {
    "code": 400,
    "docs": "https://api.tikhub.io/#/Zhihu-Web-API/fetch_user_articles_api_v1_zhihu_web_fetch_user_articles_get",
    "headers": {},
    "message": "Request failed. Please retry. Check the docs below to verify your parameters, test with the default demo parameters, and send the response JSON to support. You won't be charged for this request.",
    "message_zh": "请求失败,请重试。请查看下方文档核对参数,使用默认演示参数测试,并将响应 JSON 提交给支持团队。本次请求不会被扣费。",
    "params": {
      "limit": "10",
      "offset": "0",
      "sort_type": "created",
      "user_url_token": "geetata"
    }
  }
}

This example shows part of the response. Copied content is valid JSON.