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

Zhihu Column Article Relationship

API dokümanları
https://api.sandbase.ai/v1/api/zhihu/web/column-relationship

Returns interaction details and relationship metadata for a Zhihu column article, including endorsement reaction text and navigation action links by article ID.

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

Oynatma Alanı

Girdi
Article ID
ÇıktıÖrnek
Yanıtoutputs · 313 B · 13 satır
[
  {
    "data": {
      "Member": null,
      "action_url": "zhihu://hybrid?zh_url=https://www.zhihu.com/appview/article/669214677/voters&zh_hide_nav_bar=true",
      "is_bold": false,
      "text": "291 人赞同了该文章",
      "text_color": "GBL05A",
      "text_size": 14,
      "type": "reaction_endorse"
    }
  }
]

Örnekler

Bir örnek seçerek girdilerini ve sonucunu playground'a yükleyin.

API README

Zhihu Column Article Relationship API

Returns the endorsement reaction summary for one Zhihu column article. It needs the article_id of the article. The response includes a display text such as the number of people who endorsed the article and an in-app link to the voter list.

Use cases

  • Show the endorsement summary line for a column article in a dashboard.
  • Extract the voter list deep link for a given article.
  • Parse the endorsement count from the text string to track how many people endorsed an article.
  • Check which reaction type Zhihu attaches to an article through the type field.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/column-relationship" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_id": "669214677"}'

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

Parameters

NameTypeRequiredDescription
article_idstringYesArticle ID

Example response

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

{
  "Member": null,
  "action_url": "zhihu://hybrid?zh_url=https://www.zhihu.com/appview/article/669214677/voters&zh_…",
  "is_bold": false,
  "text": "291 人赞同了该文章",
  "text_color": "GBL05A",
  "text_size": 14,
  "type": "reaction_endorse"
}

Response fields

FieldMeaning
textDisplay string for the reaction. In the example it reads "291 人赞同了该文章" (291 people endorsed the article), so the count sits inside the text.
typeKind of relationship item. The example value is reaction_endorse.
action_urlZhihu app deep link that opens the voter list page for the article. The link embeds the article ID.
text_colorColor code Zhihu uses to style the text, for example GBL05A.
text_size / is_boldStyling hints for the text. text_size is a number (14 in the example) and is_bold is a boolean.
MemberMember data tied to the reaction. It is null in the example response.

Notes

  • The endorsement count is not a separate number field. Read it from the text string.
  • action_url uses the zhihu:// scheme, so it opens in the Zhihu app and not in a browser.
  • To get the article title, author and body, call Zhihu Column Article Detail with the same ID.
  • To find articles in a column, use Zhihu Column Articles.

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 Column Article Relationship 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/column-relationship adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Zhihu Column Article Relationship 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 Column Article Relationship API'si hangi parametreleri kabul eder?

Gerekli: article_id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Zhihu Column Article Relationship 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 Column Article Relationship, 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.