Zhihu Ebook Search

https://api.sandbase.ai/v1/api/zhihu/web/ebook-search-v3

Searches Zhihu for ebooks matching a query term. Returns publication details including commodity IDs, SKU IDs, and direct product links.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Search Keywords
Number of ebooks per page
Offset
Search Hash ID
OutputExample
Responseoutputs · 61.9 KB · 1,565 lines
[
  {
    "data": {
      "ab_params": "adflow=0;sb_storyai=0;sb_xg_search=1;dm_ai_hot_recall=0;dm_pre_docs=2;sb_slot_domain=2;sb_fea_0914=0;dm_ai_model=6;dm_pu_sug=0;sb_zhiedu=1;dm_ai_search_safe=1;dm_correct=0;dm_v_member_zag=2;dm_l1_rel=1;sb_slot_time=2;bt_vertical_mem=1;sb_nvip_ecpm=1;dm_ai_corner1=1;dm_l3_multi3=1;dm_ai_card_cache=0;d_new_search_h2=0;sb_zhiad=1;sb_ff=0;sb_kvip_xz=1;dm_skill_cmb=0;dm_ai_medical=1;dm_ai_rerank=3;dm_vote_score=0;dm_a1_suppress=0;bt_member_verify=1;dm_question_limit=2;dm_search_pregen=1;dm_l2_ab=1;dm_fine_rel=2;dm_member_py=1;sb_domain_2025=0;dm_ai_hot_more=0;dm_mark=2;dm_user_follower=1;sb_pe=0;bt_holdback_2025=0;dm_isocial=6;sb_paid_recency=2;sb_sku_ui=1;dm_tag_t5gemma=0;dm_ks_model=0;sb_caowei_4in10=1;dm_med_koc=1;dm_AI_hot_recall=0;dm_security=1;dm_query_rewrite=2;dm_router_rewrite=3;dm_ai_zhiplus=1;dm_center_feature=1;sb_newreb=1;sb_story_ca=1;sb_cr=1;dm_social_boost=0;sb_eduzhi=1;sb_new_guess=1;sb_cardfilter=1;sb_sku_time=1;dm_queryrewrite_r=0;dm_ks_memory=0;dm_l2_snp=1;dm_content_quota=3;se_koc_list_box=1;sb_sku_kzh=1;sb_sku_rel=1;dm_aicard_mutex=0;dm_preset_opt=1;dm_pin_card=1;dm_test=1;sb_ecpmctcvr=1;dm_realtime=5;dm_hot_pin=1;dm_l2_ctr_v4=0;dm_ai_search_kl=1;dm_pr_lc=0;dm_ai_prompt=0;sb_storytag=1;sb_vip_xunzhi=1;sb_novel_member=1;sb_vip_tag=1;dm_hotvideo=1;dm_zr_sv=0;dm_l2_snp_v2=0;dm_s_aiclarify=0",
      "data": [
        {
          "highlight": {},
          "hit_labels": null,
          "id": 674492,
          "index": 0,
          "object": {
            "ab_id_list": [
              "adflow=0",
              "sb_storyai=0",
              "sb_xg_search=1",
              "dm_ai_hot_recall=0",
              "dm_pre_docs=2",
              "sb_slot_domain=2",
              "sb_fea_0914=0",
              "dm_ai_model=6",
              "dm_pu_sug=0",
              "sb_zhiedu=1",
              "dm_ai_search_safe=1",
              "dm_correct=0",
              "dm_v_member_zag=2",
              "dm_l1_rel=1",
              "sb_slot_time=2",
              "bt_vertical_mem=1",
              "sb_nvip_ecpm=1",
              "dm_ai_corner1=1",
              "dm_l3_multi3=1",
              "dm_ai_card_cache=0",
              "d_new_search_h2=0",
              "sb_zhiad=1",
              "sb_ff=0",
              "sb_kvip_xz=1",
              "dm_skill_cmb=0",
              "dm_ai_medical=1",
              "dm_ai_rerank=3",
              "dm_vote_score=0",
              "dm_a1_suppress=0",
              "bt_member_verify=1",
              "dm_question_limit=2",
              "dm_search_pregen=1",
              "dm_l2_ab=1",
              "dm_fine_rel=2",
              "dm_member_py=1",
              "sb_domain_2025=0",
              "dm_ai_hot_more=0",
              "dm_mark=2",
              "dm_user_follower=1",
              "sb_pe=0",
              "bt_holdback_2025=0",
              "dm_isocial=6",
              "sb_paid_recency=2",
              "sb_sku_ui=1",
              "dm_tag_t5gemma=0",
              "dm_ks_model=0",
              "sb_caowei_4in10=1",
              "dm_med_koc=1",
              "dm_AI_hot_recall=0",
              "dm_security=1",
              "dm_query_rewrite=2",
              "dm_router_rewrite=3",
              "dm_ai_zhiplus=1",
              "dm_center_feature=1",
              "sb_newreb=1",
              "sb_story_ca=1",
              "sb_cr=1",
              "dm_social_boost=0",
              "sb_eduzhi=1",
              "sb_new_guess=1",
              "sb_cardfilter=1",
              "sb_sku_time=1",
              "dm_queryrewrite_r=0",
              "dm_ks_memory=0",
              "dm_l2_snp=1",
              "dm_content_quota=3",
              "se_koc_list_box=1",
              "sb_sku_kzh=1",
              "sb_sku_rel=1",
              "dm_aicard_mutex=0",
              "dm_preset_opt=1",
              "dm_pin_card=1",
              "dm_test=1",
              "sb_ecpmctcvr=1",
              "dm_realtime=5",
              "dm_hot_pin=1",
              "dm_l2_ctr_v4=0",
              "dm_ai_search_kl=1",
              "dm_pr_lc=0",
              "dm_ai_prompt=0",
              "sb_storytag=1",
              "sb_vip_xunzhi=1",
              "sb_novel_member=1",
              "sb_vip_tag=1",
              "dm_hotvideo=1",
              "dm_zr_sv=0",
              "dm_l2_snp_v2=0",
              "dm_s_aiclarify=0",
              "vp_rank_v6=1",
              "vp_sim_q_recall=0",
              "vp_sku_threshold=0",
              "vp_kmrel4090=1",
              "ed_se_box_hm=0",
              "vp_maidian=1",
              "nq_koc_card_opt=0"
            ],
            "attached_info_bytes": "OrwECgtwbGFjZWhvbGRlchIgODA3M2ZjYzUzMzQ2OWIzOTNlZGIxNmQ3Y2MxNDc4ZDEYDyIGNjc0NDkyKgkxMjA0ODA5ODFKBm9wZW5haVAAWAdgAWoGT3BlbkFJcASAAcjUw+O0pZcDmAEAoAEAqAEAsAEBwgEA2AEA4AEAgAIBsgLaAnsiY29udGVudF9pZCI6Njc0NDkyLCJjb250ZW50X3R5cGUiOiJFQm9vayIsImNvbnRlbnRfdG9rZW4iOjEyMDQ4MDk4MSwic3ViX2NvbnRlbnRfaWQiOjAsInN1Yl9jb250ZW50X3Rva2VuIjowLCJzdWJfY29udGVudF90eXBlIjoiIiwibWF0ZXJpYWxfaWQiOjE4MjMwMDAyODA4ODQ3MTE0MjYsInNrdV9pZCI6MTgyMTU2ODAyMjgzMTMxNjk5MiwiaXNfaW50ZXJ2ZW5lIjpmYWxzZSwicmVjYWxsX3Njb3JlIjowLjE1NjcwNzE2OTM3MTY1NzA3LCJyZWNhbGxfc291cmNlIjoiU09VUkNFX1NFQVJDSF9LTk4iLCJyZWNhbGxfcmFuayI6MCwiaXNfdmlwIjpmYWxzZSwiaXNfYWNyb3NzX3ZlcnRpY2FsIjpmYWxzZX24AgCKAwCSAxMyMDU1MzY1MjI5NTkzMjQzNjk2mgMAogMJMTAxXzNfMy4wqgMA4AQA+gQAggUgODA3M2ZjYzUzMzQ2OWIzOTNlZGIxNmQ3Y2MxNDc4ZDGKBQblhbbku5Y=",
            "body": {
              "authors": [
                {
                  "bio": "",
                  "icon": "",
                  "name": "雷韦春",
                  "url_token": ""
                }
              ],
              "description": "<em>OpenAI</em> API 是一个为开发者、企业和研究者打造的平台。通过这个 API,用户可以轻松地融合和应用最前沿的 AI 技术",
              "images": [
                "https://picx.zhimg.com/v2-f22e1778a7fab84b1a2b9278761879ef.jpg?source=31184dd1"
              ],
              "play_icon": "",
              "publish_at": 1727417136,
              "show_author": "",
              "show_image": "",
              "title": "<em>OpenAI</em> API 接口应用实战"
            },
            "card_type": "",
            "card_version": "1",
            "commodity_id": "120480981",
            "commodity_type": "publication",
            "footer": "",
            "header": {
              "card_title": "",
              "no_more": false
            },
            "sku_id": "1821568022831316992",
            "slave_url": "https://www.zhihu.com/kvip/sku/ebook/120480981",
            "source": "DEFAULT",
            "tab_type": "publication",
            "url": "https://www.zhihu.com/kvip/sku/ebook/120480981"
          },
          "type": "knowledge_ad"
        },
        {
          "highlight": {},
          "hit_labels": null,
          "id": 313009,
          "index": 1,
          "object": {
            "ab_id_list": [
              "adflow=0",
              "sb_storyai=0",
              "sb_xg_search=1",
              "dm_ai_hot_recall=0",
              "dm_pre_docs=2",
              "sb_slot_domain=2",
              "sb_fea_0914=0",
              "dm_ai_model=6",
              "dm_pu_sug=0",
              "sb_zhiedu=1",
              "dm_ai_search_safe=1",
              "dm_correct=0",
              "dm_v_member_zag=2",
              "dm_l1_rel=1",
              "sb_slot_time=2",
              "bt_vertical_mem=1",
              "sb_nvip_ecpm=1",
              "dm_ai_corner1=1",
              "dm_l3_multi3=1",
              "dm_ai_card_cache=0",
              "d_new_search_h2=0",
              "sb_zhiad=1",
              "sb_ff=0",
              "sb_kvip_xz=1",
              "dm_skill_cmb=0",
              "dm_ai_medical=1",
              "dm_ai_rerank=3",
              "dm_vote_score=0",
              "dm_a1_suppress=0",
              "bt_member_verify=1",
              "dm_question_limit=2",
              "dm_search_pregen=1",
              "dm_l2_ab=1",
              "dm_fine_rel=2",
              "dm_member_py=1",
              "sb_domain_2025=0",
              "dm_ai_hot_more=0",
              "dm_mark=2",
              "dm_user_follower=1",
              "sb_pe=0",
              "bt_holdback_2025=0",
              "dm_isocial=6",
              "sb_paid_recency=2",
              "sb_sku_ui=1",
              "dm_tag_t5gemma=0",
              "dm_ks_model=0",
              "sb_caowei_4in10=1",
              "dm_med_koc=1",
              "dm_AI_hot_recall=0",
              "dm_security=1",
              "dm_query_rewrite=2",
              "dm_router_rewrite=3",
              "dm_ai_zhiplus=1",
              "dm_center_feature=1",
              "sb_newreb=1",
              "sb_story_ca=1",
              "sb_cr=1",
              "dm_social_boost=0",
              "sb_eduzhi=1",
              "sb_new_guess=1",
              "sb_cardfilter=1",
              "sb_sku_time=1",
              "dm_queryrewrite_r=0",
              "dm_ks_memory=0",
              "dm_l2_snp=1",
              "dm_content_quota=3",
              "se_koc_list_box=1",
              "sb_sku_kzh=1",
              "sb_sku_rel=1",
              "dm_aicard_mutex=0",
              "dm_preset_opt=1",
              "dm_pin_card=1",
              "dm_test=1",
              "sb_ecpmctcvr=1",
              "dm_realtime=5",
              "dm_hot_pin=1",
              "dm_l2_ctr_v4=0",
              "dm_ai_search_kl=1",
              "dm_pr_lc=0",
              "dm_ai_prompt=0",
              "sb_storytag=1",
              "sb_vip_xunzhi=1",
              "sb_novel_member=1",
              "sb_vip_tag=1",
              "dm_hotvideo=1",
              "dm_zr_sv=0",
              "dm_l2_snp_v2=0",
              "dm_s_aiclarify=0",
              "vp_rank_v6=1",
              "vp_sim_q_recall=0",
              "vp_sku_threshold=0",
              "vp_kmrel4090=1",
              "ed_se_box_hm=0",
              "vp_maidian=1",
              "nq_koc_card_opt=0"
            ],
            "attached_info_bytes": "OscECgtwbGFjZWhvbGRlchIgODA3M2ZjYzUzMzQ2OWIzOTNlZGIxNmQ3Y2MxNDc4ZDEYDyIGMzEzMDA5KgkxMTk1ODI2MTVKBm9wZW5haVAAWAdgAWoGT3BlbkFJcASAAcjUw+O0pZcDmAEAoAEBqAEAsAEBwgEA2AEA4AEAgAIBsgLlAnsiY29udGVudF9pZCI6MzEzMDA5LCJjb250ZW50X3R5cGUiOiJFQm9vayIsImNvbnRlbnRfdG9rZW4iOjExOTU4MjYxNSwic3ViX2NvbnRlbnRfaWQiOjAsInN1Yl9jb250ZW50X3Rva2VuIjowLCJzdWJfY29udGVudF90eXBlIjoiIiwibWF0ZXJpYWxfaWQiOjExODQ5MTA1MzI5NTAzODQ2NDAsInNrdV9pZCI6MTA1NzAwNTA1NDk4ODUxMzI4MCwiaXNfaW50ZXJ2ZW5lIjpmYWxzZSwicmVjYWxsX3Njb3JlIjowLjAxNjQ2MTk5Njg3ODIwNjI2NCwicmVjYWxsX3NvdXJjZSI6IlNPVVJDRV9TRUFSQ0hfUkVMRVZBTkNFX0tOTiIsInJlY2FsbF9yYW5rIjoxLCJpc192aXAiOmZhbHNlLCJpc19hY3Jvc3NfdmVydGljYWwiOmZhbHNlfbgCAIoDAJIDEzIwNTUzNjUyMjk1OTMyNDM2OTaaAwCiAwkxMDFfM18zLjCqAwDgBAD6BACCBSA4MDczZmNjNTMzNDY5YjM5M2VkYjE2ZDdjYzE0NzhkMYoFBuWFtuS7lg==",
            "body": {
              "authors": [
                {
                  "bio": "",
                  "icon": "",
                  "name": "王伟",
                  "url_token": ""
                },
                {
                  "bio": "",
                  "icon": "",
                  "name": "孙冰",
                  "url_token": ""
                },
                {
                  "bio": "",
                  "icon": "",
                  "name": "刘龙",
                  "url_token": ""
                }
              ],
              "description": "本书汇集了各类基于 OpenWrt 系统的路由器、物联网、智能家居方向的技能和行业内知名企业的技术经验。本书区别于传统嵌入式系统书籍,并没有一上来介绍那些晦涩的软硬件知识,本书所介绍的内容门槛更低,更适合读者循序渐进地完成学习。书中使用更轻松的表达方式,让读者开开心心便可以完成智能路由器的开发。由于路由器大量采用了开源操作系统,哥伦比亚大学法学院教授 Eben Moglen 向路由器厂商提出了开源路由器系统部分的要求,这样,2004 年 OpenWrt 诞生了 White Russian 版,之后每一两年便发布一个新的版本。现今,OpenWrt 系统在智能路由器行业已是事实性标准,大量的芯片厂商及路由器厂商(包括小米、极路由、极企科技等知名互联网科技企业)均采用该系统作为路由器或智能家居控制中心,即使宣称没有使用 OpenWrt 的厂商,也多是在该系统基础之上进行了业务定制。OpenWrt 作为开源组织采取松散管理,很难找到一份比较系统的专业技术文档用于爱好者学习。因此 2012 年由 hoowa 发起、众多技术「大神」参与的「跟 hoowa 学智能路由」在线培训开始启航,本书所有内容均原滋原味来源于此。本书遵循「学中做,做中学」的理念,将内容分为 19 章,读者可以跟着本书内容,边学边做,终完成一个智能路由器的开发。本书主要从 OpenWrt 这个系统的角度来介绍,但书中内容不局限于路由器本身,通过阅读本书,读者可以掌握智能家居、智能玩具、工业控制等各类不同设备的玩法。本书适合计算机或电子类相关学生、从事 IT 行业的人员、智能设备或 OpenWrt 系统的发烧友、各智能设备厂商员工阅读。",
              "images": [
                "https://picx.zhimg.com/v2-18d5b06a077abc9180e1950c1efa925a.jpg?source=31184dd1"
              ],
              "play_icon": "",
              "publish_at": 1575280535,
              "show_author": "",
              "show_image": "",
              "title": "OpenWrt 智能路由系统开发"
            },
            "card_type": "",
            "card_version": "1",
            "commodity_id": "119582615",
            "commodity_type": "publication",
            "footer": "",
            "header": {
              "card_title": "",
              "no_more": false
            },
            "sku_id": "1057005054988513280",
            "slave_url": "https://www.zhihu.com/kvip/sku/ebook/119582615",
            "source": "DEFAULT",
            "tab_type": "publication",
            "url": "https://www.zhihu.com/kvip/sku/ebook/119582615"
          },
          "type": "knowledge_ad"
        },
        {
          "highlight": {},
          "hit_labels": null,

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / 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

keyword
string · required
limit
string · optional
offset
string · optional
search_hash_id
string · optional

Access

Provider
Zhihu
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/zhihu/web/ebook-search-v3
Authentication
Bearer API key

API README

Zhihu Ebook Search API

Search for ebooks and publications on Zhihu using keyword. Results support pagination using limit and offset parameters.

Use cases

  • Search for digital books and publications on Zhihu by keyword.
  • Retrieve Zhihu ebook commodity IDs and SKU IDs for catalog indexing.
  • Collect direct links to Zhihu ebook store pages.

Request

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch Keywords
limitstringNoNumber of ebooks per page
offsetstringNoOffset
search_hash_idstringNoSearch Hash ID

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "data": [
    {
      "id": 674492,
      "type": "knowledge_ad",
      "object": {
        "commodity_id": "120480981",
        "commodity_type": "publication",
        "sku_id": "1821568022831316992",
        "slave_url": "https://www.zhihu.com/kvip/sku/ebook/120480981",
        "tab_type": "publication",
        "url": "https://www.zhihu.com/kvip/sku/ebook/120480981"
      }
    }
  ]
}

Notes

  • Control pagination using the limit and offset query parameters.
  • An optional search_hash_id can be supplied to track search sessions.

Related APIs

  • Zhihu AI Search Stream: Returns streaming AI search results from Zhihu based on a query prompt.
  • 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…

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/zhihu/web/ebook-search-v3
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# 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/ebook-search-v3" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "limit": "20",
  "offset": "0",
  "keyword": "OpenAI",
  "search_hash_id": ""
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0075 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026
Zhihu$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Zhihu Ebook Search API?

Send a POST request to https://api.sandbase.ai/v1/api/zhihu/web/ebook-search-v3 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 Ebook Search API cost?

$0.0015 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 Ebook Search API accept?

Required: keyword (string). Optional: limit (string), offset (string) and search_hash_id (string). The Parameters table and the Playground on this page list every field.

What does the Zhihu Ebook Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Zhihu developer account or API key?

No. Zhihu Ebook Search 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.