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

Zhihu Pin Detail

Documentazione API
https://api.sandbase.ai/v1/api/zhihu/web/pin-detail

Retrieves the full content and details of a single Zhihu pin using its unique pin identifier. Returns parsed text blocks, links, and formatting metadata.

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

Playground

Input
Pin ID
OutputEsempio
Rispostaoutputs · 15.5 KB · 408 righe
[
  {
    "data": {
      "ab_config": {
        "md_interact_unify": "1"
      },
      "admin_closed_comment": false,
      "author": {
        "avatar_url": "https://pica.zhimg.com/v2-84d915f37f2c56232c42566f0bef233d_720w.jpg?source=8a6f5038&needBackground=1",
        "badge_v2": {
          "detail_badges": [],
          "icon": "",
          "merged_badges": [],
          "night_icon": "",
          "title": "我与我周旋久,宁作我~"
        },
        "exposed_medal": {
          "avatar_url": "https://pic1.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_720w.jpg?source=8a6f5038&needBackground=1",
          "description": "被 100 个人关注",
          "medal_avatar_frame": "",
          "medal_id": "972477022068568064",
          "medal_name": "备受瞩目",
          "mini_avatar_url": "https://picx.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_720w.jpg?source=8a6f5038&needBackground=1"
        },
        "follower_count": 142,
        "gender": 0,
        "headline": "我与我周旋久,宁作我~",
        "id": "c72367b43730a490687966ceb87e9305",
        "is_advertiser": false,
        "is_blocked": false,
        "is_blocking": false,
        "is_followed": false,
        "is_following": false,
        "is_org": false,
        "is_special_follow": false,
        "kvip_info": {
          "is_vip": false,
          "target_url": ""
        },
        "name": "只只Yuri",
        "reaction_count": 0,
        "type": "people",
        "url": "/people/c72367b43730a490687966ceb87e9305",
        "url_token": "persistence-66-66",
        "user_type": "people",
        "vip_info": {
          "is_vip": false
        }
      },
      "can_top": false,
      "comment_count": 13,
      "comment_permission": "all",
      "comments": [],
      "content": [
        {
          "content": "普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络、AI未来趋势</p><p class=\"ztext-empty-paragraph\"><br></p><p>② Jeff Su|AI生产力天花板</p><p>主要分享:ChatGPT实战、AI办公效率、Prompt技巧、工作流自动化</p><p>他的内容最大的特点就是:短、实用、能马上复制。很多视频10分钟以内,但信息密度极高。看完就能直接上手。</p><p class=\"ztext-empty-paragraph\"><br></p><p>③ Tina Huang|最适合普通人的AI学姐</p><p>主要分享:AI Agent、数据科学、AI职业规划</p><p>学习方法论</p><p>我最喜欢她的一点:特别会“翻译复杂知识”。她能把几十页论文和课程压缩成几十分钟的视频。对于非科班来说,非常友好。</p><p class=\"ztext-empty-paragraph\"><br></p><p>④ IBM Technology|AI知识百科全书</p><p>主要分享:RAG、Agent、Transformer、向量数据库、DevOps、量子计算</p><p>很多AI概念第一次看像天书。IBM的优势是:专业,但不晦涩。非常适合查…",
          "fold_type": "raw",
          "own_text": "普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络、AI未来趋势</p><p class=\"ztext-empty-paragraph\"><br></p><p>② Jeff Su|AI生产力天花板</p><p>主要分享:ChatGPT实战、AI办公效率、Prompt技巧、工作流自动化</p><p>他的内容最大的特点就是:短、实用、能马上复制。很多视频10分钟以内,但信息密度极高。看完就能直接上手。</p><p class=\"ztext-empty-paragraph\"><br></p><p>③ Tina Huang|最适合普通人的AI学姐</p><p>主要分享:AI Agent、数据科学、AI职业规划</p><p>学习方法论</p><p>我最喜欢她的一点:特别会“翻译复杂知识”。她能把几十页论文和课程压缩成几十分钟的视频。对于非科班来说,非常友好。</p><p class=\"ztext-empty-paragraph\"><br></p><p>④ IBM Technology|AI知识百科全书</p><p>主要分享:RAG、Agent、Transformer、向量数据库、DevOps、量子计算</p><p>很多AI概念第一次看像天书。IBM的优势是:专业,但不晦涩。非常适合查…",
          "text_link_type": "internal",
          "title": "",
          "type": "text"
        },
        {
          "height": 2556,
          "is_gif": false,
          "is_long": false,
          "is_watermark": true,
          "original_url": "https://picx.zhimg.com/v2-2e3dbc3dd448b05d45f103222171c85a.jpg?source=e3d01f54",
          "thumbnail": "",
          "type": "image",
          "url": "https://pica.zhimg.com/100/v2-227991d6594622693228451199300d54_720w.jpg",
          "watermark_url": "https://pica.zhimg.com/v2-227991d6594622693228451199300d54_720w.jpg?source=e3d01f54",
          "width": 1917
        },
        {
          "height": 2556,
          "is_gif": false,
          "is_long": false,
          "is_watermark": true,
          "original_url": "https://picx.zhimg.com/v2-6d7d7b03546a7af5e5ef4d25d8061b86.jpg?source=e3d01f54",
          "thumbnail": "",
          "type": "image",
          "url": "https://pic1.zhimg.com/100/v2-c07da43cf589c9a04c52aae4ecd60b22_720w.jpg",
          "watermark_url": "https://picx.zhimg.com/v2-c07da43cf589c9a04c52aae4ecd60b22_720w.jpg?source=e3d01f54",
          "width": 1917
        },
        "… 8 more items in the full response"
      ],
      "content_html": "<div>普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络、AI未来趋势</p><p class=\"ztext-empty-paragraph\"><br/></p><p>② Jeff Su|AI生产力天花板</p><p>主要分享:ChatGPT实战、AI办公效率、Prompt技巧、工作流自动化</p><p>他的内容最大的特点就是:短、实用、能马上复制。很多视频10分钟以内,但信息密度极高。看完就能直接上手。</p><p class=\"ztext-empty-paragraph\"><br/></p><p>③ Tina Huang|最适合普通人的AI学姐</p><p>主要分享:AI Agent、数据科学、AI职业规划</p><p>学习方法论</p><p>我最喜欢她的一点:特别会“翻译复杂知识”。她能把几十页论文和课程压缩成几十分钟的视频。对于非科班来说,非常友好。</p><p class=\"ztext-empty-paragraph\"><br/></p><p>④ IBM Technology|AI知识百科全书</p><p>主要分享:RAG、Agent、Transformer、向量数据库、DevOps、量子计算</p><p>很多AI概念第一次看像天书。IBM的优势是:专业,但不…",
      "created": 1781607393,
      "creation_disclaimer": "",
      "current_user_is_navigator": false,
      "excerpt_title": "普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络、AI未来趋势</p><p class=\"ztext-empty-paragraph\"><br></p><p>② Jeff Su|AI生产力天花板</p><p>主要分享:ChatGPT实战、AI办公效率、Prompt技巧、工作流自动化</p><p>他的内容最大的特点就是:短、实用、能马上复制。很多视频10分钟以内,但信息密度极高。看完就能直接上手。</p><p class=\"ztext-empty-paragraph\"><br></p><p>③ Tina Huang|最适合普通人的AI学姐</p><p>主要分享:AI Agent、数据科学、AI职业规划</p><p>学习方法论</p><p>我最喜欢她的一点:特别会“翻译复杂知识”。她能把几十页论文和课程压缩成几十分钟的视频。对于非科班来说,非常友好。</p><p class=\"ztext-empty-paragraph\"><br></p><p>④ IBM Technology|AI知识百科全书</p><p>主要分享:RAG、Agent、Transformer、向量数据库、DevOps、量子计算</p><p>很多AI概念第一次看像天书。IBM的优势是:专业,但不晦涩。非常适合查…",
      "favlists_count": 3063,
      "favorite_count": 3063,
      "id": "2050290260991534603",
      "is_admin_close_repin": false,
      "is_contain_ai_content": false,
      "is_deleted": false,
      "is_guide_app": false,
      "is_navigator_vote": false,
      "is_paid_video": false,
      "is_top": false,
      "like_count": 635,
      "likers": [
        {
          "avatar_url": "https://picx.zhimg.com/v2-e932b2fd6ff6119026933116ba487477_720w.jpg?source=8a6f5038&needBackground=1",
          "badge_v2": {
            "detail_badges": [],
            "icon": "",
            "merged_badges": [],
            "night_icon": "",
            "title": ""
          },
          "exposed_medal": {
            "avatar_url": "https://picx.zhimg.com/v2-e2ebc32122c65973fe03e777c7f46ab7_720w.jpg?source=8a6f5038&needBackground=1",
            "description": "累计登录 15 天",
            "medal_avatar_frame": "",
            "medal_id": "972480281613197312",
            "medal_name": "每天逛逛",
            "mini_avatar_url": "https://pic1.zhimg.com/v2-e2ebc32122c65973fe03e777c7f46ab7_720w.jpg?source=8a6f5038&needBackground=1"
          },
          "follower_count": 0,
          "gender": 0,
          "headline": "",
          "id": "7191f66ecb731519bb3e8b0441aa79cc",
          "is_advertiser": false,
          "is_blocked": false,
          "is_blocking": false,
          "is_followed": false,
          "is_following": false,
          "is_org": false,
          "is_special_follow": false,
          "kvip_info": {
            "is_vip": false,
            "target_url": ""
          },
          "name": "顺顺遂",
          "reaction_count": 0,
          "type": "people",
          "url": "/people/7191f66ecb731519bb3e8b0441aa79cc",
          "url_token": "8-90-29-35-73",
          "user_type": "people",
          "vip_info": {
            "is_vip": false
          }
        },
        {
          "avatar_url": "https://picx.zhimg.com/4c1a7a9be_720w.jpg?source=8a6f5038&needBackground=1",
          "badge_v2": {
            "detail_badges": [],
            "icon": "",
            "merged_badges": [],
            "night_icon": "",
            "title": ""
          },
          "exposed_medal": {
            "avatar_url": "",
            "description": "",
            "medal_avatar_frame": "",
            "medal_id": "0",
            "medal_name": "",
            "mini_avatar_url": ""
          },
          "follower_count": 242,
          "gender": 1,
          "headline": "何以解忧,唯有杜康",
          "id": "88caf6ed05faeb841edc9da85874def7",
          "is_advertiser": false,
          "is_blocked": false,
          "is_blocking": false,
          "is_followed": false,
          "is_following": false,
          "is_org": false,
          "is_special_follow": false,
          "kvip_info": {
            "is_vip": false,
            "target_url": ""
          },
          "name": "小叶",
          "reaction_count": 0,
          "type": "people",
          "url": "/people/88caf6ed05faeb841edc9da85874def7",
          "url_token": "yemingchen",
          "user_type": "people",
          "vip_info": {
            "is_vip": false
          }
        },
        {
          "avatar_url": "https://picx.zhimg.com/v2-bc12214f4d3fc9402f5e6239b28e5f59_720w.jpg?source=8a6f5038&needBackground=1",
          "badge_v2": {
            "detail_badges": [],
            "icon": "",
            "merged_badges": [],
            "night_icon": "",
            "title": ""
          },
          "exposed_medal": {
            "avatar_url": "",
            "description": "",
            "medal_avatar_frame": "",
            "medal_id": "0",
            "medal_name": "",
            "mini_avatar_url": ""
          },
          "follower_count": 3,
          "gender": 1,
          "headline": "学生",
          "id": "5a76ecf04e19d3b7564524ecf19353f8",
          "is_advertiser": false,
          "is_blocked": false,
          "is_blocking": false,
          "is_followed": false,
          "is_following": false,
          "is_org": false,
          "is_special_follow": false,
          "kvip_info": {
            "is_vip": false,
            "target_url": ""
          },
          "name": "林小2",
          "reaction_count": 0,
          "type": "people",
          "url": "/people/5a76ecf04e19d3b7564524ecf19353f8",
          "url_token": "lin-xiao-er-48-57",
          "user_type": "people",
          "vip_info": {
            "is_vip": false
          }
        },
        "… 3 more items in the full response"
      ],
      "long_threshold": [
        {
          "height": 3,
          "width": 1
        },
        {
          "height": 1,
          "width": 3
        }
      ],
      "meet_reaction_guide_conditions": false,
      "page_view_count": null,
      "pin_type": "normal",
      "questions": null,
      "reaction": {
        "image_reactions": {
          "v2-1e7198284beaef299b61d7d2f55e13a8": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-2e3dbc3dd448b05d45f103222171c85a": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-3e60fc90e6c1e178dc673a17ee8ca8b5": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-46e6ee5046676544dc9c4cb874dc44a0": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-6d7d7b03546a7af5e5ef4d25d8061b86": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-7d0ae7f0208fc1a0c574cb02bb95a541": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-7feb4f5482714557234d359524413206": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-9fbe628901c8152537033a97dea5ef04": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-bfddc13476722df5932cf1b08cf2befa": {
            "is_liked": false,
            "like_count": 0
          },
          "v2-f697c42e12fc6071dd18ece37437b1ba": {
            "is_liked": false,
            "like_count": 0
          }
        },
        "relation": {
          "current_user_is_navigator": false,
          "faved": false,
          "following": false,
          "img_liked": {
            "v2-1e7198284beaef299b61d7d2f55e13a8": false,
            "v2-2e3dbc3dd448b05d45f103222171c85a": false,
            "v2-3e60fc90e6c1e178dc673a17ee8ca8b5": false,
            "v2-46e6ee5046676544dc9c4cb874dc44a0": false,
            "v2-6d7d7b03546a7af5e5ef4d25d8061b86": false,

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

Zhihu Pin Detail API

Returns the full record of one Zhihu pin: its text and image blocks, author profile, engagement counts and a sample of users who liked it. It needs one input, the pin_id of the pin.

Use cases

  • Archive the text and image links of a Zhihu pin before it is edited or deleted.
  • Track likes, favorites and comments on a pin to compare how a post performs.
  • Pull the author profile attached to a pin to see who posted it and how many followers they have.
  • Extract the image URLs and sizes from a pin to build a gallery or run image analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/pin-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pin_id": "2050290260991534603"}'

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

Parameters

NameTypeRequiredDescription
pin_idstringYesPin ID

Example response

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

{
  "ab_config": {
    "md_interact_unify": "1"
  },
  "admin_closed_comment": false,
  "author": {
    "avatar_url": "https://picx.zhimg.com/v2-84d915f37f2c56232c42566f0bef233d_720w.jpg?source=8a6f5…",
    "badge_v2": {
      "detail_badges": [],
      "icon": "",
      "merged_badges": [],
      "night_icon": "",
      "title": "我与我周旋久,宁作我~"
    },
    "exposed_medal": {
      "avatar_url": "https://picx.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_720w.jpg?source=8a6f5…",
      "description": "被 100 个人关注",
      "medal_avatar_frame": "",
      "medal_id": "972477022068568064",
      "medal_name": "备受瞩目",
      "mini_avatar_url": "https://pica.zhimg.com/v2-7565d834d652a9960da0cedd8d7952ee_720w.jpg?source=8a6f5…"
    },
    "follower_count": 143,
    "gender": 0,
    "headline": "我与我周旋久,宁作我~",
    "id": "c72367b43730a490687966ceb87e9305",
    "is_advertiser": false,
    "is_blocked": false,
    "is_blocking": false,
    "is_followed": false,
    "is_following": false
  },
  "can_top": false,
  "comment_count": 13,
  "comment_permission": "all",
  "comments": [],
  "content": [
    {
      "content": "普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络…",
      "fold_type": "raw",
      "own_text": "普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程、神经网络…",
      "text_link_type": "internal",
      "title": "",
      "type": "text"
    }
  ],
  "content_html": "<div>普通人学AI,建议死磕这10个油管博主 | <p>① Andrej Karpathy|AI界传奇人物</p><p>主要分享:大模型原理、GPT训练过程…",
  "created": 1781607393,
  "creation_disclaimer": "",
  "current_user_is_navigator": false
}

Response fields

FieldMeaning
content[]List of content blocks in the pin. Each block has a type such as text or image.
content[].own_textText of a text block. It can contain inline HTML tags such as <p>.
content[].url / content[].original_url / content[].watermark_urlLinks to an image block in its standard, original and watermarked versions. width and height give the image size.
content_htmlThe pin body as one HTML string.
createdCreation time of the pin as a Unix timestamp in seconds.
like_count / comment_count / favorite_count / repin_countCounts of likes, comments, favorites and reposts for the pin.
author.name / author.url_token / author.headline / author.follower_countDisplay name, URL token, headline and follower count of the pin author.
likers[]Sample of users who liked the pin. Each entry has the same profile fields as author.
reaction.statistics.up_vote_countNumber of upvotes on the pin. Other counters such as share_count and down_vote_count sit in the same object.
pin_type / state / is_deletedType of the pin, its current state, and whether it is deleted.

Notes

  • pin_id is a numeric string such as 2050290260991534603. The same value comes back in the id field.
  • To read the discussion under a pin, call Zhihu Pin Comments. The comments list in this response was empty.
  • To list pins from one author, call Zhihu User Pins, then pass a returned pin ID here.

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$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 Pin Detail?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/zhihu/web/pin-detail 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 Pin Detail?

$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 Pin Detail?

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

Cosa restituisce l'API Zhihu Pin Detail?

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 Pin Detail 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.