Weibo advanced search by keyword with filters
tikhub.x.weibo-web-v2-fetch-advanced-searchWeibo: fetch advanced search (web_v2)
- Price
- $0.001/successPelo preço do provedor
- Success rate
- 100%Last 30 days · 535 calls
- Latency p50
- 1.2 sp95 1.9 s
- Last verified
- 28 de jul. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=picPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
q | string | Obrigatório | Search keyword | yu7 |
page | inteiro | Opcional | Page number | 1 |
timescope | other | Opcional | Time scope (custom:start:end) | custom:2025-09-01-0:2025-09-08-23 |
search_type | other | Opcional | 搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点) | hot |
include_type | other | Opcional | 包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链) | pic |
- Parâmetros de consulta
qstringObrigatórioSearch keyword
Exemplo:
yu7pageinteiroOpcionalPage number
Exemplo:
1timescopeotherOpcionalTime scope (custom:start:end)
Exemplo:
custom:2025-09-01-0:2025-09-08-23search_typeotherOpcional搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点)
Exemplo:
hotinclude_typeotherOpcional包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链)
Exemplo:
pic
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic",
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.weibo-web-v2-fetch-advanced-search?q=yu7&page=1×cope=custom%3A2025-09-01-0%3A2025-09-08-23&search_type=hot&include_type=pic", {
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.