Zhihu AI Search Stream
https://api.sandbase.ai/v1/api/zhihu/web/ai-search-streamReturns streaming AI search results from Zhihu based on a query prompt. Supports conversational multi-turn sessions and chat modes.
- Price
- $0.0075USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 2 optional
Try the model
Playground
[
{
"data": {
"events": [
{
"data": {
"ai_attached_info": "ogNvEhM3NjkwOTYzNDk3MzY0NTA1NzU2GJgBIhM3NjkwOTYzNDk3MzY0NDgzMDgxKhM3NjkwOTYzNDk3MzY0NDgzMDgxSgR0ZXN0oAEAsAFi4gIIQUlBbnN3ZXKCBRMzNzU1MzUzMjcwMjA0MjM0MTk1",
"message_id": "7690963497364483081",
"parent_message_id": "7690963497364505756",
"session_id": "3755353270204234195"
},
"event": "Init",
"system_meta": {
"flush_time": 1790691981431,
"flush_time_format": "22:26:21.431",
"trace_id": "9f7d1847-a9cc-42a7-a997-c23409897627"
}
},
{
"data": [
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNnEhM3NjkwOTYzNDk3MzY0NTA1NzU2GAciCTI2OTEwMjk2MyoTMTk5NTQ1NDk2OTA0MjczNjAzOUoEdGVzdKABALABYuICC0Nvcm5lckNhcmRzggUTMzc1NTM1MzI3MDIwNDIzNDE5NQ==",
"attached_info": "kgIXEhMxOTk1NDU0OTY5MDQyNzM2MDM5GAc=",
"cite_metric": [
{
"data": "https://picx.zhimg.com/v2-401055fa686fcbf84732d41750739bcc_l.jpg?source=ec1c8e88",
"type": "avatar"
},
{
"data": "但问智能",
"type": "text"
}
],
"content_abstract": "[视频] 内容很长,收藏起来,未来可能用得上哦🎭 Playwright Test Agents:AI驱动的UI自动化让AI成为你的测试工程师,自动规划、生成和修复测试用例 📖 目录1. 引言:测试自动化的新纪元2. 什么是 Playwright Test Agents?3. 三大核心Agent详解4. 快速上手指南5. 实战案例:TodoMVC应用测试6. 高级应用场景7. 最佳实践与技巧🚀 引言:测试自动化的新纪元 Playwright Test Agents 将 AI Agent 技术与 Playwright 测试框架深度融合…",
"content_type": "article",
"content_url_token": "1995454969042736039",
"image": "https://pica.zhimg.com/v2-573e14dd64967693a9931e9a91494b69.jpg?source=7e7ef6e2&needBackground=1",
"images": [
"https://pica.zhimg.com/v2-573e14dd64967693a9931e9a91494b69.jpg?source=7e7ef6e2&needBackground=1",
"https://pica.zhimg.com/v2-4724250e9cd60bb144fd961aa6839a61.jpg?source=7e7ef6e2&needBackground=1"
],
"is_out_link": true,
"labels": [
{
"data": {
"author_metrics": "73 关注 · 98 赞同",
"avatar_url": "https://picx.zhimg.com/v2-401055fa686fcbf84732d41750739bcc_l.jpg?source=ec1c8e88",
"badge_info": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"content_count": 0,
"follower_count": 73,
"headline": "大模型落地企业应用|性能测试|测试开发|测试架构师|自动化",
"id": "801029f98b5689124cefebb617de5ad6",
"is_anonymous": false,
"is_followed": false,
"is_following": false,
"name": "但问智能",
"url": "https://www.zhihu.com/people/801029f98b5689124cefebb617de5ad6",
"url_token": "20-38-53-61-24",
"user_type": "Normal"
},
"type": "author"
}
],
"recall_content_id": "MjY5MTAyOTYzfDp8QVJUSUNMRQ==",
"recall_source": "ARTICLE",
"title": "Playwright Test Agents 实践(附源码)",
"url": "https://zhuanlan.zhihu.com/p/1995454969042736039"
},
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNdEhM3NjkwOTYzNDk3MzY0NTA1NzU2GAciCTIyMzY0NzQzNCoJNjA5ODE5NTU3SgR0ZXN0oAEAsAFi4gILQ29ybmVyQ2FyZHOCBRMzNzU1MzUzMjcwMjA0MjM0MTk1",
"attached_info": "kgINEgk2MDk4MTk1NTcYBw==",
"cite_metric": [
{
"data": "https://picx.zhimg.com/v2-7699cc8180d1c0f25f6a823351c80b1c_l.jpg?source=ec1c8e88",
"type": "avatar"
},
{
"data": "茄斯教你学渗透",
"type": "text"
}
],
"content_abstract": "这个站有点特殊,感觉像是刚运营不久的样子。 0X01 测试 找到了后台 [图片] 肯定是弱口令先测试的,基本上有登陆功能都这样。 [图片] 从返回包的信息就可以看出来,这里是有sql注入的,直接sqlmap梭哈,找到了一些信息,权限很低,无法做更多事情。 current-user: developer@% select @@BASEDIR: '/usr/' select USER(): '[email protected]' select DATABASE(): 'edc' select SYSTEM_USER(): '[email protected]' select @@CHARACTER_SET…",
"content_type": "article",
"content_url_token": "609819557",
"image": "https://pic1.zhimg.com/v2-c2e0cf1d9f1bbde533abbafc7c89eb37.png?source=7e7ef6e2&needBackground=1",
"images": [
"https://pic1.zhimg.com/v2-c2e0cf1d9f1bbde533abbafc7c89eb37.png?source=7e7ef6e2&needBackground=1",
"https://pic1.zhimg.com/v2-5f1d47f73f8ab2237b96607b52a66057.png?source=7e7ef6e2&needBackground=1",
"https://picx.zhimg.com/v2-687724ec8d54590e8a30f5c43652ef43.png?source=7e7ef6e2&needBackground=1",
"https://pica.zhimg.com/v2-bcd52e0993caf0919a5a090ee19ec324.png?source=7e7ef6e2&needBackground=1",
"https://picx.zhimg.com/v2-a2310aade4ad67847466b089984d7b32.png?source=7e7ef6e2&needBackground=1"
],
"is_out_link": true,
"labels": [
{
"data": {
"author_metrics": "835 关注 · 990 赞同",
"avatar_url": "https://picx.zhimg.com/v2-7699cc8180d1c0f25f6a823351c80b1c_l.jpg?source=ec1c8e88",
"badge_info": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"content_count": 0,
"follower_count": 835,
"headline": "vx公众号:茄斯教你学渗透 | 专业网络安全培训",
"id": "163980fc6aef0e85ac6e7c945663fa19",
"is_anonymous": false,
"is_followed": false,
"is_following": false,
"name": "茄斯教你学渗透",
"url": "https://www.zhihu.com/people/163980fc6aef0e85ac6e7c945663fa19",
"url_token": "tao-bu-chi-de-xin-cheng",
"user_type": "Normal"
},
"type": "author"
}
],
"recall_content_id": "MjIzNjQ3NDM0fDp8QVJUSUNMRQ==",
"recall_source": "ARTICLE",
"title": "再对某赌博网站的一个小小小小的Test",
"url": "https://zhuanlan.zhihu.com/p/609819557"
},
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNdEhM3NjkwOTYzNDk3MzY0NTA1NzU2GAciCTIyMjY5MzcwNCoJNjA1NTI5MjQ1SgR0ZXN0oAEAsAFi4gILQ29ybmVyQ2FyZHOCBRMzNzU1MzUzMjcwMjA0MjM0MTk1",
"attached_info": "kgINEgk2MDU1MjkyNDUYBw==",
"cite_metric": [
{
"data": "https://picx.zhimg.com/v2-7699cc8180d1c0f25f6a823351c80b1c_l.jpg?source=ec1c8e88",
"type": "avatar"
},
{
"data": "茄斯教你学渗透",
"type": "text"
}
],
"content_abstract": "闲来无事,渗透测试!0X01 我与网赌不共戴天今天接了一个小小项目,一个棋牌网站 [图片] 简单尝试一下,提示用户名或密码错误 [图片] 没事,这里验证码都没有的,直接弱口令爆破,可惜失败了。 [图片] 这个时候呢,只能测试登录框是否有其他的漏洞了。先加个引号试试水,报错了,有希望! [图片] 再构造一个万能密码语句,没用? [图片] 再来个空格,将语句进行隔离开,区别产生,确定存在sql漏洞了! [图片] 0X02 工具梭哈有sql漏洞,二话不说就是sqlmap一把梭! [图片] 结果显示…",
"content_type": "article",
"content_url_token": "605529245",
"image": "https://picx.zhimg.com/v2-7cc355948c6bd457eaa0bf3cc861f6bf.png?source=7e7ef6e2&needBackground=1",
"images": [
"https://picx.zhimg.com/v2-7cc355948c6bd457eaa0bf3cc861f6bf.png?source=7e7ef6e2&needBackground=1",
"https://picx.zhimg.com/v2-7b5fa1a3a8967fddc9effc8d730a81bf.png?source=7e7ef6e2&needBackground=1",
"https://pic1.zhimg.com/v2-fed16fe81f0a3aa098571db7b4a33f81.png?source=7e7ef6e2&needBackground=1",
"https://picx.zhimg.com/v2-bf7cb49e703bf703c4198c454827f277.png?source=7e7ef6e2&needBackground=1",
"https://pic1.zhimg.com/v2-078224b6136926169c7176f456ed91a6.png?source=7e7ef6e2&needBackground=1"
],
"is_out_link": true,
"labels": [
{
"data": {
"author_metrics": "835 关注 · 990 赞同",
"avatar_url": "https://picx.zhimg.com/v2-7699cc8180d1c0f25f6a823351c80b1c_l.jpg?source=ec1c8e88",
"badge_info": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"content_count": 0,
"follower_count": 835,
"headline": "vx公众号:茄斯教你学渗透 | 专业网络安全培训",
"id": "163980fc6aef0e85ac6e7c945663fa19",
"is_anonymous": false,
"is_followed": false,
"is_following": false,
"name": "茄斯教你学渗透",
"url": "https://www.zhihu.com/people/163980fc6aef0e85ac6e7c945663fa19",
"url_token": "tao-bu-chi-de-xin-cheng",
"user_type": "Normal"
},
"type": "author"
}
],
"recall_content_id": "MjIyNjkzNzA0fDp8QVJUSUNMRQ==",
"recall_source": "ARTICLE",
"title": "对某赌博网站的一个小小小小的Test",
"url": "https://zhuanlan.zhihu.com/p/605529245"
},
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNeEhM3NjkwOTYzNDk3MzY0NTA1NzU2GAQiCTIyMTQwNjgyMyoKMTA1MjM3NTc0M0oEdGVzdKABALABYuICC0Nvcm5lckNhcmRzggUTMzc1NTM1MzI3MDIwNDIzNDE5NQ==",
"attached_info": "kgIOEgoxMDUyMzc1NzQzGAQ=",
"cite_metric": [
{
"data": "https://picx.zhimg.com/v2-469d64e9f2793ede4e0458e22a71cdcd_l.jpg?source=ec1c8e88",
"type": "avatar"
},
{
"data": "EricZhou",
"type": "text"
}
],
"content_abstract": "说限流的回答并没有确切证据,还有一种说法是来源于某些人的恶意钓鱼行为,发出 “ 隐藏功能:发送/test可以概率触发” 的这样几条弹幕,来引诱观众发送无意义弹幕,又因为弹幕池的弹幕数量有限,新弹幕会替代掉旧弹幕,以至于后来整个视频都会是/test 的无意义评论 参考社会学实验:https://h.bilibili.com/40524768 示例视频: https://www.bilibili.com/video/av75572775",
"content_type": "answer",
"content_url_token": "1052375743",
"is_out_link": true,
"labels": [
{
"data": {
"author_metrics": "11 关注 · 341 赞同",
"avatar_url": "https://picx.zhimg.com/v2-469d64e9f2793ede4e0458e22a71cdcd_l.jpg?source=ec1c8e88",
"badge_info": {
"detail_badges": [],
"icon": "",
"merged_badges": [],
"night_icon": "",
"title": ""
},
"content_count": 0,
"follower_count": 11,
"id": "c308de25eb155fed76070a220a3b40b3",
"is_anonymous": false,
"is_followed": false,
"is_following": false,
"name": "EricZhou",
"url": "https://www.zhihu.com/people/c308de25eb155fed76070a220a3b40b3",
"url_token": "ericzhou-32-40",
"user_type": "Normal"
},
"type": "author"
}
],
"recall_content_id": "MjIxNDA2ODIzfDp8QU5TV0VS",
"recall_source": "ANSWER",
"title": "B站的/test是什么梗?",
"url": "https://www.zhihu.com/answer/1052375743"
},
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNFEhM3NjkwOTYzNDk3MzY0NTA1NzU2SgR0ZXN0oAEAsAFi4gILQ29ybmVyQ2FyZHOCBRMzNzU1MzUzMjcwMjA0MjM0MTk1",
"attached_info": "kgIGEgEwGI4B",
"cite_metric": [
{
"data": "allSources",
"type": "svg"
},
{
"data": "剑桥词典",
"type": "text"
}
],
"content_abstract": "test\nDefinition of test – Learner’s Dictionary\ntest\nnoun [ C ]\nuk\n/ test/\nus\ntest noun [C] (EXA",
"is_out_link": true,
"labels": [
{
"data": "https://pic1.zhimg.com/80/v2-e10f27049f48b0652a69d8a355074af8_1440w.png",
"type": "image"
},
{
"data": "剑桥词典",
"type": "text"
}
],
"recall_content_id": "aHR0cHM6Ly9kaWN0aW9uYXJ5LmNhbWJyaWRnZS5vcmcvdXMvZGljdGlvbmFyeS9sZWFybmVyLWVuZ2xpc2gvdGVzdHw6fFVOSVZFUlNBTF9PRkZTSVRF",
"title": "Definition of test – Learner’s Dictionary",
"url": "https://dictionary.cambridge.org/us/dictionary/learner-english/test"
},
{
"access_status": "ACCESSIBLE",
"ai_attached_info": "ogNFEhM3NjkwOTYzNDk3MzY0NTA1NzU2SgR0ZXN0oAEAsAFi4gILQ29ybmVyQ2FyZHOCBRMzNzU1MzUzMjcwMjA0MjM0MTk1",
"attached_info": "kgIGEgEwGI4B",
"cite_metric": [
{
"data": "allSources",
"type": "svg"
},
{
"data": "docs.python.org:",
"type": "text"
}
],
"content_abstract": " between releases of\nPython.\nThe test package contains all regression tests for Python as well as th",
"is_out_link": true,
"labels": [
{
"data": "https://picx.zhimg.com/80/v2-2d496e3dec38d47352d2104253c96195_1440w.png",
"type": "image"
},
{
"data": "docs.python.org:",
"type": "text"
}
],
"recall_content_id": "aHR0cHM6Ly9kb2NzLnB5dGhvbi5vcmc6L2xpYnJhcnkvdGVzdC5odG1sfDp8VU5JVkVSU0FMX09GRlNJVEU=",
"title": "test — Regression tests package for Python — Python 3.14.7 documentation",
"url": "https://docs.python.org:/library/test.html"
},Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0075 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- message_content
- string · required
- chat_mode
- string · optional
- session_id
- string · optional
Access
- Provider
- Zhihu
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/zhihu/web/ai-search-stream
- Authentication
- Bearer API key
API README
Zhihu AI Search Stream API
Query Zhihu AI search stream by passing message_content. Optionally supply session_id for multi-turn conversations and specify chat_mode.
Use cases
- Retrieve AI-synthesized answers from Zhihu content.
- Maintain multi-turn AI search dialogs using session identifiers.
- Stream Zhihu search output in fast or alternative chat modes.
Request
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/ai-search-stream" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message_content": "<message_content>"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
message_content | string | Yes | Search Content |
chat_mode | string | No | Chat mode, default FAST |
session_id | string | No | Session ID for multi-turn |
Notes
message_contentis required to provide the search text.session_idenables multi-turn conversation tracking.chat_modedefaults to FAST if omitted.
Related APIs
- Zhihu Answer Details: Retrieves detailed information for a specific Zhihu answer using its numeric ID, including answer text, timestamps, and share links.
- Zhihu Article Search: Search Zhihu articles and answers by keyword and get titles, excerpts, authors, vote and comment counts, with sorting, content type and time filters plus offse…
- Zhihu Column Article Detail: Returns detailed information and metadata for a specific Zhihu column article, including author profile details, using a provided article ID.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/zhihu/web/ai-search-stream" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"message_content": "test"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Zhihu AI Search StreamThis API Zhihu | $0.0075 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Zhihu | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Zhihu AI Search Stream API?
Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/ai-search-stream with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Zhihu AI Search Stream API cost?
$0.0075 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Zhihu AI Search Stream API accept?
Required: message_content (string). Optional: chat_mode (string) and session_id (string). The Parameters table and the Playground on this page list every field.
What does the Zhihu AI Search Stream API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a Zhihu developer account or API key?
No. Zhihu AI Search Stream runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Zhihu API access separately.
