Bilibili search by keyword and content type
tikhub.x.bilibili-app-fetch-search-by-typeBilibili: fetch search by type (app)
- Price
- $0.001/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.bilibili-app-fetch-search-by-type?keyword=%E5%8E%9F%E7%A5%9E&page_size=5PreviewTry onlineEm breveProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
order | inteiro | Opcional | 排序方式/Sort order (0=综合, 1=最新, 2=播放量, 3=弹幕数) | 0 |
cursor | string | Opcional | Pagination cursor, leave empty for the first page; for the next page pass back data.pagination.next from the previous response | |
keyword | string | Obrigatório | Search keyword | 原神 |
page_size | inteiro | Opcional | Page size | 20 |
search_type | string | Opcional | Search type (video/bangumi/pgc/live/article/user) | video |
- Parâmetros de consulta
orderinteiroOpcional排序方式/Sort order (0=综合, 1=最新, 2=播放量, 3=弹幕数)
Exemplo:
0cursorstringOpcionalPagination cursor, leave empty for the first page; for the next page pass back data.pagination.next from the previous response
keywordstringObrigatórioSearch keyword
Exemplo:
原神page_sizeinteiroOpcionalPage size
Exemplo:
20search_typestringOpcionalSearch type (video/bangumi/pgc/live/article/user)
Exemplo:
video
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.bilibili-app-fetch-search-by-type?keyword=%E5%8E%9F%E7%A5%9E&page_size=5' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.bilibili-app-fetch-search-by-type?keyword=%E5%8E%9F%E7%A5%9E&page_size=5",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.bilibili-app-fetch-search-by-type?keyword=%E5%8E%9F%E7%A5%9E&page_size=5", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.001/success, incluindo a taxa de serviço.