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

Zhihu Video Search (V3)

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

Returns Zhihu video search results matching a specified keyword. Supports pagination using offset and limit parameters, and accepts a search hash ID.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn

Phòng thử nghiệm

Đầu vào
Search Keywords
Number of videos per page
Offset
Search Hash ID
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Zhihu Video Search (V3) API

Returns Zhihu search results for a keyword, mostly video entries with title, author, cover image and comment count. The only required input is keyword. Results page with offset and limit.

Use cases

  • Find Zhihu videos that mention a brand or product such as OpenAI.
  • Collect video authors and their follower counts to find creators who cover a topic.
  • Gather cover images and video stream URLs for videos that match a keyword.
  • Page through all matches for a keyword to track new Zhihu video content over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/video-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 videos per page
offsetstringNoOffset
search_hash_idstringNoSearch Hash ID

Example response

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

{
  "ab_params": "sb_cardfilter=1;dm_center_feature=1;dm_hotvideo=0;dm_paid_recency=0;dm_l1_rel=0;…",
  "data": [
    {
      "highlight": {
        "creator": "太空就是我",
        "description": "目前看用低端设备也能跑#<em>openai</em> #chatgpt #人工智能",
        "title": "聊聊<em>OpenAi</em>"
      },
      "hit_labels": null,
      "id": "1789796275463544832",
      "index": 0,
      "object": {
        "attached_info_bytes": "OpECCgtwbGFjZWhvbGRlchIgM2U0OWQ5ODY2OGJkMDc0NDhkMzQzNjYyZWViNDQzYzQYYyITMTc4OTc5…",
        "author": {
          "authority_info": [],
          "avatar_url": "https://pica.zhimg.com/50/v2-518e0f06c688a3657539e130dcdf6d5a_l.jpg?source=4e949…",
          "badge": [],
          "badge_v2": {
            "detail_badges": [],
            "icon": "",
            "merged_badges": [],
            "night_icon": "",
            "title": ""
          },
          "badge_v2_string": "{\"title\":\"\",\"merged_badges\":[],\"detail_badges\":null,\"icon\":\"\",\"night_icon\":\"\"}",
          "follower_count": 489,
          "gender": 1,
          "headline": "破繭尋光 選擇美麗"
        },
        "badge": [],
        "badge_v2": {
          "detail_badges": [],
          "icon": "",
          "merged_badges": [],
          "night_icon": "",
          "title": ""
        },
        "badge_v2_string": "{\"title\":\"\",\"merged_badges\":[],\"detail_badges\":null,\"icon\":\"\",\"night_icon\":\"\"}",
        "comment_count": 0,
        "cover_info": {
          "data_url": "",
          "height": 1920,
          "type": "image",
          "url": "https://picx.zhimg.com/80/v2-3d1e45814a107d146ae472b01ef5b199_qhd.jpg?source=4e9…",
          "width": 1080
        },
        "cover_url": "https://picx.zhimg.com/v2-3d1e45814a107d146ae472b01ef5b199.jpg?source=4e949a73"
      },
      "type": "zvideo"
    }
  ],
  "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=%7B%27…"
  },
  "pendant": null,
  "related_search_result": [],
  "search_action_info": {
    "attached_info_bytes": "OqQBEiAzZTQ5ZDk4NjY4YmQwNzQ0OGQzNDM2NjJlZWI0NDNjNEoGb3BlbmFpUABYFGABagZPcGVuQUlw…",
    "isfeed": false,
    "lc_idx": 20,
    "search_hash_id": "3e49d98668bd07448d343662eeb443c4"
  }
}

Response fields

FieldMeaning
data[].typeKind of result. zvideo marks a video entry. search_result marks a text post that can embed a video.
data[].idID of the result as a string.
data[].highlight.title / data[].highlight.description / data[].highlight.creatorTitle, description and creator name with the matched keyword wrapped in <em> tags.
data[].object.author.follower_countNumber of followers of the video author.
data[].object.author.headlineShort profile line of the author.
data[].object.comment_countNumber of comments on the item.
data[].object.cover_urlURL of the cover image for the item.
data[].object.created_timeCreation time of a search_result item. It looks like a Unix timestamp in seconds.
data[].object.content[].playlist[]Video files for an embedded video, each with quality, format, height, bitrate, size and url.
search_action_info.search_hash_idHash ID for this search. You can pass it back in search_hash_id on later requests.
paging.is_endTells you whether the last page has been reached. paging.next holds the URL for the next page.

Notes

  • Use offset and limit to move through pages. Check paging.is_end to know when to stop.
  • The response mixes zvideo entries with search_result entries, so check data[].type before you read fields. Fields such as cover_info appear on videos, while content and excerpt appear on text posts.
  • To search Zhihu articles and answers instead, call 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.

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 Video Search (V3)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/video-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 Video Search (V3) có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Zhihu Video Search (V3) chấp nhận những tham số nào?

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

API Zhihu Video Search (V3) 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 Video Search (V3) 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.