Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Zhihu Topic Search (V3)

API 文件
https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3

Searches Zhihu topics by keyword and returns matching topic profiles, follower metrics, and highlighted text matches with pagination support.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Search Keywords
Number of topics per page
Offset
輸出範例
回應outputs · 7.7 KB · 183 行
[
  {
    "data": {
      "ab_params": "dm_l2_ab=1;dm_ks_memory=0;dm_preset_opt=1;sb_cr=0;bt_holdback_2025=0;dm_ai_card_cache=0;dm_aicard_mutex=0;dm_vote_score=0;dm_l1_rel=1;dm_router_rewrite=0;sb_novel_member=1;sb_sku_rel=1;sb_cardfilter=1;sb_eduzhi=1;dm_correct=1;dm_question_limit=2;dm_l2_ctr_v4=0;dm_ai_hot_recall=0;sb_storytag=1;sb_slot_time=2;dm_test=1;sb_slot_domain=2;sb_fea_0914=0;dm_hot_pin=1;dm_queryrewrite_r=0;sb_sku_ui=1;dm_pre_docs=2;dm_l3_multi3=1;dm_ai_prompt=3;sb_vip_xunzhi=1;sb_paid_recency=0;sb_nvip_ecpm=1;dm_l2_snp_v2=1;dm_query_rewrite=2;sb_story_ca=1;sb_ff=0;sb_sku_time=1;bt_member_verify=1;dm_ai_corner1=0;dm_tag_…",
      "data": [
        {
          "highlight": {
            "description": "由 Elon Musk, Peter Thiel, Sam Altman",
            "title": "<em>OpenAI</em>"
          },
          "hit_labels": null,
          "id": "20083046",
          "index": 0,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvEBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIGMTgwNDc2KggyMDA4MzA0NkoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQCoAQCwAQG4AQDQAdGBrskF6AGUM4ACAbgCAIoDAJIDEzIwNTQ5MDAxMDY1MDgzODI2MzOaAwCiAwkxMDFfM18zLjCqAwDCAwx6c2VhcmNoX3Jvb3TgBAD6BACCBSBlODEzMTM5ZTBmOTM4ZmFlNDZlMmUzMjVmMWEzOTQ0M4oFBuWFtuS7lg==",
            "avatar_url": "https://pic4.zhimg.com/80/v2-4a85355a9ea1acc515ddabc2b3d1d4b1_qhd.jpg",
            "description": "由 Elon Musk, Peter Thiel, Sam Altman",
            "excerpt": "由 Elon Musk, Peter Thiel, Sam Altman",
            "follower_count": 6548,
            "followers_count": 6548,
            "has_meta": true,
            "id": "20083046",
            "introduction": "由 Elon Musk, Peter Thiel, Sam Altman",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "n_wiki",
              "description": "",
              "description1": "OpenAI是一家人工智能公司,成立于2015年12月。OpenAI会和谷歌、苹果、IBM等知名公司创办的其它一系列项目一道探索先进计算机技术,解决面部识别或语言翻译等问题。2015年12月12日,非盈利性的人工智能项目—OpenAI宣布正式启动。",
              "description2": "",
              "id": 1023629754540343300,
              "subtitle": "",
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>",
            "questions_count": 14586,
            "score": 10.955694198608398,
            "sub_category": "",
            "top_answer_count": 767067,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/20083046",
            "visit_count": 1414373870
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "",
            "title": "<em>OpenAI</em>发布当前最强模型GPT5.2"
          },
          "hit_labels": null,
          "id": "1982653700737610541",
          "index": 1,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvwBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIHNDI0OTcwMSoTMTk4MjY1MzcwMDczNzYxMDU0MUoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQGoAQCwAQG4AQDQAYa47MkG6AEAgAIBuAIAigMAkgMTMjA1NDkwMDEwNjUwODM4MjYzM5oDAKIDCTEwMV8zXzMuMKoDAMIDDHpzZWFyY2hfcm9vdOAEAPoEAIIFIGU4MTMxMzllMGY5MzhmYWU0NmUyZTMyNWYxYTM5NDQzigUG5YW25LuW",
            "avatar_url": "https://picx.zhimg.com/80/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=4e949a73",
            "description": "",
            "excerpt": "",
            "follower_count": 0,
            "followers_count": 0,
            "has_meta": true,
            "id": "1982653700737610541",
            "introduction": "",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "basic",
              "description": "",
              "id": 0,
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI发布当前最强模型GPT5.2",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>发布当前最强模型GPT5.2",
            "questions_count": 3,
            "score": 0.9963617324829102,
            "sub_category": "",
            "top_answer_count": 406,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/1982653700737610541",
            "visit_count": 792660
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "",
            "title": "<em>OpenAI</em>发布GPT5.5"
          },
          "hit_labels": null,
          "id": "2030951359864909854",
          "index": 2,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvwBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIHNDYzODc0OSoTMjAzMDk1MTM1OTg2NDkwOTg1NEoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQKoAQCwAQG4AQDQAbmhq88G6AEAgAIBuAIAigMAkgMTMjA1NDkwMDEwNjUwODM4MjYzM5oDAKIDCTEwMV8zXzMuMKoDAMIDDHpzZWFyY2hfcm9vdOAEAPoEAIIFIGU4MTMxMzllMGY5MzhmYWU0NmUyZTMyNWYxYTM5NDQzigUG5YW25LuW",
            "avatar_url": "https://pica.zhimg.com/80/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=4e949a73",
            "description": "",
            "excerpt": "",
            "follower_count": 0,
            "followers_count": 0,
            "has_meta": true,
            "id": "2030951359864909854",
            "introduction": "",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "basic",
              "description": "",
              "id": 0,
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI发布GPT5.5",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>发布GPT5.5",
            "questions_count": 2,
            "score": 0.9953414797782898,
            "sub_category": "",
            "top_answer_count": 59,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/2030951359864909854",
            "visit_count": 22206
          },
          "type": "search_result"
        },
        "… 17 more items in the full response"
      ],
      "domain_info": {
        "first_category": ""
      },
      "filter_items": null,
      "hit_labels": null,
      "is_brand_word": false,
      "is_koc_words": false,
      "item_in_view": [
        {
          "index": 5,
          "token": "b62a7302709544129797697d76efeb6c",
          "type": "user_survey"
        },
        {
          "index": 9,
          "type": "ask_question"
        }
      ],
      "paging": {
        "is_end": false,
        "next": "https://api.zhihu.com/search_v3?advert_count=0&correction=1&filter_fields=&gk_version=gz-gaokao&lc_idx=0&limit=20&offset=20&q=OpenAI&search_hash_id=e813139e0f938fae46e2e325f1a39443&search_source=Normal&show_all_topics=0&t=topic&vertical_info=0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0"
      },
      "pendant": null,
      "related_search_result": [],
      "search_action_info": {
        "attached_info_bytes": "OqQBEiBlODEzMTM5ZTBmOTM4ZmFlNDZlMmUzMjVmMWEzOTQ0M0oGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOAAgG4AgCKAwCSAxMyMDU0OTAwMTA2NTA4MzgyNjMzmgMAogMJMTAxXzNfMy4w4AQA+gQAggUgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDOKBQblhbbku5Y=",
        "isfeed": false,
        "lc_idx": 20,
        "search_hash_id": "e813139e0f938fae46e2e325f1a39443"
      },
      "sensitive_level": -1,
      "warning": ""
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Zhihu Topic Search (V3) API

