Weibo advanced search by keyword with filters
tikhub.x.weibo-web-v2-fetch-advanced-searchWeibo: fetch advanced search (web_v2)
- Price
- $0.001/successAl precio del proveedor
- Success rate
- 100 %Last 30 days · 535 calls
- Latency p50
- 1.2 sp95 1.9 s
- Last verified
- 28 jul 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=picPreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
q | cadena | Obligatorio | Search keyword | yu7 |
page | entero | 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
qcadenaObligatorioSearch keyword
Ejemplo:
yu7pageenteroOpcionalPage number
Ejemplo:
1timescopeotherOpcionalTime scope (custom:start:end)
Ejemplo:
custom:2025-09-01-0:2025-09-08-23search_typeotherOpcional搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点)
Ejemplo:
hotinclude_typeotherOpcional包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链)
Ejemplo:
pic
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.001/success, incluida la tarifa de servicio.