{
  "openapi": "3.0.0",
  "info": {
    "title": "知乎关键词搜索 API (V1)",
    "version": "1.0.0",
    "description": "获取知乎关键词搜索数据，包括匹配结果、元数据和排名信号，用于话题发现和内容研究。"
  },
  "paths": {
    "/api/zhihu/search/v1": {
      "get": {
        "tags": [
          "知乎"
        ],
        "summary": "关键词搜索",
        "description": "获取知乎关键词搜索数据，包括匹配结果、元数据和排名信号，用于话题发现和内容研究。",
        "operationId": "searchV1",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "TOKEN",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "keyword",
            "in": "query",
            "description": "搜索关键词。",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "起始偏移量，从0开始。",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "default": {
            "description": "默认响应",
            "content": {
              "application/json": {
                "example": {
                  "code": 0,
                  "data": {
                    "paging": {
                      "is_end": false,
                      "next": "https://api.zhihu.com/search_v3?advert_count=0&correction=1&filter_fields=&gk_version=gz-gaokao&lc_i..."
                    },
                    "data": [
                      {
                        "type": "search_result",
                        "highlight": {
                          "description": "不能相信，现在的ai不是很靠谱，甚至有时候是很离谱的好不好。之前很多次新闻了，就是搜索出来的内容很荒唐。就是最近一次，我看到的搜索结果是“张凌赫是侯明昊的母亲”?！还有之前的，除了专业性的知识和严肃的...",
                          "title": "<em>Deepseek</em>说我写小说很有天分，能相信吗？"
                        },
                        "object": {
                          "original_id": "772386614",
                          "id": "2014453517826418057",
                          "type": "answer",
                          "excerpt": "不能相信，现在的ai不是很靠谱，甚至有时候是很离谱的好不好。之前很多次新闻了，就是搜索出来的内容很荒唐。就是最近一次，我看到的搜索结果是“张凌赫是侯明昊的母亲”?！还有之前的，除了专业性的知识和严肃的...",
                          "url": "https://api.zhihu.com/answers/2014453517826418057",
                          "voteup_count": 1,
                          "comment_count": 0,
                          "favorites_count": 0,
                          "created_time": 1773063145,
                          "updated_time": 1773063145,
                          "content": "<p data-pid=\"Z27nnJaI\">不能相信，现在的ai不是很靠谱，甚至有时候是很离谱的好不好。</p><p data-pid=\"8CKJ_nf_\">之前很多次新闻了，就是搜索出来的内容很荒...",
                          "thumbnail_info": {
                            "count": 0,
                            "thumbnails": [],
                            "type": "thumbnail_info",
                            "total_count": 0
                          },
                          "relationship": {
                            "voting": 0,
                            "is_author": false,
                            "is_thanked": false,
                            "is_nothelp": false,
                            "following_upvoter": [],
                            "following_upvoter_count": 0,
                            "following_collect": [],
                            "following_collect_count": 0,
                            "high_level_creator": [],
                            "high_level_creator_count": 0,
                            "is_following": false
                          },
                          "question": {
                            "id": "2012286308316381299",
                            "type": "question",
                            "name": "<em>Deepseek</em>说我写小说很有天分，能相信吗？",
                            "url": "https://api.zhihu.com/questions/2012286308316381299",
                            "answer_count": 0,
                            "follow_count": 0,
                            "attached_info_bytes": ""
                          },
                          "author": {
                            "id": "bd068c9a1db4daba555e8b14dbec4107",
                            "url_token": "jiu-shi-xiao-xia-57",
                            "name": "就是小夏",
                            "headline": "好像一只躺躺兽",
                            "gender": -1,
                            "is_followed": false,
                            "is_following": false,
                            "user_type": "people",
                            "url": "https://api.zhihu.com/people/bd068c9a1db4daba555e8b14dbec4107",
                            "type": "people",
                            "avatar_url": "https://picx.zhimg.com/50/v2-5796cb037aeb3c69e6b14d7f22184c41_l.jpg?source=4e949a73",
                            "badge": [],
                            "authority_info": null,
                            "voteup_count": 400,
                            "follower_count": 647,
                            "badge_v2": {
                              "title": "",
                              "merged_badges": [],
                              "detail_badges": [],
                              "icon": "",
                              "night_icon": ""
                            },
                            "badge_v2_string": "{\"title\":\"\",\"merged_badges\":[],\"detail_badges\":null,\"icon\":\"\",\"night_icon\":\"\"}",
                            "topic_bayes_map": null,
                            "topic_map": {},
                            "verify_bayes": ""
                          },
                          "is_anonymous": false,
                          "is_zhi_plus": false,
                          "is_zhi_plus_content": false,
                          "extra": "",
                          "health_tag": "",
                          "answer_type": "normal",
                          "sub_content_type": "",
                          "settings": {
                            "table_of_contents": {
                              "enabled": false
                            }
                          },
                          "attached_info_bytes": "OvkBCgtwbGFjZWhvbGRlchIgMDZiNDlmODQ0YWExNjk5MjNhMjk5YjM0NjNkY2YzOTYYBCIJNzcyMzg2NjE0KhMyMDE0NDUzNTE3...",
                          "biz_encoded_params": "sw%3Ddeepseek",
                          "answer_count": 27,
                          "visits_count": 3950,
                          "description": "<p>无论怎么问，无论重开多少次，它都把我的文章夸出花来，还在思考里一次又一次的说用户非常有天分。</p><a data-draft-node=\"block\" data-draft-type=\"lin...",
                          "title": "Deepseek说我写小说很有天分，能相信吗？",
                          "native": 0,
                          "doc_relevance_scores": null,
                          "bert_rel": 0
                        },
                        "hit_labels": null,
                        "index": 0
                      }
                    ],
                    "hit_labels": null,
                    "related_search_result": [],
                    "search_action_info": {
                      "attached_info_bytes": "OnoSIDA2YjQ5Zjg0NGFhMTY5OTIzYTI5OWIzNDYzZGNmMzk2SghkZWVwc2Vla1AAWAFgAWoIZGVlcHNlZWtwJoABlJyPk/2SkwOA...",
                      "lc_idx": 20,
                      "search_hash_id": "06b49f844aa169923a299b3463dcf396",
                      "isfeed": false
                    },
                    "is_brand_word": false,
                    "pendant": null,
                    "sensitive_level": -1,
                    "warning": "",
                    "filter_items": null,
                    "ab_params": "dm_l2_tower=0;dm_adjust_ctr=0;sb_vip_xunzhi=1;adflow=0;dm_preset_opt=1;dm_guess_pool=6;dm_integrate=...",
                    "item_in_view": [
                      {
                        "type": "user_survey",
                        "index": 5,
                        "token": "b62a7302709544129797697d76efeb6c"
                      }
                    ],
                    "domain_info": {
                      "first_category": ""
                    },
                    "is_koc_words": false,
                    "is_hit_koc_cache": false
                  }
                }
              }
            }
          }
        },
        "x-order": "28001200"
      }
    }
  },
  "components": {}
}