limitstring
Number of videos per page
Mặc định: "12"
https://api.sandbase.ai/v1/api/zhihu/web/video-listRetrieves a paginated list of videos from the Zhihu web platform. Supports pagination controls through page size and offset index parameters.
[
{
"data": {
"data": [],
"paging": {
"is_end": false,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/zvideo-tabs/tabs/choice/feeds/recommend?include=creation_relationship&limit=12&offset=12&trans=",
"previous": "",
"totals": 0
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns a page of videos from the Zhihu recommended video feed. It takes no required input. You can set limit for page size and offset for the start position.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
limit | string | No | Number of videos per page |
offset | string | No | Offset |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [],
"paging": {
"is_end": false,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/zvideo-tabs/tabs/choice/feeds/recommend?include=cre…",
"previous": "",
"totals": 0
}
}
| Field | Meaning |
|---|---|
data[] | List of video entries on the current page. It was empty in the sample response, so check the length before reading items. |
paging.is_end | true when there are no more pages after this one. |
paging.is_start | true when this is the first page of the list. |
paging.next | URL of the next page. It includes limit=12 and offset=12 as query values. |
paging.previous | URL of the previous page. It is an empty string on the first page. |
paging.totals | Total count reported for the list. It was 0 in the sample response. |
limit and offset are sent as strings. The defaults are 12 and 0.limit to offset and call again. The paging.next URL shows the same values.paging.is_end is true.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/zhihu/web/video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": "12",
"offset": "0"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
limitstringNumber of videos per page
Mặc định: "12"
offsetstringOffset
Mặc định: "0"
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"data": [],
"paging": {
"is_end": false,
"is_start": true,
"next": "https://www.zhihu.com/api/v4/zvideo-tabs/tabs/choice/feeds/recommend?include=creation_relationship&limit=12&offset=12&trans=",
"previous": "",
"totals": 0
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Zhihu Video ListAPI này Zhihu | $0.001 mỗi lần gọi | JSON |
Zhihu | $0.005 mỗi lần gọi | JSON |
Zhihu | $0.001 mỗi lần gọi | JSON |
Zhihu | $0.001 mỗi lần gọi | JSON |
Zhihu | $0.001 mỗi lần gọi | JSON |
Zhihu | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:Best Zhihu API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/zhihu/web/video-list 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.
$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ý.
Không có tham số bắt buộc. 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.
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.
Không. Zhihu Video List 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.