# 搜索话题

按查询词搜索知乎话题。

ID: native-http:social.zhihu.topic.search · Region: cn · Status: available

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

按查询词搜索知乎话题。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.zhihu.topic.search

## POST /v1/native/social/zhihu/topics/search

native · available · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

按查询词搜索知乎话题。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "keyword": {
          "description": "搜索关键词/Search Keywords",
          "maxLength": 100,
          "minLength": 1,
          "type": "string"
        },
        "limit": {
          "anyOf": [
            {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            {
              "minimum": 1,
              "type": "integer"
            }
          ],
          "default": "25",
          "description": "每页话题数量/Number of topics per page"
        },
        "offset": {
          "anyOf": [
            {
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            {
              "minimum": 0,
              "type": "integer"
            }
          ],
          "description": "偏移量/Offset"
        },
        "page": {
          "default": 1,
          "description": "偏移量/Offset",
          "maximum": 50,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "keyword"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "keyword": "example"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "keyword": {
                  "maxLength": 100,
                  "minLength": 1,
                  "type": "string"
                },
                "limit": {
                  "anyOf": [
                    {
                      "pattern": "^[0-9]+$",
                      "type": "string"
                    },
                    {
                      "minimum": 1,
                      "type": "integer"
                    }
                  ],
                  "default": "25"
                },
                "offset": {
                  "anyOf": [
                    {
                      "pattern": "^[0-9]+$",
                      "type": "string"
                    },
                    {
                      "minimum": 0,
                      "type": "integer"
                    }
                  ]
                },
                "page": {
                  "default": 1,
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "keyword"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "ab_params": {
              "type": [
                "string",
                "null"
              ]
            },
            "data": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "highlight": {
                    "additionalProperties": true,
                    "properties": {
                      "description": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "title": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "hit_labels": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "index": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "object": {
                    "additionalProperties": true,
                    "properties": {
                      "agreed_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "ai_ranking_list_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "aliases": {
                        "items": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "type": [
                          "array",
                          "null"
                        ]
                      },
                      "attached_info_bytes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "avatar_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "description": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "excerpt": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "follower_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "followers_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "has_meta": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "introduction": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "is_following": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "liked": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "meta": {
                        "additionalProperties": true,
                        "properties": {
                          "category": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "description": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "id": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "template": {
                            "additionalProperties": true,
                            "properties": {
                              "avatar_type": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              },
                              "meta_template_type": {
                                "type": [
                                  "integer",
                                  "null"
                                ]
                              }
                            },
                            "type": [
                              "object",
                              "null"
                            ]
                          },
                          "title": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "type": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "type": [
                          "object",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "questions_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "score": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "sub_category": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "top_answer_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "topic_type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "type": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "visit_count": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "type": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "domain_info": {
              "additionalProperties": true,
              "properties": {
                "first_category": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "filter_items": {
              "description": "Observed as null; the non-null type is not established."
            },
            "hit_labels": {
              "description": "Observed as null; the non-null type is not established."
            },
            "is_brand_word": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "is_koc_words": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "paging": {
              "additionalProperties": true,
              "properties": {
                "is_end": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "next": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "pendant": {
              "description": "Observed as null; the non-null type is not established."
            },
            "related_search_result": {
              "items": {
                "description": "Observed as null; the non-null type is not established."
              },
              "type": [
                "array",
                "null"
              ]
            },
            "search_action_info": {
              "additionalProperties": true,
              "properties": {
                "attached_info_bytes": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "isfeed": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "lc_idx": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "search_hash_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "type": [
                "object",
                "null"
              ]
            },
            "sensitive_level": {
              "type": [
                "integer",
                "null"
              ]
            },
            "warning": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "message": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "ab_params": "sb_eduzhi=1;bt_member_verify=1;dm_ai_medical=1;dm_pu_sug=0;dm_pr_lc=0;bt_holdback_2025=1;dm_ai_hot_recall=0;sb_caowei_4in10=1;sb_sku_time=1;sb_ff=0;sb_slot_domain=2;sb_sku_ui=1;dm_question_limit=2;sb_sku_rel=1;dm_center_feature=1;adflow=0;dm_security=0;dm_pin_card=1;sb_story_ca=1;sb_new_guess=1;sb_domain_2025=0;dm_med_koc=1;dm_ai_card_cache=0;dm_mark=2;dm_router_rewrite=0;dm_ai_corner1=0;dm_ai_rerank=3;dm_social_boost=3;dm_search_pregen=1;dm_user_follower=1;sb_novel_member=1;sb_newreb=1;dm_realtime=5;dm_vote_score=0;dm_content_quota=3;sb_pe=0;dm_v_member_zag=2;dm_ai_hot_more=0;dm_correct=0;sb_sku_kzh=1;sb_storytag=1;dm_ai_zhiplus=1;dm_ai_model=0;dm_l2_snp=1;dm_hotvideo=1;sb_zhiedu=1;sb_cardfilter=1;sb_vip_tag=1;dm_l2_ctr_v4=0;d_new_search_h2=0;dm_l3_multi3=1;sb_kvip_xz=1;sb_slot_time=2;sb_zhiad=1;sb_cr=0;sb_xg_search=1;dm_ai_prompt=0;dm_preset_opt=1;sb_vip_xunzhi=1;sb_ecpmctcvr=1;dm_prompt_v1=0;dm_query_rewrite=2;sb_nvip_ecpm=0;bt_vertical_mem=1;dm_test=0;dm_ai_search_kl=1;dm_hot_pin=1;se_koc_list_box=1;dm_ai_search_safe=1;dm_member_py=1;dm_pre_docs=2;dm_AI_hot_recall=0;dm_l2_ab=1;dm_fine_rel=2",
      "data": [
        {
          "highlight": {
            "description": "",
            "title": "<em>猫咪</em>叫"
          },
          "hit_labels": null,
          "id": "19727967",
          "index": 0,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [
              "猫叫"
            ],
            "attached_info_bytes": "OvABCgtwbGFjZWhvbGRlchIgMTBlMTE0NWExZWYwNmVmZDc2ZTU0NWE4MmU2YjI4NDYYAiIFNTk0MDkqCDE5NzI3OTY3SgbnjKvlkqpQAFgDYAFqBueMq+WSqnAEgAHjzPzxueWWA5gBAKABAKgBALABAbgBANAB2o/p/wToAdEFgAIBuAIAigMAkgMTMjA1NTEzMjk4Mjg2OTA3NDQwMZoDAKIDCTEwMV8zXzMuMKoDAMIDDHJ1Y2VuZV90b3BpY+AEAPoEAIIFIDEwZTExNDVhMWVmMDZlZmQ3NmU1NDVhODJlNmIyODQ2igUG5YW25LuW",
            "avatar_url": "https://pic1.zhimg.com/80/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=4e949a73",
            "description": "",
            "excerpt": "",
            "follower_count": 721,
            "followers_count": 721,
            "has_meta": true,
            "id": "19727967",
            "introduction": "",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "basic",
              "description": "",
              "id": 0,
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "猫咪叫",
              "type": "metapedia"
            },
            "name": "<em>猫咪</em>叫",
            "questions_count": 6147,
            "score": 1.9999996896961845,
            "sub_category": "",
            "top_answer_count": 72053,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/19727967",
            "visit_count": 289319681
          },
          "type": "search_result"
        }
      ],
      "domain_info": {
        "first_category": "宠物"
      },
      "filter_items": null,
      "hit_labels": null,
      "is_brand_word": false,
      "is_koc_words": false,
      "paging": {
        "is_end": false,
        "next": "https://api.zhihu.com/search_v3?EXAMPLE-INTERNAL-CONTINUATION"
      },
      "pendant": null,
      "related_search_result": [],
      "search_action_info": {
        "attached_info_bytes": "OqQBEiAxMGUxMTQ1YTFlZjA2ZWZkNzZlNTQ1YTgyZTZiMjg0NkoG54yr5ZKqUABYA2ABagbnjKvlkqpwBIAB48z88bnllgOAAgG4AgCKAwCSAxMyMDU1MTMyOTgyODY5MDc0NDAxmgMAogMJMTAxXzNfMy4w4AQA+gQAggUgMTBlMTE0NWExZWYwNmVmZDc2ZTU0NWE4MmU2YjI4NDaKBQblhbbku5Y=",
        "isfeed": false,
        "lc_idx": 26,
        "search_hash_id": "10e1145a1ef06efd76e545a82e6b2846"
      },
      "sensitive_level": -1,
      "warning": ""
    },
    "message": "redacted provider response"
  },
  "meta": {
    "api_name": "social.zhihu.topic.search",
    "credits_charged": 2,
    "latency_ms": 12,
    "next_input": {
      "keyword": "猫咪",
      "offset": 25
    },
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.ab_params (string|null): 暂无字段说明
- data.data.data (array|null): 暂无字段说明
- data.data.domain_info (object|null): 暂无字段说明
- data.data.domain_info.first_category (string|null): 暂无字段说明
- data.data.filter_items (scalar): Observed as null; the non-null type is not established.
- data.data.hit_labels (scalar): Observed as null; the non-null type is not established.
- data.data.is_brand_word (boolean|null): 暂无字段说明
- data.data.is_koc_words (boolean|null): 暂无字段说明
- data.data.paging (object|null): 暂无字段说明
- data.data.paging.is_end (boolean|null): 暂无字段说明
- data.data.paging.next (string|null): 暂无字段说明
- data.data.pendant (scalar): Observed as null; the non-null type is not established.
- data.data.related_search_result (array|null): 暂无字段说明
- data.data.search_action_info (object|null): 暂无字段说明
- data.data.search_action_info.attached_info_bytes (string|null): 暂无字段说明
- data.data.search_action_info.isfeed (boolean|null): 暂无字段说明
- data.data.search_action_info.lc_idx (integer|null): 暂无字段说明
- data.data.search_action_info.search_hash_id (string|null): 暂无字段说明
- data.data.sensitive_level (integer|null): 暂无字段说明
- data.data.warning (string|null): 暂无字段说明
- data.message (string|null): 暂无字段说明
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.data[].highlight (object|null): 暂无字段说明
- data.data.data[].highlight.description (string|null): 暂无字段说明
- data.data.data[].highlight.title (string|null): 暂无字段说明
- data.data.data[].hit_labels (scalar): Observed as null; the non-null type is not established.
- data.data.data[].id (string|null): 暂无字段说明
- data.data.data[].index (integer|null): 暂无字段说明
- data.data.data[].object (object|null): 暂无字段说明
- data.data.data[].object.agreed_count (integer|null): 暂无字段说明
- data.data.data[].object.ai_ranking_list_url (string|null): 暂无字段说明
- data.data.data[].object.aliases (array|null): 暂无字段说明
- data.data.data[].object.attached_info_bytes (string|null): 暂无字段说明
- data.data.data[].object.avatar_url (string|null): 暂无字段说明
- data.data.data[].object.description (string|null): 暂无字段说明
- data.data.data[].object.excerpt (string|null): 如有则返回公开摘要。
- data.data.data[].object.follower_count (integer|null): 暂无字段说明
- data.data.data[].object.followers_count (integer|null): 关注者数。
- data.data.data[].object.has_meta (boolean|null): 暂无字段说明
- data.data.data[].object.id (string|null): 文章公开标识。
- data.data.data[].object.introduction (string|null): 如有则返回公开描述。
- data.data.data[].object.is_following (boolean|null): 暂无字段说明
- data.data.data[].object.liked (boolean|null): 暂无字段说明
- data.data.data[].object.meta (object|null): 暂无字段说明
- data.data.data[].object.meta.category (string|null): 暂无字段说明
- data.data.data[].object.meta.description (string|null): 暂无字段说明
- data.data.data[].object.meta.id (integer|null): 暂无字段说明
- data.data.data[].object.meta.template (object|null): 暂无字段说明
- data.data.data[].object.meta.template.avatar_type (integer|null): 暂无字段说明
- data.data.data[].object.meta.template.meta_template_type (integer|null): 暂无字段说明
- data.data.data[].object.meta.title (string|null): 暂无字段说明
- data.data.data[].object.meta.type (string|null): 暂无字段说明
- data.data.data[].object.name (string|null): 如有则返回公开标题。
- data.data.data[].object.questions_count (integer|null): 问题数。
- data.data.data[].object.score (number|null): 如有则返回公开评分。
- data.data.data[].object.sub_category (string|null): 暂无字段说明
- data.data.data[].object.top_answer_count (integer|null): 优质回答数。
- data.data.data[].object.topic_type (string|null): 暂无字段说明
- data.data.data[].object.type (string|null): 暂无字段说明
- data.data.data[].object.url (string|null): 暂无字段说明
- data.data.data[].object.visit_count (integer|null): 访问数。
- data.data.data[].type (string|null): 暂无字段说明
- meta.next_input.keyword (string): 暂无字段说明
- meta.next_input.limit (string|integer): 暂无字段说明
- meta.next_input.offset (string|integer): 暂无字段说明
- meta.next_input.page (integer): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

