Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Zhihu User Search

Tài liệu API
https://api.sandbase.ai/v1/api/zhihu/web/user-search-v3

Search for Zhihu user profiles by query terms. Returns matching accounts along with follower numbers, article counts, and answer statistics.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Search Keywords
Number of users per page
Offset
Đầu raVí dụ
Phản hồioutputs · 12.4 KB · 267 dòng
[
  {
    "data": {
      "ab_params": "dm_vote_score=0;dm_mark=2;sb_nvip_ecpm=1;dm_security=1;d_new_search_h2=0;dm_fine_rel=2;dm_v_member_zag=2;dm_social_boost=0;se_koc_list_box=1;sb_kvip_xz=1;bt_holdback_2025=0;dm_ai_medical=1;dm_ai_model=0;dm_ks_memory=1;dm_ai_hot_more=0;dm_ai_card_cache=0;dm_ai_search_kl=1;sb_slot_domain=2;sb_zhiedu=1;sb_vip_tag=1;bt_vertical_mem=1;dm_content_quota=3;sb_sku_rel=1;sb_sku_time=1;sb_sku_kzh=1;dm_l1_rel=0;dm_l2_ctr_v4=0;dm_pin_card=1;adflow=0;sb_novel_member=1;dm_zr_sv=0;dm_center_feature=1;dm_a1_suppress=0;sb_cardfilter=1;dm_preset_opt=1;dm_router_rewrite=0;sb_fea_0914=0;dm_l3_multi3=1;dm_ai_rerank…",
      "data": [
        {
          "highlight": {
            "description": "",
            "title": "<em>DeepSeek</em>"
          },
          "hit_labels": null,
          "id": 4029889030,
          "index": 0,
          "object": {
            "answer_count": 0,
            "articles_count": 2,
            "attached_info_bytes": "OpgCCgtwbGFjZWhvbGRlchIgMDNmNDZjMTA5YzE1ZWY3NTQ0ZmFjNjc5MGFiNzFhYjMYASIKMTU1OTI2NjYyNCoLZGVlcHNlZWstNzVCIGIyYmU1YzQ1NjRkZDE1NTQ0MTgwZDM1ZGEwNTAwMTg4SghkZWVwc2Vla1AAWAJgAWoIZGVlcHNlZWtwBIABypSuqrSllwOYAQCgAQCoAQCwAQG4AQDoAZrLA4ACAbgCAIoDAJIDEzIwNTUxMzM1ODgwMDIyODA4MDOaAwCiAwkxMDFfM18zLjCqAwDCAwx6c2VhcmNoX3Jvb3TgBAD6BACCBSAwM2Y0NmMxMDljMTVlZjc1NDRmYWM2NzkwYWI3MWFiM4oFBuWFtuS7lg==",
            "avatar_url": "https://picx.zhimg.com/50/v2-dabcd3ba1cbbf8e188aac13ad1a25106_l.jpg?source=4e949a73",
            "badge": [
              {
                "description": "已认证账号",
                "topics": [],
                "type": "identity"
              },
              {
                "description": "已认证的机构",
                "topics": [],
                "type": "identity"
              }
            ],
            "badge_v2": {
              "detail_badges": [
                {
                  "description": "已认证机构号",
                  "detail_type": "identity_org",
                  "icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
                  "night_icon": "https://pic1.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
                  "sources": [],
                  "title": "已认证机构号",
                  "type": "identity",
                  "url": "https://www.zhihu.com/term/institution-settle"
                }
              ],
              "icon": "https://pica.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "merged_badges": [
                {
                  "description": "已认证机构号",
                  "detail_type": "identity_org",
                  "icon": "",
                  "night_icon": "",
                  "sources": [],
                  "title": "认证",
                  "type": "identity",
                  "url": "https://www.zhihu.com/term/institution-settle"
                }
              ],
              "night_icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "title": "已认证机构号"
            },
            "badge_v2_string": "{\"title\":\"已认证机构号\",\"merged_badges\":[{\"type\":\"identity\",\"detail_type\":\"identity_org\",\"title\":\"认证\",\"description\":\"已认证机构号\",\"url\":\"https://www.zhihu.com/term/institution-settle\",\"sources\":[],\"icon\":\"\",\"night_icon\":\"\",\"badge_status\":\"passed\"}],\"detail_badges\":[{\"type\":\"identity\",\"detail_type\":\"identity_org\",\"title\":\"已认证机构号\",\"description\":\"已认证机构号\",\"url\":\"https://www.zhihu.com/term/institution-settle\",\"sources\":[],\"icon\":\"https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c\",\"night_icon\":\"https://pic1.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c\",\"bad…",
            "creation_count": 2,
            "follower_count": 58778,
            "follower_count_text": "5.8 万",
            "gender": -1,
            "headline": "",
            "honor_label": "",
            "id": "b2be5c4564dd15544180d35da0500188",
            "is_followed": false,
            "is_following": false,
            "is_self": false,
            "last_creation_time": 1790676680,
            "name": "<em>DeepSeek</em>",
            "old_badges": [
              {
                "description": "已认证机构号",
                "type": "identity"
              }
            ],
            "type": "people",
            "url": "https://api.zhihu.com/people/b2be5c4564dd15544180d35da0500188",
            "url_token": "deepseek-75",
            "user_type": "organization",
            "vip_info": {
              "is_vip": false,
              "vip_icon": {
                "night_mode_url": "",
                "url": ""
              }
            },
            "voteup_count": 13186
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "读历史书籍",
            "title": "<em>DeepSeek</em>"
          },
          "hit_labels": null,
          "id": 102081911,
          "index": 1,
          "object": {
            "answer_count": 1119,
            "articles_count": 31,
            "attached_info_bytes": "OpYCCgtwbGFjZWhvbGRlchIgMDNmNDZjMTA5YzE1ZWY3NTQ0ZmFjNjc5MGFiNzFhYjMYASIKMTMzNjIyMTM2NSoKeWIzNDI5ODg3OEIgYThmNTU0MTQwODM2ZGZhYTRjNjUxNmNjZjBkYjQ5ZDdKCGRlZXBzZWVrUABYAmABaghkZWVwc2Vla3AEgAHKlK6qtKWXA5gBAKABAagBALABAbgBAOgB1VGAAgG4AgCKAwCSAxMyMDU1MTMzNTg4MDAyMjgwODAzmgMAogMJMTAxXzNfMy4wqgMAwgMMenNlYXJjaF9yb2904AQA+gQAggUgMDNmNDZjMTA5YzE1ZWY3NTQ0ZmFjNjc5MGFiNzFhYjOKBQblhbbku5Y=",
            "avatar_url": "https://pica.zhimg.com/50/v2-1bb165fffee54812e56bd8d67624f56a_l.jpg?source=4e949a73",
            "badge": [
              {
                "description": "河北诚信集团有限公司 员工",
                "topics": [],
                "type": "identity"
              },
              {
                "description": "已认证的机构",
                "topics": [],
                "type": "identity"
              }
            ],
            "badge_v2": {
              "detail_badges": [
                {
                  "description": "河北诚信集团有限公司 员工",
                  "detail_type": "identity_people",
                  "icon": "https://pic1.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
                  "night_icon": "https://pica.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
                  "sources": [],
                  "title": "已认证的个人",
                  "type": "identity",
                  "url": "https://zhuanlan.zhihu.com/p/96956163"
                }
              ],
              "icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "merged_badges": [
                {
                  "description": "河北诚信集团有限公司 员工",
                  "detail_type": "identity_people",
                  "icon": "",
                  "night_icon": "",
                  "sources": [],
                  "title": "认证",
                  "type": "identity",
                  "url": "https://zhuanlan.zhihu.com/p/96956163"
                }
              ],
              "night_icon": "https://pica.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "title": "河北诚信集团有限公司 员工"
            },
            "badge_v2_string": "{\"title\":\"河北诚信集团有限公司 员工\",\"merged_badges\":[{\"type\":\"identity\",\"detail_type\":\"identity_people\",\"title\":\"认证\",\"description\":\"河北诚信集团有限公司 员工\",\"url\":\"https://zhuanlan.zhihu.com/p/96956163\",\"sources\":[],\"icon\":\"\",\"night_icon\":\"\",\"badge_status\":\"passed\"}],\"detail_badges\":[{\"type\":\"identity\",\"detail_type\":\"identity_people\",\"title\":\"已认证的个人\",\"description\":\"河北诚信集团有限公司 员工\",\"url\":\"https://zhuanlan.zhihu.com/p/96956163\",\"sources\":[],\"icon\":\"https://pic1.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c\",\"night_icon\":\"https://pica.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=327…",
            "creation_count": 5626,
            "follower_count": 10453,
            "follower_count_text": "1 万",
            "gender": 1,
            "headline": "读历史书籍",
            "honor_label": "",
            "id": "a8f554140836dfaa4c6516ccf0db49d7",
            "is_followed": false,
            "is_following": false,
            "is_self": false,
            "last_creation_time": 1791289148,
            "name": "<em>DeepSeek</em>",
            "old_badges": [
              {
                "description": "河北诚信集团有限公司 员工",
                "type": "identity"
              }
            ],
            "type": "people",
            "url": "https://api.zhihu.com/people/a8f554140836dfaa4c6516ccf0db49d7",
            "url_token": "yb34298878",
            "user_type": "people",
            "vip_info": {
              "is_vip": true,
              "vip_icon": {
                "night_mode_url": "https://pic1.zhimg.com/v2-c9686ff064ea3579730756ac6c289978.jpg?source=88ceefae",
                "url": "https://picx.zhimg.com/v2-4812630bc27d642f7cafcd6cdeca3d7a.jpg?source=88ceefae"
              }
            },
            "voteup_count": 8358
          },
          "type": "search_result"
        },
        {
          "highlight": {
            "description": "",
            "title": "<em>deepseek</em> 随缘"
          },
          "hit_labels": null,
          "id": 2103895222,
          "index": 2,
          "object": {
            "answer_count": 251,
            "articles_count": 93,
            "attached_info_bytes": "OpYCCgtwbGFjZWhvbGRlchIgMDNmNDZjMTA5YzE1ZWY3NTQ0ZmFjNjc5MGFiNzFhYjMYASIIODQxMzQ0NDEqDGxlYnJvbi0xNi0zNEIgOGFhYzM2OWUwOTBjZjM4NGM0NTUxYmM0NWM1MmI1YjFKCGRlZXBzZWVrUABYAmABaghkZWVwc2Vla3AEgAHKlK6qtKWXA5gBAKABAqgBALABAbgBAOgB/SGAAgG4AgCKAwCSAxMyMDU1MTMzNTg4MDAyMjgwODAzmgMAogMJMTAxXzNfMy4wqgMAwgMMenNlYXJjaF9yb2904AQA+gQAggUgMDNmNDZjMTA5YzE1ZWY3NTQ0ZmFjNjc5MGFiNzFhYjOKBQblhbbku5Y=",
            "avatar_url": "https://picx.zhimg.com/50/v2-3819791e7d4e195d7ccf800331ce85bb_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\":\"\"}",
            "creation_count": 346,
            "follower_count": 4349,
            "follower_count_text": "4349",
            "gender": 1,
            "headline": "",
            "honor_label": "",
            "id": "8aac369e090cf384c4551bc45c52b5b1",
            "is_followed": false,
            "is_following": false,
            "is_self": false,
            "last_creation_time": 1750410568,
            "name": "<em>deepseek</em> 随缘",
            "type": "people",
            "url": "https://api.zhihu.com/people/8aac369e090cf384c4551bc45c52b5b1",
            "url_token": "lebron-16-34",
            "user_type": "people",
            "vip_info": {
              "is_vip": false,
              "vip_icon": {
                "night_mode_url": "",
                "url": ""
              }
            },
            "voteup_count": 8367
          },
          "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=deepseek&search_hash_id=03f46c109c15ef7544fac6790ab71ab3&search_source=Normal&show_all_topics=0&t=people&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": "OqgBEiAwM2Y0NmMxMDljMTVlZjc1NDRmYWM2NzkwYWI3MWFiM0oIZGVlcHNlZWtQAFgCYAFqCGRlZXBzZWVrcASAAcqUrqq0pZcDgAIBuAIAigMAkgMTMjA1NTEzMzU4ODAwMjI4MDgwM5oDAKIDCTEwMV8zXzMuMOAEAPoEAIIFIDAzZjQ2YzEwOWMxNWVmNzU0NGZhYzY3OTBhYjcxYWIzigUG5YW25LuW",
        "isfeed": false,
        "lc_idx": 20,
        "search_hash_id": "03f46c109c15ef7544fac6790ab71ab3"
      },
      "sensitive_level": -1,
      "warning": ""
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Zhihu User Search API

This API searches Zhihu for user accounts that match a keyword. Recognized account results may include counts, avatar and badges. Inspect each record and preserve absent fields; other or unrecognized row shapes require separate handling.

Use cases

  • Find keyword-matching account candidates; a name match is not independent verification of an official brand or organization.
  • Compare how many answers and articles each matching creator has published.
  • Review keyword-matching candidates and reported badges without treating them as verified experts or permission for outreach.
  • Preserve the selected people object.url_token separately from hit IDs and hashes; a profile lookup is a deliberate additional task.

Request

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

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

Parameters

NameTypeRequiredDescription
keywordstringYesSearch Keywords
limitstringNoNumber of users per page
offsetstringNoOffset

Example response

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

{
  "ab_params": "sb_kvip_xz=1;dm_ai_hot_ui=0;dm_rum_v5=1;dm_tag_t5gemma=1;dm_aicard_mutex=1;dm_v_…",
  "data": [
    {
      "highlight": {
        "description": "",
        "title": "<em>DeepSeek</em>"
      },
      "hit_labels": null,
      "id": 4029889030,
      "index": 0,
      "object": {
        "answer_count": 0,
        "articles_count": 4,
        "attached_info_bytes": "OpgCCgtwbGFjZWhvbGRlchIgOTRmOWY3ZTcyMjM5ODM2OGQ0N2Y3MGFlZGE0OGMxMjIYASIKMTU1OTI2…",
        "avatar_url": "https://picx.zhimg.com/50/v2-dabcd3ba1cbbf8e188aac13ad1a25106_l.jpg?source=4e949…",
        "badge": [
          {
            "description": "已认证账号",
            "topics": [],
            "type": "identity"
          }
        ],
        "badge_v2": {
          "detail_badges": [
            {
              "description": "已认证机构号",
              "detail_type": "identity_org",
              "icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "night_icon": "https://pic1.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
              "sources": [],
              "title": "已认证机构号",
              "type": "identity",
              "url": "https://www.zhihu.com/term/institution-settle"
            }
          ],
          "icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
          "merged_badges": [
            {
              "description": "已认证机构号",
              "detail_type": "identity_org",
              "icon": "",
              "night_icon": "",
              "sources": [],
              "title": "认证",
              "type": "identity",
              "url": "https://www.zhihu.com/term/institution-settle"
            }
          ],
          "night_icon": "https://picx.zhimg.com/v2-2ddc5cc683982648f6f123616fb4ec09_l.png?source=32738c0c",
          "title": "已认证机构号"
        },
        "badge_v2_string": "{\"title\":\"已认证机构号\",\"merged_badges\":[{\"type\":\"identity\",\"detail_type\":\"identity_or…",
        "creation_count": 4
      },
      "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": "OqgBEiA5NGY5ZjdlNzIyMzk4MzY4ZDQ3ZjcwYWVkYTQ4YzEyMkoIZGVlcHNlZWtQAFgCYAFqCGRlZXBz…",
    "isfeed": false,
    "lc_idx": 20,
    "search_hash_id": "94f9f7e722398368d47f70aeda48c122"
  }
}

Response fields

FieldMeaning
data[].idNumeric ID of the search hit. It is a number, not the same as the user token in other Zhihu APIs.
data[].indexPosition of the result in the list, starting at 0.
data[].highlight.title / data[].highlight.descriptionThe user's name and bio text with the matched keyword wrapped in <em> tags. description can be an empty string.
data[].object.answer_count / data[].object.articles_count / data[].object.creation_countCounts of answers, articles and total creations for the account. For example, one result shows 1147 answers, 32 articles and 5788 creations.
data[].object.avatar_urlLink to the account's avatar image.
data[].object.badge[].descriptionPlain text of each verification badge, such as a certified account or a certified organization. The list is empty for accounts without badges.
data[].object.badge_v2.titleShort title of the account's main badge. It is an empty string when the account has none.
paging.is_endfalse when more results are available. true means no more pages.
paging.nextFull URL for the next page of results.
search_action_info.search_hash_idIdentifier for this search session, which also appears inside paging.next.

Notes

  • Only keyword is required. limit and offset are strings; no new continuation mapping was tested, and a fixed increment is not established.
  • Check paging.is_end to know when to stop paging.
  • The saved upstream paging.next contains limit=20/offset=20 despite the schema default "25". Preserve that distinction; do not automatically follow the URL or discard its context.
  • To search other Zhihu content by the same keyword, use Zhihu Article Search.

Pricing

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

Inspect one keyword page of account candidates

Send keyword. The selected web/user-search-v3 schema declares limit and offset as strings, defaulting to 25 and 0 respectively. Keep their JSON values quoted. It has no numeric page, cursor, search_hash_id or arbitrary filter input. The saved October 7 request supplies only keyword deepseek, so the generated request's explicit defaults are teaching values, not proof of a newly executed page size.

The full saved capture has twenty search_result rows whose object.type is people. Read data as an array, then identify usable people objects with a string object.url_token. A valid empty array is an empty observed search, not proof that no experts exist. Do not treat unfamiliar or malformed rows as the first selected account. Numeric row id, internal object.id hash and profile URL token have different roles.

Names and highlight fields can contain em markup. Treat them as text and escape or remove known formatting; do not render arbitrary HTML. Keyword matches and badges do not independently verify brand ownership, real-world qualifications, expertise or permission to contact someone. Followers and answer counts are reported account metrics, not measured reach or a ranked expert assessment.

The first saved result has follower_count 58778 and display follower_count_text 5.8 万. Keep exact numeric and rounded display representations separate. Null hit labels, empty badges and zero counts are distinct observations. creation_count can cover more categories than answers plus articles; do not force them to sum. The README's different article/creation counts are another reference, not measured growth.

The schema default limit is string "25", but the keyword-only saved page contains 20 and its upstream paging.next has limit=20/offset=20 plus opaque context. Do not increment by 25 or 20 automatically or claim context can be discarded safely. Do not follow the upstream URL with a SandBase key. A future continuation needs validated mapping to the declared string inputs and the same query; no new next page was tested.

Stop after reviewing candidates. The saved known profile token ming-he-43-93 is absent from these twenty hits. It is an independent record, not a demonstrated search-to-profile chain. Select a token deliberately before another task.

Give your agent one account-research task

Choose keyword candidates or a known profile token. Give your agent the setup Skill, Markdown quickstart, exact selected web endpoint and desired output. Keep SANDBASE_API_KEY locally and call POST /v1/api/ with Bearer authentication. Do not automatically choose the first name match, fetch answers or followees, or contact an account.

Require completed SandBase status and an object at outputs[0].data. These two business references have no code, status or success field; do not import a code-zero rule from another endpoint. Search has data as an array, while the profile is flat and should match the selected url_token. Reject malformed payloads and mismatched identity instead of substituting an empty successful profile. Missing metrics remain unknown, not zero or false.

Pricing inspected November 8 lists $0.001 for each selected web route, with 100 daily calls shared across eligible organization APIs and reset at 00:00 UTC. Eligibility is not remaining allowance. A deliberate pair lists at $0.002 before quota effects; this guide does not execute a pair. No new business, continuation, paid, media or outreach call was made. For the historical search/profile/answers design, see the Zhihu research Python guide; the two current first-request boundaries are described here.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.005 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON
Zhihu$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Zhihu API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Zhihu User Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/user-search-v3 với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Zhihu User Search có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Zhihu User Search chấp nhận những tham số nào?

Bắt buộc: keyword (string). Tùy chọn: limit (string) và offset (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Zhihu User Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Zhihu không?

Không. Zhihu User Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Zhihu.

limit và offset có phải là số trong request này không?

Không. Schema đã chọn này khai báo chuỗi với giá trị mặc định "25" và "0". Kết quả chỉ với từ khóa đã lưu có 20 hàng và URL next ở upstream chứa 20/20, điều đó không xác minh một trang mặc định mới hay quy tắc tự động tăng.

Trường tìm kiếm nào có thể nhận diện một hồ sơ đã được chọn có chủ đích?

Hãy dùng people object.url_token đã chọn rõ ràng làm user_url_token. Hit id dạng số và hash object.id nội bộ là các trường khác nhau. Việc khớp tên hoặc huy hiệu không tự nó xác minh chuyên môn, danh tính thương hiệu hay quyền liên hệ.

Tôi có thể theo paging.next bằng khóa SandBase của mình không?

Không. Đó là một URL upstream với ngữ cảnh nằm ngoài hợp đồng keyword/limit/offset của route này. Chưa xác minh được continuation mới. Hãy giữ một trang giới hạn và xác thực việc ánh xạ sau riêng; đừng sao chép tham số opaque hoặc bearer key sang URL đó.