Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Zhihu Topic Search (V3)

Docs API
https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3

Searches Zhihu topics by keyword and returns matching topic profiles, follower metrics, and highlighted text matches with pagination support.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 2 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
Search Keywords
Number of topics per page
Offset
SortieExemple
Réponseoutputs · 7.7 KB · 183 lignes
[
  {
    "data": {
      "ab_params": "dm_l2_ab=1;dm_ks_memory=0;dm_preset_opt=1;sb_cr=0;bt_holdback_2025=0;dm_ai_card_cache=0;dm_aicard_mutex=0;dm_vote_score=0;dm_l1_rel=1;dm_router_rewrite=0;sb_novel_member=1;sb_sku_rel=1;sb_cardfilter=1;sb_eduzhi=1;dm_correct=1;dm_question_limit=2;dm_l2_ctr_v4=0;dm_ai_hot_recall=0;sb_storytag=1;sb_slot_time=2;dm_test=1;sb_slot_domain=2;sb_fea_0914=0;dm_hot_pin=1;dm_queryrewrite_r=0;sb_sku_ui=1;dm_pre_docs=2;dm_l3_multi3=1;dm_ai_prompt=3;sb_vip_xunzhi=1;sb_paid_recency=0;sb_nvip_ecpm=1;dm_l2_snp_v2=1;dm_query_rewrite=2;sb_story_ca=1;sb_ff=0;sb_sku_time=1;bt_member_verify=1;dm_ai_corner1=0;dm_tag_…",
      "data": [
        {
          "highlight": {
            "description": "由 Elon Musk, Peter Thiel, Sam Altman",
            "title": "<em>OpenAI</em>"
          },
          "hit_labels": null,
          "id": "20083046",
          "index": 0,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvEBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIGMTgwNDc2KggyMDA4MzA0NkoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQCoAQCwAQG4AQDQAdGBrskF6AGUM4ACAbgCAIoDAJIDEzIwNTQ5MDAxMDY1MDgzODI2MzOaAwCiAwkxMDFfM18zLjCqAwDCAwx6c2VhcmNoX3Jvb3TgBAD6BACCBSBlODEzMTM5ZTBmOTM4ZmFlNDZlMmUzMjVmMWEzOTQ0M4oFBuWFtuS7lg==",
            "avatar_url": "https://pic4.zhimg.com/80/v2-4a85355a9ea1acc515ddabc2b3d1d4b1_qhd.jpg",
            "description": "由 Elon Musk, Peter Thiel, Sam Altman",
            "excerpt": "由 Elon Musk, Peter Thiel, Sam Altman",
            "follower_count": 6548,
            "followers_count": 6548,
            "has_meta": true,
            "id": "20083046",
            "introduction": "由 Elon Musk, Peter Thiel, Sam Altman",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "n_wiki",
              "description": "",
              "description1": "OpenAI是一家人工智能公司,成立于2015年12月。OpenAI会和谷歌、苹果、IBM等知名公司创办的其它一系列项目一道探索先进计算机技术,解决面部识别或语言翻译等问题。2015年12月12日,非盈利性的人工智能项目—OpenAI宣布正式启动。",
              "description2": "",
              "id": 1023629754540343300,
              "subtitle": "",
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>",
            "questions_count": 14586,
            "score": 10.955694198608398,
            "sub_category": "",
            "top_answer_count": 767067,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/20083046",
            "visit_count": 1414373870
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "",
            "title": "<em>OpenAI</em>发布当前最强模型GPT5.2"
          },
          "hit_labels": null,
          "id": "1982653700737610541",
          "index": 1,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvwBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIHNDI0OTcwMSoTMTk4MjY1MzcwMDczNzYxMDU0MUoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQGoAQCwAQG4AQDQAYa47MkG6AEAgAIBuAIAigMAkgMTMjA1NDkwMDEwNjUwODM4MjYzM5oDAKIDCTEwMV8zXzMuMKoDAMIDDHpzZWFyY2hfcm9vdOAEAPoEAIIFIGU4MTMxMzllMGY5MzhmYWU0NmUyZTMyNWYxYTM5NDQzigUG5YW25LuW",
            "avatar_url": "https://picx.zhimg.com/80/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=4e949a73",
            "description": "",
            "excerpt": "",
            "follower_count": 0,
            "followers_count": 0,
            "has_meta": true,
            "id": "1982653700737610541",
            "introduction": "",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "basic",
              "description": "",
              "id": 0,
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI发布当前最强模型GPT5.2",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>发布当前最强模型GPT5.2",
            "questions_count": 3,
            "score": 0.9963617324829102,
            "sub_category": "",
            "top_answer_count": 406,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/1982653700737610541",
            "visit_count": 792660
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "",
            "title": "<em>OpenAI</em>发布GPT5.5"
          },
          "hit_labels": null,
          "id": "2030951359864909854",
          "index": 2,
          "object": {
            "agreed_count": 0,
            "ai_ranking_list_url": "",
            "aliases": [],
            "attached_info_bytes": "OvwBCgtwbGFjZWhvbGRlchIgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDMYAiIHNDYzODc0OSoTMjAzMDk1MTM1OTg2NDkwOTg1NEoGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOYAQCgAQKoAQCwAQG4AQDQAbmhq88G6AEAgAIBuAIAigMAkgMTMjA1NDkwMDEwNjUwODM4MjYzM5oDAKIDCTEwMV8zXzMuMKoDAMIDDHpzZWFyY2hfcm9vdOAEAPoEAIIFIGU4MTMxMzllMGY5MzhmYWU0NmUyZTMyNWYxYTM5NDQzigUG5YW25LuW",
            "avatar_url": "https://pica.zhimg.com/80/v2-40e779d5c5e6bcebda41e92d50594618.jpg?source=4e949a73",
            "description": "",
            "excerpt": "",
            "follower_count": 0,
            "followers_count": 0,
            "has_meta": true,
            "id": "2030951359864909854",
            "introduction": "",
            "is_following": false,
            "liked": false,
            "meta": {
              "category": "basic",
              "description": "",
              "id": 0,
              "template": {
                "avatar_type": 1,
                "meta_template_type": 0
              },
              "title": "OpenAI发布GPT5.5",
              "type": "metapedia"
            },
            "name": "<em>OpenAI</em>发布GPT5.5",
            "questions_count": 2,
            "score": 0.9953414797782898,
            "sub_category": "",
            "top_answer_count": 59,
            "topic_type": "NORMAL",
            "type": "topic",
            "url": "https://api.zhihu.com/topics/2030951359864909854",
            "visit_count": 22206
          },
          "type": "search_result"
        },
        "… 17 more items in the full response"
      ],
      "domain_info": {
        "first_category": ""
      },
      "filter_items": null,
      "hit_labels": null,
      "is_brand_word": false,
      "is_koc_words": false,
      "item_in_view": [
        {
          "index": 5,
          "token": "b62a7302709544129797697d76efeb6c",
          "type": "user_survey"
        },
        {
          "index": 9,
          "type": "ask_question"
        }
      ],
      "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=OpenAI&search_hash_id=e813139e0f938fae46e2e325f1a39443&search_source=Normal&show_all_topics=0&t=topic&vertical_info=0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0%2C0"
      },
      "pendant": null,
      "related_search_result": [],
      "search_action_info": {
        "attached_info_bytes": "OqQBEiBlODEzMTM5ZTBmOTM4ZmFlNDZlMmUzMjVmMWEzOTQ0M0oGb3BlbmFpUABYA2ABagZPcGVuQUlwBIAB2rj9ybSllwOAAgG4AgCKAwCSAxMyMDU0OTAwMTA2NTA4MzgyNjMzmgMAogMJMTAxXzNfMy4w4AQA+gQAggUgZTgxMzEzOWUwZjkzOGZhZTQ2ZTJlMzI1ZjFhMzk0NDOKBQblhbbku5Y=",
        "isfeed": false,
        "lc_idx": 20,
        "search_hash_id": "e813139e0f938fae46e2e325f1a39443"
      },
      "sensitive_level": -1,
      "warning": ""
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

