Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Zhihu Topic Search (V3)

Dokumentacja 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.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
Search Keywords
Number of topics per page
Offset
WyjściePrzykład
Odpowiedźoutputs · 7.7 KB · 183 wierszy
[
  {
    "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": ""
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README 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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Zhihu$0.001 za wywołanieJSON
Zhihu$0.005 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON
Zhihu$0.001 za wywołanieJSON

Przewodniki:Best Zhihu API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Zhihu Topic Search (V3)?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/zhihu/web/topic-search-v3 z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Zhihu Topic Search (V3)?

$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Zhihu Topic Search (V3)?

Wymagane: keyword (string). Opcjonalne: limit (string) i offset (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Zhihu Topic Search (V3)?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Zhihu lub klucza API?

Nie. Zhihu Topic Search (V3) działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Zhihu.