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
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Zhihu Keyword Search API (V1)
Prepare your request, then continue with your agent.
Selected price
$0.030769 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
ab_params?: string;
data?: Array<{
highlight?: Record<string, unknown>;
hit_labels?: null;
id?: string;
index?: number;
object?: {
attached_info_bytes?: string;
major_info?: {
avg_salary?: number;
classification?: string;
degree?: Array<string>;
discussions?: {
contents?: Array<{
has_more?: boolean;
id?: string;
items?: Array<{
highlight?: {
description?: unknown;
title?: unknown;
};
hit_labels?: null;
object?: {
answer_count?: unknown;
answer_type?: unknown;
attached_info_bytes?: unknown;
author?: unknown;
biz_encoded_params?: unknown;
comment_count?: unknown;
content?: unknown;
created_time?: unknown;
description?: unknown;
excerpt?: unknown;
extra?: unknown;
favorites_count?: unknown;
health_tag?: unknown;
id?: unknown;
is_anonymous?: unknown;
is_zhi_plus?: unknown;
is_zhi_plus_content?: unknown;
native?: unknown;
question?: unknown;
relationship?: unknown;
settings?: unknown;
sub_content_type?: unknown;
thumbnail_info?: unknown;
title?: unknown;
type?: unknown;
updated_time?: unknown;
url?: unknown;
visits_count?: unknown;
voteup_count?: unknown;
};
type?: string;
}>;
name?: string;
}>;
default_tab_id?: string;
};
genre?: Array<string>;
id?: string;
name?: string;
top_area?: string;
top_industry?: string;
top_majors?: Array<{
name?: string;
}>;
top_position?: string;
topic_id?: string;
years?: Array<string>;
};
type?: string;
};
type?: string;
}>;
domain_info?: {
first_category?: string;
};
filter_items?: null;
hit_labels?: null;
is_brand_word?: boolean;
is_koc_words?: boolean;
item_in_view?: Array<{
index?: number;
token?: string;
type?: string;
}>;
paging?: {
is_end?: boolean;
next?: string;
};
pendant?: {
ID?: number;
bottom?: number;
height?: number;
link?: string;
pic?: string;
right?: number;
token?: string;
type?: string;
width?: number;
};
related_search_result?: Array<unknown>;
search_action_info?: {
attached_info_bytes?: string;
isfeed?: boolean;
lc_idx?: number;
search_hash_id?: string;
};
sensitive_level?: number;
strategy_res_list?: Array<string>;
warning?: string;
};
message?: null;
openany_cost?: number;
recordTime?: string;
requestId?: string;
requestParams?: {
body?: null;
query?: {
keyword?: string;
};
};
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Zhihu Keyword Search API (V1) · GET · View API reference | $0.030769 / call | — | —successP50— |
- 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: 3. 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
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'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.
Sample response
Third-party response reference · Documented HTTP 200 Historical third-party reference. It may differ from the current provider response; verify the original contract before use.
{
"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": "人工智能"
}
}
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# 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.
## Available implementations
justoneapi · Zhihu Keyword Search API (V1): https://openany.si/markets/apis/capabilities/zhihu-keyword-search-api-v1?offering=660eb3f5-7754-47e1-a4da-920b77b85ab6 · $0.030769 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/zhihu-keyword-search-api-v1
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/zhihu/search/v1
Price: $0.030769 / call
Provider: justoneapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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'
```
## API contract
```json
{
"resource_type": "api",
"name": "Zhihu Keyword Search API (V1)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/zhihu/search/v1",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Search keywords.",
"location": "query",
"name": "keyword",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Start offset, begins with 0.",
"location": "query",
"maximum": "2147483647",
"minimum": "-2147483648",
"name": "offset",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Whether to show all topics.\n\nAvailable Values:\n- `FALSE`: Do not show topics.\n- `TRUE`: Show all topics.",
"enum_values": [
"FALSE",
"TRUE"
],
"location": "query",
"name": "showAllTopics",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Result type filter.\n\nAvailable Values:\n- `answer`: Answers only.\n- `article`: Articles only.\n- `zvideo`: Videos only.",
"enum_values": [
"answer",
"article",
"zvideo"
],
"location": "query",
"name": "vertical",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Sorting criteria.\n\nAvailable Values:\n- `upvoted_count`: Most upvoted.\n- `created_time`: Latest published.",
"enum_values": [
"upvoted_count",
"created_time"
],
"location": "query",
"name": "sort",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Publish time interval filter.\n\nAvailable Values:\n- `a_day`: Within one day.\n- `a_week`: Within one week.\n- `a_month`: Within one month.\n- `three_months`: Within three months.\n- `half_a_year`: Within half a year.\n- `a_year`: Within one year.",
"enum_values": [
"a_day",
"a_week",
"a_month",
"three_months",
"half_a_year",
"a_year"
],
"location": "query",
"name": "timeInterval",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "30769",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Third-party reference · OpenAny testnet verified pair (abridged)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"keyword": "人工智能"
}
},
"response_body": {
"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": "人工智能"
}
}
}
}
]
}
```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": "人工智能" } } }