This API searches Zhihu topics by keyword. It returns a list of matching topics with their IDs, names, follower counts, and highlighted text. It needs one input, keyword.

Use cases

  • Find the Zhihu topic ID for a brand or subject such as OpenAI.
  • Compare follower_count across topics that match the same keyword to see which has the largest audience.
  • Show matched terms in a search UI by using the <em> tags in the highlight text.
  • Collect topic avatars and descriptions to build a directory of topics on one theme.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI"}'

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch Keywords
limitstringNoNumber of topics per page
offsetstringNoOffset

Example response

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

{
  "ab_params": "dm_ai_search_safe=1;dm_recency_ab=1;sb_cr=1;sb_vip_tag=1;sb_sku_time=1;dm_correc…",
  "data": [
    {
      "highlight": {
        "description": "由 Elon Musk, Peter Thiel, Sam Altman",
        "title": "<em>OpenAI</em>"
      },
      "hit_labels": null,
      "id": "20083046",
      "index": 0,
      "object": {
        "agreed_count": 0,
        "ai_ranking_list_url": "",
        "aliases": [],
        "attached_info_bytes": "OvEBCgtwbGFjZWhvbGRlchIgZjYyOWJjOGQwZDRmMDljZmNkMDgzMWYyYTFkNzI3OTQYAiIGMTgwNDc2…",
        "avatar_url": "https://pic1.zhimg.com/80/v2-4a85355a9ea1acc515ddabc2b3d1d4b1_qhd.jpg",
        "description": "由 Elon Musk, Peter Thiel, Sam Altman",
        "excerpt": "由 Elon Musk, Peter Thiel, Sam Altman",
        "follower_count": 6574
      },
      "type": "search_result"
    }
  ],
  "domain_info": {
    "first_category": ""
  },
  "filter_items": null,
  "hit_labels": null,
  "is_brand_word": false,
  "is_koc_words": false,
  "item_in_view": [
    {
      "index": 5,
      "token": "b62a7302…",
      "type": "user_survey"
    }
  ],
  "paging": {
    "is_end": false,
    "next": "https://api.zhihu.com/search_v3?advert_count=0&correction=1&filter_fields=&gk_ve…"
  },
  "pendant": null,
  "related_search_result": [],
  "search_action_info": {
    "attached_info_bytes": "OqQBEiBmNjI5YmM4ZDBkNGYwOWNmY2QwODMxZjJhMWQ3Mjc5NEoGb3BlbmFpUABYA2ABagZPcGVuQUlw…",
    "isfeed": false,
    "lc_idx": 20,
    "search_hash_id": "f629bc8d0d4f09cfcd0831f2a1d72794"
  }
}

