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

Zhihu User Pins

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

Returns a list of pins or moments posted by a specific Zhihu user. Supports pagination controls using offset and limit parameters.

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

Playground

อินพุต
User ID
Number of pins per page
Offset
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Zhihu User Pins API

Returns a page of pins (short posts or moments) published by one Zhihu user. The only required input is the user's user_url_token, and limit and offset control paging.

Use cases

  • Build a timeline of short posts from a Zhihu creator's profile.
  • Archive a user's pins page by page with offset.
  • Check whether a Zhihu account has posted any pins before you fetch more data.
  • Collect pin IDs to pass to a pin detail or pin comments lookup.

Request

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

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

Parameters

NameTypeRequiredDescription
user_url_tokenstringYesUser ID
limitstringNoNumber of pins per page
offsetstringNoOffset

Example response

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

{
  "data": [],
  "paging": {
    "is_end": true,
    "is_start": true,
    "next": "https://www.zhihu.com/api/v4/v2/pins/excited-vczh/moments?includes=data%5B%2A%5D…",
    "previous": "https://www.zhihu.com/api/v4/v2/pins/excited-vczh/moments?includes=data%5B%2A%5D…",
    "totals": 0
  }
}

Response fields

FieldMeaning
dataList of pins on the current page. It is an empty list when the user has no pins, as in the example response.
paging.totalsTotal number of pins the response reports for this user. It is 0 in the example.
paging.is_end / paging.is_startBooleans that show whether this page is the last page or the first page of the list.
paging.nextURL for the next page. It carries the limit and offset values for that page.
paging.previousURL for the previous page. It carries the limit and offset values for that page.

Notes

  • user_url_token is the slug in a Zhihu profile URL, for example excited-vczh in zhihu.com/people/excited-vczh.
  • The next and previous links in paging show a default page size of 20 and step the offset by that amount.
  • Stop paging when paging.is_end is true.
  • To read one pin in full, call Zhihu Pin Detail. For its replies, call Zhihu Pin Comments.

Pricing

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

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Zhihu User PinsAPI นี้
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 User Pins API ได้อย่างไร?

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

Zhihu User Pins API ราคาเท่าไร?

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

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

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

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

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

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

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