Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Zhihu Web User Profile

เอกสาร API
https://api.sandbase.ai/v1/api/zhihu/web/user-info

Retrieves public profile metrics and details for a Zhihu user. Returns article counts, answer counts, follower totals, and user account metadata.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Profile URL slug for user_url_token, not the numeric search-hit ID, internal account hash or display name.
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 1.7 KB · 60 บรรทัด
[
  {
    "data": {
      "ai_assistant_info": null,
      "allow_message": true,
      "answer_count": 9,
      "articles_count": 87,
      "available_medals_count": 0,
      "avatar_url": "https://pic1.zhimg.com/v2-60386d319ef90da6904da4fe604bc48f_xl.jpg?source=32738c0c&needBackground=1",
      "avatar_url_template": "https://pic1.zhimg.com/v2-60386d319ef90da6904da4fe604bc48f_l.jpg?source=32738c0c&needBackground=1",
      "badge": [],
      "badge_v2": {
        "detail_badges": [],
        "icon": "",
        "merged_badges": [],
        "night_icon": "",
        "title": ""
      },
      "employments": [],
      "extra": null,
      "follower_count": 2830,
      "follower_count_num": "2830",
      "follower_count_text": "2830",
      "follower_count_unit": "",
      "gender": 1,
      "has_agent_content": false,
      "has_applying_column": false,
      "headline": "IT工程师",
      "headline_render": "IT工程师",
      "id": "bd76ac15154a7024a8adbcc2997efc8d",
      "ip_info": "IP 属地未知",
      "is_advertiser": false,
      "is_blocking": false,
      "is_followed": false,
      "is_following": false,
      "is_new_rename": false,
      "is_org": false,
      "is_realname": true,
      "kvip_info": {
        "is_vip": false
      },
      "name": "洺河",
      "org_verify_status": null,
      "project_count": 0,
      "type": "people",
      "url": "https://www.zhihu.com/api/v4/people/ming-he-43-93",
      "url_token": "ming-he-43-93",
      "use_default_avatar": false,
      "user_type": "people",
      "vip_info": {
        "entrance_v2": null,
        "is_vip": false,
        "rename_await_days": 0,
        "rename_days": "0",
        "rename_frequency": 0,
        "vip_type": 0
      }
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Zhihu Web User Profile API

Returns the public profile of a Zhihu user, including display name, headline, answer and article counts, and follower count. It needs one input, the user's user_url_token, which is the slug in the profile URL.

Use cases

  • Inspect one author profile snapshot; a growth series would require a separately planned set of comparable observations.
  • Preserve returned account flags; they do not independently establish credentials or authorize outreach.
  • Show a creator's name, headline, and avatar on an external dashboard.
  • Build a profile record from a known token. This read does not automatically retrieve answers or articles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_url_token": "ming-he-43-93"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesProfile URL slug for user_url_token, not the numeric search-hit ID, internal account hash or display name.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ai_assistant_info": null,
  "allow_message": true,
  "answer_count": 9,
  "articles_count": 87,
  "available_medals_count": 0,
  "avatar_url": "https://pic1.zhimg.com/v2-60386d319ef90da6904da4fe604bc48f_xl.jpg?source=32738c0…",
  "avatar_url_template": "https://picx.zhimg.com/v2-60386d319ef90da6904da4fe604bc48f_l.jpg?source=32738c0c…",
  "badge": [],
  "badge_v2": {
    "detail_badges": [],
    "icon": "",
    "merged_badges": [],
    "night_icon": "",
    "title": ""
  },
  "employments": [],
  "extra": null,
  "follower_count": 2830
}

Response fields

FieldMeaning
name / headlineDisplay name and short self-description of the user.
url_tokenThe user's profile slug. It matches the user_url_token you sent.
idInternal hash ID of the user account.
follower_countReported integer follower count. Display text/num/unit fields may be localized or abbreviated; equality in one example is not a universal lossless-conversion rule.
answer_count / articles_countNumber of answers and number of articles the user has published.
project_count / available_medals_countCount of the user's projects and of medals available on the account.
is_realname / is_org / is_advertiserFlags that show whether the account is real-name verified, an organization, or an advertiser.
vip_info.is_vip / kvip_info.is_vipFlags that show whether the user holds a VIP membership.
genderNumeric gender code. This example returns 1.
avatar_url / urlLink to the avatar image and to the user's profile API URL.

Notes

  • Take user_url_token from the end of a Zhihu profile URL, such as ming-he-43-93 in zhihu.com/people/ming-he-43-93.
  • ip_info can return a placeholder text when the location is not known.
  • Answers and articles are separately selected tasks with their own contracts and costs; this profile read does not call them.
  • A followee-graph task is separate and was not rechecked or executed in this revision.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Read a profile token you already selected

Send user_url_token, the slug from a known people profile URL. Do not substitute a numeric search-hit ID, internal hash, display name or another endpoint's user_id. This task uses zhihu/web/user-info; similarly named routes can have different inputs and prices.

Validate the flat response's exact string url_token against your request before attaching name, headline or counts. The October 7 saved profile uses ming-he-43-93, with follower_count 2830, answer_count 9 and articles_count 87. It was captured independently of the keyword example and is not a selected member of that search page.

The saved follower_count_num and follower_count_text happen to be strings matching 2830 with an empty unit. Do not generalize this to every formatted count: localized/abbreviated displays need their raw representation, not a lossless-integer promise. Missing fields remain unknown. One profile does not establish growth, audience reach or an expert's qualifications.

The saved IP-location text explicitly says location unknown. Empty employment and badge arrays, null assistant/org verification data and numeric gender code do not justify guessing location, affiliation or demographics. is_realname, is_org and allow_message are returned flags, not independent credential verification or authorization to send messages.

Avatar and profile URLs are references, not downloaded media. Stop after the profile; answers, articles and followee graphs are separate tasks with unverified current contracts in this revision. To discover accounts instead, choose one keyword candidate page independently. Matching a name is not sufficient to select the best expert or link identities.

Give your agent one account-research task

Choose keyword candidates or a known profile token. Give your agent the setup Skill, Markdown quickstart, exact selected web endpoint and desired output. Keep SANDBASE_API_KEY locally and call POST /v1/api/ with Bearer authentication. Do not automatically choose the first name match, fetch answers or followees, or contact an account.

Require completed SandBase status and an object at outputs[0].data. These two business references have no code, status or success field; do not import a code-zero rule from another endpoint. Search has data as an array, while the profile is flat and should match the selected url_token. Reject malformed payloads and mismatched identity instead of substituting an empty successful profile. Missing metrics remain unknown, not zero or false.

Pricing inspected November 8 lists $0.001 for each selected web route, with 100 daily calls shared across eligible organization APIs and reset at 00:00 UTC. Eligibility is not remaining allowance. A deliberate pair lists at $0.002 before quota effects; this guide does not execute a pair. No new business, continuation, paid, media or outreach call was made. For the historical search/profile/answers design, see the Zhihu research Python guide; the two current first-request boundaries are described here.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Zhihu$0.001 ต่อการเรียกJSON
Zhihu$0.005 ต่อการเรียกJSON
Zhihu$0.001 ต่อการเรียกJSON
Zhihu$0.001 ต่อการเรียกJSON
Zhihu$0.001 ต่อการเรียกJSON
Zhihu$0.001 ต่อการเรียกJSON

คู่มือ:Best Zhihu API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Zhihu Web User Profile API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/zhihu/web/user-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Zhihu Web User Profile API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Zhihu Web User Profile API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: user_url_token (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Zhihu Web User Profile API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Zhihu ไหม?

ไม่จำเป็น Zhihu Web User Profile ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Zhihu API แยกต่างหาก

โปรไฟล์นี้ต้องมี business code เท่ากับศูนย์หรือไม่?

เอกสารอ้างอิงที่บันทึกไว้นี้ไม่มีฟิลด์ business code/status/success ให้ตรวจสอบ envelope ด้านนอกที่เสร็จสมบูรณ์, flat object และ url_token ที่เลือกไว้อย่างแม่นยำ; อย่าแต่ง status ของผู้ให้บริการขึ้นมา หรือแปลงข้อมูลที่ผิดรูปให้กลายเป็นโปรไฟล์ว่างที่สำเร็จ

จำนวน follower ที่จัดรูปแบบแล้วและตำแหน่งที่ไม่ทราบเป็นค่าที่วัดได้แม่นยำหรือไม่?

โดยทั่วไปไม่ใช่ ให้แยก numeric counts, สตริงแสดงผล และ placeholder ของ unknown ออกจากกัน ค่าแสดงผลที่บันทึกไว้นี้บังเอิญตรงกับ 2830 แต่ไม่ได้หมายความว่าเป็นกฎการแปลงสากล หรือเป็นหลักฐานของตำแหน่ง, การเติบโต หรือการเข้าถึงที่ทราบแน่ชัด

real-name และ allow_message flags อนุญาตให้ติดต่อหรือพิสูจน์ความเชี่ยวชาญได้ไหม?

ไม่ใช่ เป็น flags ของโปรไฟล์ที่ส่งกลับมา ไม่ใช่การยืนยันหรือการอนุญาตให้ติดต่อโดยอิสระ งานนี้ไม่ได้ส่งข้อความหรือขยายคำตอบ, บทความ หรือกราฟ followee เลือกงานต่อไปแยกต่างหาก