Zhihu Keyword Search API (V1)

Search for Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls. Supply a keyword. Sample fields include links and token information. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists showAllTopics. Use the results to organize a research workflow and cross-check the relevant source records.

Selected price
$0.030769 / callPublished pricing
Providers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Search keywords.
Optional parameters (5)
Start offset, begins with 0.
Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics.
Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only.
Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published.
Publish time interval filter. Available Values: - `a_day`: Within one day. - `a_week`: Within one week. - `a_month`: Within one month. - `three_months`: Within three months. - `half_a_year`: Within half a year. - `a_year`: Within one year.

Sample response

{
  "code": 0,
  "data": {
    "ab_params": "dm_ai_product=0;dm_ai_hot_ui=0;dm_sim_cache=0;dm_mix_ctr=0;sb_new_guess=1;dm_content_quota=3;dm_tag_t5gemma=1;sb_sku_ui=1;dm_ai_search_kl=1;dm_ai_medical=1;sb_vip_xunzhi=1;bt_member_verify=1;dm_ai_corner1=0;dm_user_follower=1;dm_l3_ctr=0;dm_l2_ab=1;dm_preset_opt=1;dm_social_boost=3;sb_newreb=1;sb_storytag=1;dm_aicard_mutex=1;dm_recency_ab=0;dm_recency_ab_tes=0;dm_v_member_zag=2;dm_test=1;sb_kvip_xz=1;sb_vip_tag=1;sb_ff=0;dm_l3_ple_exp=1;dm_med_koc=1;dm_pin_card=1;dm_mark=2;se_koc_list_box=1;sb_slot_domain=2;sb_nvip_ecpm=1;bt_vertical_mem=1;dm_pre_docs=2;dm_mix_feature=0;sb_sku_rel=1;sb_fea_0914=0;bt_holdback_2025=0;dm_router_rewrite=3;dm_correct_koc=1;dm_social_v2=0;dm_ai_hot_recall=0;dm_story_re=0;sb_cr=1;sb_zhiedu=1;dm_ai_hot_more=0;dm_question_limit=2;dm_ai_zhiplus=1;dm_chat_persona=0;dm_isocial=6;d_new_search_h2=0;dm_zr_sv=1;dm_hot_pin=1;sb_slot_time=2;sb_sku_kzh=1;dm_realtime=5;dm_correct=1;dm_paid_recency=2;dm_l1_rel=1;adflow=0;sb_koc_dht=0;sb_eduzhi=1;sb_cardfilter=1;dm_follow_boost=0;dm_hotvideo=1;dm_query_rewrite=2;dm_center_feature=1;dm_ai_prompt=1;dm_k_domain=1;sb_sku_time=1;sb_zhiad=1;dm_search_pregen=1;dm_l3_multi3=1;dm_a1_abc=0;dm_km_story=0;dm_pu_sug=0;sb_pe=0;dm_fine_rel=2;dm_ai_rerank=3;dm_ai_model=0;dm_ai_card_cache=0;dm_AI_hot_recall=0;dm_security=1;sb_caowei_4in10=1;sb_xg_search=1;sb_storyai=2;sb_domain_2025=0;dm_member_py=1;dm_related_q=0;dm_l2_snp=1;dm_ai_search_safe=1;dm_a1_suppress=0;sb_story_ca=1;sb_novel_member=1;sb_ecpmctcvr=1;dm_s_aiclarify=0",
    "data": [
      {
        "highlight": {},
        "hit_labels": null,
        "id": "0ea2cc3a-3048-402e-a710-5ab9e5fae076",
        "index": 0,
        "object": {
          "attached_info_bytes": "Os0BEiBjNGQxZWVhYjE0OTcxMDdkZjEwZWYxMWIyMGMxNGE3NBh6Sgzkurrlt6Xmmbrog71QAFgBYAFqDOS6uuW3peaZuuiDvXAEgAHE7prEtvOXA6ABAKgBALABM4ACAbgCAOICDGdhb2thb19tYWpvcooDAJIDEzIwOTYzOTY2Mjg5MjQwNDM0NziaAwCiAwkxMDFfM18zLjCIBAHgBAD6BACCBSBjNGQxZWVhYjE0OTcxMDdkZjEwZWYxMWIyMGMxNGE3NIoFBuWFtuS7lg==",
          "major_info": {
            "avg_salary": 0,
            "classification": "工学",
            "degree": [
              "工学学士"
            ],
            "discussions": {
              "contents": [
                {
                  "has_more": false,
                  "id": "experience",
                  "items": [
                    {
                      "highlight": {
                        "description": "985及以上可以去,这是一个赢者通吃很看能力的专业。985以下慎重,一堆线性代数都教不清楚的学校,开设了一堆名叫“<em>人工智能</em>”的专业罢了。",
                        "title": "<em>人工智能</em>专业前景怎么样?"
                      },
                      "hit_labels": null,
                      "object": {
                        "answer_count": 43,
                        "answer_type": "normal",
                        "attached_info_bytes": "OpkCCgtwbGFjZWhvbGRlchIgYzRkMWVlYWIxNDk3MTA3ZGYxMGVmMTFiMjBjMTRhNzQYBCIJNzY0MzUzNjAyKhMxOTkyMTY3MDIxOTg3Nzg3NDM5Mgg1NTMzMjY4NjoJNDE4NzQ3MjU4Sgzkurrlt6Xmmbrog71QAFgBYAFqDOS6uuW3peaZuuiDvXAEgAHE7prEtvOXA5gBAKABAKgBALABM9AB/u/2ygbYARLgAQSAAgG4AgCKAwCSAxMyMDk2Mzk2NjI4OTI0MDQzNDc4mgMAogMJMTAxXzNfMy4wqgMAiAQB3QQAAAAA4AQA+gQAggUgYzRkMWVlYWIxNDk3MTA3ZGYxMGVmMTFiMjBjMTRhNzSKBQblhbbku5Y=",
                        "author": {
                          "authority_info": null,
                          "avatar_url": "https://picx.zhimg.com/50/v2-687e9d0a8ef814155e9c326283d50b68_l.jpg?source=4e949a73",
                          "badge": [],
                          "badge_v2": {
                            "detail_badges": [],
                            "icon": "",
                            "merged_badges": [],
                            "night_icon": "",
                            "title": ""
                          },
                          "badge_v2_string": "{\"title\":\"\",\"merged_badges\":[],\"detail_badges\":null,\"icon\":\"\",\"night_icon\":\"\"}",
                          "follower_count": 5,
                          "gender": 1,
                          "headline": "万物有灵。",
                          "id": "e5fdb141b2286fc6cd9a95ac7f44c693",
                          "is_followed": false,
                          "is_following": false,
                          "name": "Jerome",
                          "topic_bayes_map": null,
                          "topic_map": {},
                          "type": "people",
                          "url": "https://api.zhihu.com/people/e5fdb141b2286fc6cd9a95ac7f44c693",
                          "url_token": "jie-li-90",
                          "user_type": "people",
                          "verify_bayes": "",
                          "voteup_count": 21
                        },
                        "biz_encoded_params": "sw%3D%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD",
                        "comment_count": 4,
                        "content": "<p data-pid=\"12yf8I3e\">985及以上可以去,这是一个赢者通吃很看能力的专业。985以下慎重,一堆线性代数都教不清楚的学校,开设了一堆名叫“人工智能”的专业罢了。</p>",
                        "created_time": 1767749630,
                        "description": "",
                        "excerpt": "985及以上可以去,这是一个赢者通吃很看能力的专业。985以下慎重,一堆线性代数都教不清楚的学校,开设了一堆名叫“<em>人工智能</em>”的专业罢了。",
                        "extra": "",
                        "favorites_count": 9,
                        "health_tag": "",
                        "id": "1992167021987787439",
                        "is_anonymous": false,
                        "is_zhi_plus": false,
                        "is_zhi_plus_content": false,
                        "native": 0,
                        "question": {
                          "answer_count": 0,
                          "attached_info_bytes": "",
                          "follow_count": 0,
                          "id": "418747258",
                          "name": "<em>人工智能</em>专业前景怎么样?",
                          "type": "question",
                          "url": "https://api.zhihu.com/questions/418747258"
                        },
                        "relationship": {
                          "following_collect": [],
                          "following_collect_count": 0,
                          "following_upvoter": [],
                          "following_upvoter_count": 0,
                          "high_level_creator": [],
                          "high_level_creator_count": 0,
                          "is_author": false,
                          "is_following": false,
                          "is_nothelp": false,
                          "is_thanked": false,
                          "voting": 0
                        },
                        "settings": {
                          "table_of_contents": {
                            "enabled": false
                          }
                        },
                        "sub_content_type": "",
                        "thumbnail_info": {
                          "count": 0,
                          "thumbnails": [],
                          "total_count": 0,
                          "type": "thumbnail_info"
                        },
                        "title": "人工智能专业前景怎么样?",
                        "type": "answer",
                        "updated_time": 1767749680,
                        "url": "https://api.zhihu.com/answers/1992167021987787439",
                        "visits_count": 331924,
                        "voteup_count": 18
                      },
                      "type": "search_result"
                    }
                  ],
                  "name": "就读体验"
                }
              ],
              "default_tab_id": "experience"
            },
            "genre": [
              "本科"
            ],
            "id": "0ea2cc3a-3048-402e-a710-5ab9e5fae076",
            "name": "<em>人工智能</em>",
            "top_area": "",
            "top_industry": "",
            "top_majors": [
              {
                "name": "一门计算机语言(Java/C++/Python 之类)和算法"
              }
            ],
            "top_position": "",
            "topic_id": "21299918",
            "years": [
              "四年"
            ]
          },
          "type": "major"
        },
        "type": "gaokao"
      }
    ],
    "domain_info": {
      "first_category": "科技"
    },
    "filter_items": null,
    "hit_labels": null,
    "is_brand_word": false,
    "is_koc_words": false,
    "item_in_view": [
      {
        "index": 5,
        "token": "[REDACTED]",
        "type": "user_survey"
      }
    ],
    "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=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD&search_hash_id=c4d1eeab1497107df10ef11b20c14a74&search_source=Normal&show_all_topics=0&sort=&t=general&time_interval=&vertical=&vertical_info=0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C2%2C0%2C0"
    },
    "pendant": {
      "ID": 80,
      "bottom": 80,
      "height": 100,
      "link": "https://curiosity.event.zhihu.com/page/",
      "pic": "https://pic1.zhimg.com/v2-ffaa528b5f87740cc69b4b44bf8a2cf1.png",
      "right": 0,
      "token": "[REDACTED]",
      "type": "custom",
      "width": 100
    },
    "related_search_result": [],
    "search_action_info": {
      "attached_info_bytes": "OrABEiBjNGQxZWVhYjE0OTcxMDdkZjEwZWYxMWIyMGMxNGE3NEoM5Lq65bel5pm66IO9UABYAWABagzkurrlt6Xmmbrog71wBIABxO6axLbzlwOAAgG4AgCKAwCSAxMyMDk2Mzk2NjI4OTI0MDQzNDc4mgMAogMJMTAxXzNfMy4w4AQA+gQAggUgYzRkMWVlYWIxNDk3MTA3ZGYxMGVmMTFiMjBjMTRhNzSKBQblhbbku5Y=",
      "isfeed": false,
      "lc_idx": 20,
      "search_hash_id": "c4d1eeab1497107df10ef11b20c14a74"
    },
    "sensitive_level": -1,
    "strategy_res_list": [
      "ac_ai_card"
    ],
    "warning": ""
  },
  "message": null,
  "openany_cost": 30769,
  "recordTime": "2026-11-06T21:15:41.05365108",
  "requestId": "6bef38115ec34ed0907232ebeb9c834f",
  "requestParams": {
    "body": null,
    "query": {
      "keyword": "人工智能"
    }
  }
}

