Weibo trending ranking history by ranking type
tikhub.x.weibo-web-v2-fetch-hot-ranking-timelineWeibo: fetch hot ranking timeline (web_v2)
- Price
- $0.001/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-fetch-hot-ranking-timeline?count=5&max_id=0&since_id=0&ranking_type=hourPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
count | entero | Opcional | Count, default is 10 | 10 |
max_id | cadena | Opcional | Max ID, default is 0 | 0 |
since_id | cadena | Opcional | Pagination identifier, default is 0 | 0 |
ranking_type | cadena | Obligatorio | Ranking type: hour=hourly, yesterday=yesterday, day_before=day before, week=weekly, male=male ranking, female=female ranking | hour |
- Parámetros de consulta
countenteroOpcionalCount, default is 10
Ejemplo:
10max_idcadenaOpcionalMax ID, default is 0
Ejemplo:
0since_idcadenaOpcionalPagination identifier, default is 0
Ejemplo:
0ranking_typecadenaObligatorioRanking type: hour=hourly, yesterday=yesterday, day_before=day before, week=weekly, male=male ranking, female=female ranking
Ejemplo:
hour
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-hot-ranking-timeline?count=5&max_id=0&since_id=0&ranking_type=hour' \
-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-hot-ranking-timeline?count=5&max_id=0&since_id=0&ranking_type=hour",
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-hot-ranking-timeline?count=5&max_id=0&since_id=0&ranking_type=hour", {
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.