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

Zhihu Question Detail

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

Retrieves question information on Zhihu using a question ID. Returns the question title, answer counts, comment counts, follower counts, and view statistics.

Fiyat
$0.001USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı
Günde 100 ücretsiz çağrıHer gün ilk 100 çağrı ücretsizdir (kurum genelinde paylaşılır) · UTC 00:00'da sıfırlanır. Sonrasında çağrı başına ücretlendirilir.

Oynatma Alanı

Girdi
Question ID
ÇıktıÖrnek
Yanıtoutputs · 704 B · 30 satır
[
  {
    "data": {
      "answer_count": 90,
      "answer_count_description": "全部内容 90",
      "comment_count": 9,
      "created": 1448289701,
      "detail": "",
      "excerpt": "",
      "follower_count": 2912,
      "id": "37811449",
      "question_type": "normal",
      "relationship": {
        "is_following": false
      },
      "review_info": {
        "edit_is_reviewing": false,
        "edit_tips": "",
        "is_reviewing": false,
        "tips": "",
        "type": ""
      },
      "title": "有哪些优雅的 Windows 10 壁纸?",
      "type": "question",
      "updated_time": 1521972248,
      "url": "https://www.zhihu.com/api/v4/questions/37811449",
      "visit_count": 3350451
    }
  }
]

Örnekler

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

API README

Zhihu Question Detail API

Returns metadata for one Zhihu question: its title, creation and update times, answer, comment and follower counts, and a visit count. It needs the question_id of the question.

Use cases

  • Track how visit_count and follower_count of a Zhihu question change across repeated calls.
  • Pull the title and answer count of a question before deciding whether to collect its answers.
  • Compare engagement across a list of questions on one topic, such as wallpapers or software.
  • Check whether a question is still under review using the review_info flags.

Request

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

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

Parameters

NameTypeRequiredDescription
question_idstringYesQuestion ID

Example response

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

{
  "answer_count": 90,
  "answer_count_description": "全部内容 90",
  "comment_count": 9,
  "created": 1448289701,
  "detail": "",
  "excerpt": "",
  "follower_count": 2912,
  "id": "37811449",
  "question_type": "normal",
  "relationship": {
    "is_following": false
  },
  "review_info": {
    "edit_is_reviewing": false,
    "edit_tips": "",
    "is_reviewing": false,
    "tips": "",
    "type": ""
  },
  "title": "有哪些优雅的 Windows 10 壁纸?"
}

Response fields

FieldMeaning
titleThe question title as shown on Zhihu.
idThe question ID, returned as a string. It matches the question_id you sent.
answer_countNumber of answers on the question.
answer_count_descriptionText label for the answer count. In the example it reads 全部内容 90.
comment_countNumber of comments on the question itself.
follower_countNumber of users following the question.
visit_countNumber of visits recorded for the question.
created / updated_timeUnix timestamps in seconds for when the question was created and last updated.
question_type / typeKind of question and kind of object. The example returns normal and question.
review_info.is_reviewing / review_info.edit_is_reviewingFlags that show whether the question or an edit to it is under review.

Notes

  • The question_id is the number at the end of a Zhihu question URL, for example 37811449 in https://www.zhihu.com/question/37811449.
  • detail and excerpt can come back as empty strings, as they do in the example.
  • To read the answers themselves, call Zhihu Question Answers with the same question ID.
  • To read a single answer in full, use Zhihu Answer Details.

Pricing

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

Read a question you already selected

Provide question_id as a string for a known Zhihu question. A question ID is not an answer ID, author token or search keyword. Select the question deliberately; this guide does not take the first hot-list item or turn a missing ID into the literal string None.

The public reference has the question record directly in the business payload, with id, title and counts such as answer_count and follower_count. Confirm the record before using these fields. Empty detail or excerpt strings are possible in the reference; they do not mean the question is missing. Missing counts remain unknown, and a reported answer_count is not the number of answers downloaded.

If you want response content, use Question Answers separately with the selected question ID. A detail lookup does not retrieve every answer or authorize an automatic collection loop. A popular question or large follower count is not evidence that every answer is reliable.

Give your agent a selected question and one request

Already have a SandBase key? Reuse SANDBASE_API_KEY in your local environment and the API tab's POST /v1/api/ route with Bearer authentication. An already connected agent only needs the exact endpoint and question ID. For a new project, share the setup Skill, Markdown quickstart and your research question. Ask for one response before choosing any expansion.

Require a completed SandBase response and read outputs[0].data, then validate this endpoint's shape. Question detail is a question object; Question Answers has its own data array inside the business payload. Missing records, malformed arrays and provider errors are not empty findings. Do not silently substitute an empty dictionary or use a legacy output field.

Pricing checked on 2026-11-08: each selected endpoint lists $0.001 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not show remaining allowance. Inspect current pricing and quota before executing. No new business request or pagination roundtrip was run for this revision. The Zhihu Python first-request tutorial distinguishes current code from older research examples.

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 Question Detail 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/question-detail adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Zhihu Question Detail API'sinin fiyatı nedir?

çağrı başına $0.001. Her kuruluş, UTC günü başına 100 ücretsiz çağrı alır; bu hak, bu API dahil uygun SandBase API'leri arasında ortaktır. Sonrasında her çağrı, SandBase bakiyenizden bu fiyat üzerinden ücretlendirilir. Abonelik yoktur.

Zhihu Question Detail API'si hangi parametreleri kabul eder?

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

Zhihu Question Detail 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 Question Detail, 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.

question_id olarak bir answer ID veya anahtar kelime kullanabilir miyim?

Seçtiğiniz bir sorunun ID’sini kullanın. Answer ID’leri, yazar kimlikleri ve arama terimleri farklı girdilerdir. Otomatik olarak ilk trend soruyu seçmeyin veya eksik ID’yi None dizisine dönüştürmeyin.

Question Detail tüm answers’ları da alır mı?

Hayır. Soru kaydını döndürür. Bildirilen answer_count bir meta veridir, indirilen answer sayısı değildir. Question Answers, kendi yanıt yapısı ve sayfalama durumuna sahip ayrı bir istektir.

Boş detail ya da excerpt, sorunun eksik olduğu anlamına mı gelir?

Tek başına değil. Genel referans, geçerli bir soru kaydında boş text alanları içeriyor. Kaydı ve tanımlayıcısını doğrulayın; eksik alanları metin veya sıfır sayılar uydurmadan bilinmeyen olarak bırakın.