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
Zhihu Keyword Search (V1) API
Prepare your request, then continue with your agent.
Selected price
$0.030769 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Zhihu Keyword Search API (V1) · GET · View API reference | $0.030769 / call | 1 | 100.00%successP503.38s |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
keyword | URL query parametersquery | string | Yes | Search keywords. |
offset | URL query parametersquery | integer | No | Start offset, begins with 0. minimum: -2147483648 · maximum: 2147483647 |
showAllTopics | URL query parametersquery | string | No | Whether to show all topics. Available Values: - `FALSE`: Do not show topics. - `TRUE`: Show all topics. enum: "FALSE", "TRUE" |
vertical | URL query parametersquery | string | No | Result type filter. Available Values: - `answer`: Answers only. - `article`: Articles only. - `zvideo`: Videos only. enum: "answer", "article", "zvideo" |
sort | URL query parametersquery | string | No | Sorting criteria. Available Values: - `upvoted_count`: Most upvoted. - `created_time`: Latest published. enum: "upvoted_count", "created_time" |
timeInterval | URL query parametersquery | string | No | 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
codeintegerdataobjectab_paramsstringdataobject[]highlightobjecthit_labelsnullidstringindexintegerobjectobjectattached_info_bytesstringmajor_infoobjectavg_salaryintegerclassificationstringdegreestring[]discussionsobjectcontentsobject[]has_morebooleanidstringitemsobject[]highlightobjectdescriptionunknowntitleunknown
hit_labelsnullobjectobjectanswer_countunknownanswer_typeunknownattached_info_bytesunknownauthorunknownbiz_encoded_paramsunknowncomment_countunknowncontentunknowncreated_timeunknowndescriptionunknownexcerptunknownextraunknownfavorites_countunknownhealth_tagunknownidunknownis_anonymousunknownis_zhi_plusunknownis_zhi_plus_contentunknownnativeunknownquestionunknownrelationshipunknownsettingsunknownsub_content_typeunknownthumbnail_infounknowntitleunknowntypeunknownupdated_timeunknownurlunknownvisits_countunknownvoteup_countunknown
typestring
namestring
default_tab_idstring
genrestring[]idstringnamestringtop_areastringtop_industrystringtop_majorsobject[]namestring
top_positionstringtopic_idstringyearsstring[]
typestring
typestring
domain_infoobjectfirst_categorystring
filter_itemsnullhit_labelsnullis_brand_wordbooleanis_koc_wordsbooleanitem_in_viewobject[]indexintegertokenstringtypestring
pagingobjectis_endbooleannextstring
pendantobjectIDintegerbottomintegerheightintegerlinkstringpicstringrightintegertokenstringtypestringwidthinteger
related_search_resultunknown[]search_action_infoobjectattached_info_bytesstringisfeedbooleanlc_idxintegersearch_hash_idstring
sensitive_levelintegerstrategy_res_liststring[]warningstring
messagenullopenany_costintegerrecordTimestringrequestIdstringrequestParamsobjectbodynullqueryobjectkeywordstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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'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": "人工智能" } } }