Zhihu Topic Search (V3) API

This API searches Zhihu topics by keyword. It returns a list of matching topics with their IDs, names, follower counts, and highlighted text. It needs one input, keyword.

Use cases

  • Find the Zhihu topic ID for a brand or subject such as OpenAI.
  • Compare follower_count across topics that match the same keyword to see which has the largest audience.
  • Show matched terms in a search UI by using the <em> tags in the highlight text.
  • Collect topic avatars and descriptions to build a directory of topics on one theme.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch Keywords
limitstringNoNumber of topics per page
offsetstringNoOffset

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "ab_params": "dm_ai_search_safe=1;dm_recency_ab=1;sb_cr=1;sb_vip_tag=1;sb_sku_time=1;dm_correc…",
  "data": [
    {
      "highlight": {
        "description": "由 Elon Musk, Peter Thiel, Sam Altman",
        "title": "<em>OpenAI</em>"
      },
      "hit_labels": null,
      "id": "20083046",
      "index": 0,
      "object": {
        "agreed_count": 0,
        "ai_ranking_list_url": "",
        "aliases": [],
        "attached_info_bytes": "OvEBCgtwbGFjZWhvbGRlchIgZjYyOWJjOGQwZDRmMDljZmNkMDgzMWYyYTFkNzI3OTQYAiIGMTgwNDc2…",
        "avatar_url": "https://pic1.zhimg.com/80/v2-4a85355a9ea1acc515ddabc2b3d1d4b1_qhd.jpg",
        "description": "由 Elon Musk, Peter Thiel, Sam Altman",
        "excerpt": "由 Elon Musk, Peter Thiel, Sam Altman",
        "follower_count": 6574
      },
      "type": "search_result"
    }
  ],
  "domain_info": {
    "first_category": ""
  },
  "filter_items": null,
  "hit_labels": null,
  "is_brand_word": false,
  "is_koc_words": false,
  "item_in_view": [
    {
      "index": 5,
      "token": "b62a7302…",
      "type": "user_survey"
    }
  ],
  "paging": {
    "is_end": false,
    "next": "https://api.zhihu.com/search_v3?advert_count=0&correction=1&filter_fields=&gk_ve…"
  },
  "pendant": null,
  "related_search_result": [],
  "search_action_info": {
    "attached_info_bytes": "OqQBEiBmNjI5YmM4ZDBkNGYwOWNmY2QwODMxZjJhMWQ3Mjc5NEoGb3BlbmFpUABYA2ABagZPcGVuQUlw…",
    "isfeed": false,
    "lc_idx": 20,
    "search_hash_id": "f629bc8d0d4f09cfcd0831f2a1d72794"
  }
}

