keywordstring必填
Search Keywords
https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3Searches Zhihu topics by keyword and returns matching topic profiles, follower metrics, and highlighted text matches with pagination support.
[
{
"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 中。
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.
follower_count across topics that match the same keyword to see which has the largest audience.<em> tags in the highlight text.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.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search Keywords |
limit | string | No | Number of topics per page |
offset | string | No | Offset |
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"
}
}
| Field | Meaning |
|---|---|
data[].id | ID of the matching topic, as a string. |
data[].type | Result type. Here it is search_result. |
data[].index | Position of the result in the list, starting at 0. |
data[].highlight.title | Topic title with the matched keyword wrapped in <em> tags. |
data[].highlight.description | Topic description with matches highlighted. It can be an empty string. |
data[].object.description / data[].object.excerpt | Short text describing the topic. Both can be empty. |
data[].object.follower_count | Number of followers of the topic. Many topics show 0. |
data[].object.avatar_url | Image URL for the topic. |
data[].object.aliases | List of alternative names for the topic. It is empty in this response. |
paging.is_end / paging.next | is_end tells you whether more results exist. next is a URL for the next page of results. |
limit and offset to page through results. Both are sent as strings, and limit defaults to 25 and offset to 0.paging.is_end to know when to stop paging.<em> tags from highlight.title if you need the plain topic name.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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 '{
"limit": "25",
"offset": "0",
"keyword": "OpenAI"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
keywordstring必填Search Keywords
limitstringNumber of topics per page
默认值:"25"
offsetstringOffset
默认值:"0"
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"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": ""
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Zhihu | $0.001 每次调用 | JSON |
Zhihu | $0.005 每次调用 | JSON |
Zhihu | $0.001 每次调用 | JSON |
Zhihu | $0.001 每次调用 | JSON |
Zhihu | $0.001 每次调用 | JSON |
Zhihu | $0.001 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。
必填:keyword (string)。 可选:limit (string) 和 offset (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Zhihu Topic Search (V3) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Zhihu API 访问权限。