OpenAny
Get API keyAPI Key
APIDataSocial Media

zhihu logo
Zhihu Keyword Search (V1) API

Get Zhihu Keyword Search (V1) data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as keyword, and retrieve structured data including business status code, identifier, returned highlight field, returned hit labels value, and returned index field for content research and account lookup, and integration reference.

Selected price
$0.030769 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Zhihu Keyword Search (V1) API

Prepare your request, then continue with your agent.

Selected price

$0.030769 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Zhihu Keyword Search (V1) API

Zhihu Keyword Search (V1) API

Search for Zhihu by keyword with optional result-type, sort, time-interval, topic-display, and offset controls. Provide keyword in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: keyword, offset, showAllTopics, vertical, sort, timeInterval
Selected implementation justoneapi · Zhihu Keyword Search API (V1)
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
code Business status code
data.data[].id Identifier
data.data[].highlight Returned highlight field
data.data[].hit_labels Returned hit labels value (nullable in the reference)
data.data[].index Returned index field
data.data[].object Returned object field
data.data[].type Returned type field
data.ab_params Returned ab params field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/zhihu/search/v1?keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a historical third-party reference and can differ from the current provider response. The request is an independent calling template.

Published Zhihu Keyword Search (V1) API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

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.

Third-party response reference

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
justoneapiCurrent
Zhihu Keyword Search API (V1) · GET · View API reference
$0.030769 / call1
100.00%successP503.38s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · justoneapiUSD / call
Unit price
$0.030769

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $3.0769

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/zhihu/search/v1
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
keywordURL query parametersquerystringYes

Search keywords.

offsetURL query parametersqueryintegerNo

Start offset, begins with 0.

minimum: -2147483648 · maximum: 2147483647

showAllTopicsURL query parametersquerystringNo

Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics.

enum: "FALSE", "TRUE"

verticalURL query parametersquerystringNo

Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only.

enum: "answer", "article", "zvideo"

sortURL query parametersquerystringNo

Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published.

enum: "upvoted_count", "created_time"

timeIntervalURL query parametersquerystringNo

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.

enum: "a_day", "a_week", "a_month", "three_months", "half_a_year", "a_year"

Required markers inside a nested object or variant apply when that object or variant is used.

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

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Third-party reference · OpenAny testnet verified pair (abridged)

Historical third-party reference. It may differ from the current provider response; verify the original contract before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 6

    Review these request fields before running. Keep the published provider and request method unchanged.

    keyword
    Search keywords.
    offset
    Start offset, begins with 0.
    showAllTopics
    Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics.
    vertical
    Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only.
    sort
    Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published.
    timeInterval
    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.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/justoneapi/api/zhihu/search/v1?keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Third-party response reference · Documented HTTP 200

    Third-party response reference
    {
      "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": "人工智能"
        }
      }
    }

Common questions

Which inputs identify this request?

Provide keyword in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

offset is integer with minimum -2147483648 and maximum 2147483647. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

Which values can I use for showAllTopics?

The selected schema accepts FALSE, TRUE. Keep the documented string type and exact spelling for this input.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Zhihu Keyword Search (V1) API with your agent

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