Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Zhihu User Pins

API dokümanları
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.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 2 isteğe bağlı

Oynatma Alanı

Girdi
User ID
Number of pins per page
Offset
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
Zhihu$0.001 çağrı başınaJSON
Zhihu$0.005 çağrı başınaJSON
Zhihu$0.001 çağrı başınaJSON
Zhihu$0.001 çağrı başınaJSON
Zhihu$0.001 çağrı başınaJSON
Zhihu$0.001 çağrı başınaJSON

Kılavuzlar:Best Zhihu API in 2026: Pricing Compared

Sorular

SSS

Zhihu User Pins API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/zhihu/web/user-pins adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Zhihu User Pins API'sinin fiyatı nedir?

çağrı başına $0.001, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Zhihu User Pins API'si hangi parametreleri kabul eder?

Gerekli: user_url_token (string). İsteğe bağlı: limit (string) ve offset (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Zhihu User Pins API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Zhihu geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Zhihu User Pins, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Zhihu API erişimi için ayrıca başvuru yapmanız gerekmez.