/api/weibo/channels
Total calls: 1
Channel list
Weibo channels: the "My channels" and "Recommended channels" groups, with name / ID / containerid.
- The channel ID is the number in the page URL:
102803inhttps://weibo.com/hot/weibo/102803is the channel ID (Hot); switching channels means switching this number. - Both groups are returned, distinguished by
section: "My channels" varies per signed-in account, while "Recommended channels" are Weibo's generic suggestions. - Pass
containeridalong: when fetching content, Weibo requiresgroup_idto be the channel ID andcontaineridto be its own value, and the two differ for most channels (e.g. Celebrity1028034288/102803_ctg1_4288_-_ctg1_4288). - This endpoint does not require a login (without a cookie it still returns a guest's default channels), but "My channels" varies per account.
- GET is also accepted (parameters go in the query string); because a Weibo cookie is long, POST with the cookie in the form body is recommended.
| Field | Type | Description |
|---|---|---|
| count | int | Total channels across both groups |
| groups[].section | string | Group name: My channels / Recommended channels |
| groups[].count | int | Number of channels in this group |
| groups[].channels[].id | string | Channel ID (= the number in /hot/weibo/{id}) |
| groups[].channels[].name | string | Channel name |
| groups[].channels[].containerid | string | Channel containerid (pass together with id when fetching content) |
| groups[].channels[].url | string | Channel page URL |