Weibo advanced search by keyword with filters
tikhub.x.weibo-web-v2-fetch-advanced-searchWeibo: fetch advanced search (web_v2)
- Price
- $0.001/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 535 calls
- Latency p50
- 1.2 sp95 1.9 s
- Last verified
- 28 juil. 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 onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
q | chaîne | Obligatoire | Search keyword | yu7 |
page | entier | Facultatif | Page number | 1 |
timescope | other | Facultatif | Time scope (custom:start:end) | custom:2025-09-01-0:2025-09-08-23 |
search_type | other | Facultatif | 搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点) | hot |
include_type | other | Facultatif | 包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链) | pic |
- Paramètres de requête
qchaîneObligatoireSearch keyword
Exemple :
yu7pageentierFacultatifPage number
Exemple :
1timescopeotherFacultatifTime scope (custom:start:end)
Exemple :
custom:2025-09-01-0:2025-09-08-23search_typeotherFacultatif搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点)
Exemple :
hotinclude_typeotherFacultatif包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链)
Exemple :
pic
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/success, frais de service inclus.