Response fields

FieldMeaning
data[].idID of the matching topic, as a string.
data[].typeResult type. Here it is search_result.
data[].indexPosition of the result in the list, starting at 0.
data[].highlight.titleTopic title with the matched keyword wrapped in <em> tags.
data[].highlight.descriptionTopic description with matches highlighted. It can be an empty string.
data[].object.description / data[].object.excerptShort text describing the topic. Both can be empty.
data[].object.follower_countNumber of followers of the topic. Many topics show 0.
data[].object.avatar_urlImage URL for the topic.
data[].object.aliasesList of alternative names for the topic. It is empty in this response.
paging.is_end / paging.nextis_end tells you whether more results exist. next is a URL for the next page of results.

Notes

  • Use limit and offset to page through results. Both are sent as strings, and limit defaults to 25 and offset to 0.
  • Check paging.is_end to know when to stop paging.
  • Strip the <em> tags from highlight.title if you need the plain topic name.
  • To search content instead of topics, try Zhihu Article Search or Zhihu Search Suggestions.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Zhihu$0.001 par appelJSON
Zhihu$0.005 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON
Zhihu$0.001 par appelJSON

Guides :Best Zhihu API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Zhihu Topic Search (V3) ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3 avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Zhihu Topic Search (V3) ?

$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Zhihu Topic Search (V3) accepte-t-elle ?

Obligatoire : keyword (string). Facultatif : limit (string) et offset (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Zhihu Topic Search (V3) ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Zhihu ?

Non. Zhihu Topic Search (V3) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Zhihu séparément.