limitstring
Number of videos per page
Domyślnie: "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
}
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
limitstringNumber of videos per page
Domyślnie: "12"
offsetstringOffset
Domyślnie: "0"
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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
}
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Zhihu Video ListTo API Zhihu | $0.001 za wywołanie | JSON |
Zhihu | $0.005 za wywołanie | JSON |
Zhihu | $0.001 za wywołanie | JSON |
Zhihu | $0.001 za wywołanie | JSON |
Zhihu | $0.001 za wywołanie | JSON |
Zhihu | $0.001 za wywołanie | JSON |
Przewodniki:Best Zhihu API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/zhihu/web/video-list 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.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: limit (string) i offset (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Zhihu Video List 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.