| 状态码 | 说明 |
|---|---|
| -1 | failed |
| 0 | success |
| 400 | 参数错误 |
| 1001 | 账户余额不足 |
| 1002 | 邮箱/手机号或密码错误 |
| 1003 | 请求频率超过上限 |
| 1004 | 邮箱或手机号已注册 |
| 1005 | 无效的 API Key |
| 1006 | 用户不存在 |
| 1007 | 登录凭证无效 |
| 1008 | 缺少 API Key |
| 1009 | 手机或邮箱已存在 |
| 1010 | 需要管理员授权 |
| 1011 | 原密码错误 |
| 1012 | 新密码不能与原密码相同 |
| 1013 | 手机号和uid不能都为空 |
| 1014 | 请填写验证码 |
| 1015 | 验证码错误或已过期 |
| 1016 | 登录失败次数过多,请输入 验证码 |
| 1017 | 请填写手机号 |
| 1018 | 请填写邮箱 |
| 1019 | 接口不存在,请检查 |
| 5000 | 服务暂时不可用,请稍后重试 |
| 5003 | 网络连接失败,请稍后重试 |
| 6001 | 修改密码失败,请稍后重试 |
| 字段 | 说明 |
|---|---|
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['comments_count'] | 评论数 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['created_at'] | 创建时间 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['region_name'] | 发布地区 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['reposts_count'] | 转发数 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['source'] | 来源 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['status_city'] | 城市 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['status_country'] | 国家 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['status_province'] | 省份 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['text'] | 正文 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['user']['id'] | 用户ID |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['user']['screen_name'] | 用户名 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['user']['description'] | 个人简介 |
| ['data']['data']['cards'][i]['card_group'][i]['mblog']['user']['follow_count'] | 粉丝 |
{
"name": "人民日报",
"page": 1
}curl --location 'https://api.yddm.com/weibo/topic_detail' \
--header 'X-API-Key: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"name": "人民日报",
"page": 1
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 82000,
"ok": 1,
"data": {
"cardlistInfo": {
"is_first_level": 1,
"v_p": "42",
"containerid": "231522type=1&t=10&q=#人民日报#",
"total": 859,
"starttime": 1764827054,
"search_request_id": "2237361f93b07289a644972ec0c4ebd5",
"search_ssid": "2237361f93b07289a644972ec0c4ebd5",
"search_vsid": "2237361f93b07289a644972ec0c4ebd5",
"can_shared": 1,
"page_size": "10",
"cardlist_head_cards": [
[],
{
"head_type": 0,
"head_type_name": "channel_list",
"show_menu": 1,
"menu_scheme": "sinaweibo://cardlist?containerid=231522type%3D42%26q%3D%23%E4%BA%BA%E6%B0%91%E6%97%A5%E6%8A%A5%23%26t%3D10&extparam=%26selected_type%3D1%26selected_containerid%3D231522type%3D1%26t%3D10%26q%3D%23%E4%BA%BA%E6%B0%91%E6%97%A5%E6%8A%A5%23",
"channel_list": [
{
"id": "1",
"name": "综合",
"default_add": 1,
"must_show": 1,
"scheme": "sinaweibo://selectchannel?containerid=231522type=1&t=10&q=#人民日报#",
"containerid": "231522type=1&t=10&q=#人民日报#",
"request_mark_interval": 999000,
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:2032622420|type:1|t:10|pos:1-3-0|q:#人民日报#|srid:2237361f93b07289a644972ec0c4ebd5|search_ssid:2237361f93b07289a644972ec0c4ebd5|search_vsid:2237361f93b07289a644972ec0c4ebd5|ext:&qri=576460752303448064&ac_qri=48&qrt=2&qtime=1764827054&|search_layout:default",
"luicode": null,
"uicode": null,
"fid": "231522type=1&t=10&q=#人民日报#",
"lfid": null
}
},
"dynaConfig": {
"bizType": "search",
"enable": true,
"bizArray": [
"common",
"search",
"play"
]
}
},
{
"id": "61",
"name": "实时",
"default_add": 1,
"must_show": 1,
"scheme": "sinaweibo://selectchannel?containerid=231522type%3D61%26q%3D%23%E4%BA%BA%E6%B0%91%E6%97%A5%E6%8A%A5%23%26t%3D10",
"containerid": "231522type=61&q=#人民日报#&t=10",
"request_mark_interval": -1,
"expose": {
"actionlog": {
"act_code": 6688,
"ext": "seqid:2032622420|type:1|t:10|pos:1-3-1|q:#人民日报#|srid:2237361f93b07289a644972ec0c4ebd5|search_ssid:2237361f93b07289a644972ec0c4ebd5|search_vsid:2237361f93b07289a644972ec0c4ebd5|ext:&qri=576460752303448064&ac_qri=48&qrt=2&qtime=1764827054&|search_layout:default",
"luicode": null,
"uicode": null,
"fid": "231522type=1&t=10&q=#人民日报#",
"lfid": null
}
}
},
{
"id": "64",
"name": "视频",
"default_add": 1,
"must_show": 1,
"scheme": "sinaweibo://selectchannel?containerid=231522type%3D64%26q%3D%23%E4%BA%BA%E6%B0%91%E6%97%A5%E6%8A%A5%23%26t%3D10",
"containerid": "231522type=64&q=#人民日报#&t=10",
"request_mark_interval": 999000,
"expose": {
"actionlog": {
"act_code": 6688,