Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Zhihu User Pins

Documentazione 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.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 2 opzionali

Playground

Input
User ID
Number of pins per page
Offset
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Zhihu User PinsQuesta API
Zhihu
$0.001 per chiamataJSON
Zhihu$0.005 per chiamataJSON
Zhihu$0.001 per chiamataJSON
Zhihu$0.001 per chiamataJSON
Zhihu$0.001 per chiamataJSON
Zhihu$0.001 per chiamataJSON

Guide:Best Zhihu API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API Zhihu User Pins?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/zhihu/web/user-pins con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Zhihu User Pins?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Zhihu User Pins?

Richiesti: user_url_token (string). Facoltativi: limit (string) e offset (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Zhihu User Pins?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Zhihu?

No. Zhihu User Pins funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Zhihu.