Response result

Response structure

Inferred from examples
  • codeinteger
  • dataobject
    • ab_paramsstring
    • dataobject[]
      • highlightobject
      • hit_labelsnull
      • idstring
      • indexinteger
      • objectobject
        • attached_info_bytesstring
        • major_infoobject
          • avg_salaryinteger
          • classificationstring
          • degreestring[]
          • discussionsobject
            • contentsobject[]
              • has_moreboolean
              • idstring
              • itemsobject[]
                • highlightobject
                  • descriptionunknown
                  • titleunknown
                • hit_labelsnull
                • objectobject
                  • answer_countunknown
                  • answer_typeunknown
                  • attached_info_bytesunknown
                  • authorunknown
                  • biz_encoded_paramsunknown
                  • comment_countunknown
                  • contentunknown
                  • created_timeunknown
                  • descriptionunknown
                  • excerptunknown
                  • extraunknown
                  • favorites_countunknown
                  • health_tagunknown
                  • idunknown
                  • is_anonymousunknown
                  • is_zhi_plusunknown
                  • is_zhi_plus_contentunknown
                  • nativeunknown
                  • questionunknown
                  • relationshipunknown
                  • settingsunknown
                  • sub_content_typeunknown
                  • thumbnail_infounknown
                  • titleunknown
                  • typeunknown
                  • updated_timeunknown
                  • urlunknown
                  • visits_countunknown
                  • voteup_countunknown
                • typestring
              • namestring
            • default_tab_idstring
          • genrestring[]
          • idstring
          • namestring
          • top_areastring
          • top_industrystring
          • top_majorsobject[]
            • namestring
          • top_positionstring
          • topic_idstring
          • yearsstring[]
        • typestring
      • typestring
    • domain_infoobject
      • first_categorystring
    • filter_itemsnull
    • hit_labelsnull
    • is_brand_wordboolean
    • is_koc_wordsboolean
    • item_in_viewobject[]
      • indexinteger
      • tokenstring
      • typestring
    • pagingobject
      • is_endboolean
      • nextstring
    • pendantobject
      • IDinteger
      • bottominteger
      • heightinteger
      • linkstring
      • picstring
      • rightinteger
      • tokenstring
      • typestring
      • widthinteger
    • related_search_resultunknown[]
    • search_action_infoobject
      • attached_info_bytesstring
      • isfeedboolean
      • lc_idxinteger
      • search_hash_idstring
    • sensitive_levelinteger
    • strategy_res_liststring[]
    • warningstring
  • messagenull
  • openany_costinteger
  • recordTimestring
  • requestIdstring
  • requestParamsobject
    • bodynull
    • queryobject
      • keywordstring

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Zhihu Keyword Search API (V1) with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.