GET /v1/weibo/web_v2/fetch_hot_ranking_timeline
Get hot ranking timeline
stable · 2 credits per success
Get various types of hot ranking content from Weibo platform.;ranking_type: Ranking type (required);- hour: Hourly ranking;- yesterday: Yesterday ranking;- day_before: Day before ranking;- week: Weekly ranking;- male: Male ranking;- female: Female ranking;max_id: Pagination cursor, pass "0" for first request;count: Count (default 10);Hot post list, including post content, author info, interaction…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| count | integer | query | no | 获取数量,默认10 | 10 |
| max_id | string | query | no | 最大ID,默认为0 | 0 |
| since_id | string | query | no | 分页标识,默认为0 | 0 |
| ranking_type | string | query | yes | 榜单类型:hour=小时榜,yesterday=昨日榜,day_before=前日榜,week=周榜,male=男榜,female=女榜 | hour |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.