Response fields

FieldMeaning
data[].idID of the matching topic, as a string.
data[].typeResult type. Here it is search_result.
data[].indexPosition of the result in the list, starting at 0.
data[].highlight.titleTopic title with the matched keyword wrapped in <em> tags.
data[].highlight.descriptionTopic description with matches highlighted. It can be an empty string.
data[].object.description / data[].object.excerptShort text describing the topic. Both can be empty.
data[].object.follower_countNumber of followers of the topic. Many topics show 0.
data[].object.avatar_urlImage URL for the topic.
data[].object.aliasesList of alternative names for the topic. It is empty in this response.
paging.is_end / paging.nextis_end tells you whether more results exist. next is a URL for the next page of results.

Notes

  • Use limit and offset to page through results. Both are sent as strings, and limit defaults to 25 and offset to 0.
  • Check paging.is_end to know when to stop paging.
  • Strip the <em> tags from highlight.title if you need the plain topic name.
  • To search content instead of topics, try Zhihu Article Search or Zhihu Search Suggestions.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.005JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON
Zhihu每次呼叫 $0.001JSON

指南:Best Zhihu API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Zhihu Topic Search (V3) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Zhihu Topic Search (V3) API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Zhihu Topic Search (V3) API 接受哪些參數?

必要:keyword (string)。 選填:limit (string) 和 offset (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Zhihu Topic Search (V3) API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Zhihu 開發者帳號或 API 金鑰嗎?

不需要。Zhihu Topic Search (V3) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Zhihu API 存取權。