https://weibo.com/u/56987118825698711882/u/ 路径后直接获取纯数字ID,并作为请求参 数 uid 传入接口| 状态码 | 说明 |
|---|---|
| -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']['list'][i]['created_at'] | 发布时间 |
| ['data']['data']['list'][i]['id'] | 微博ID |
| ['data']['data']['list'][i]['idstr'] | 微博ID |
| ['data']['data']['list'][i]['mid'] | 微博ID |
| ['data']['data']['list'][i]['user']['id'] | 用户ID(整数) |
| ['data']['data']['list'][i]['user']['idstr'] | 用户ID(字符串) |
| ['data']['data']['list'][i]['user']['screen_name'] | 用户名 |
| ['data']['data']['next_cursor'] | 翻页参数 |
{
"uid": "7845254371",
"share_text": "",
"cursor": ""
}curl --location 'https://api.yddm.com/weibo/user_video' \
--header 'X-API-Key: {{X-API-Key}}' \
--header 'Content-Type: application/json' \
--data '{
"uid": "7845254371",
"share_text": "",
"cursor": ""
}'{
"code": 0,
"msg": "success",
"data": {
"cost": 100,
"balance": 82500,
"data": {
"list": [
{
"visible": {
"type": 0,
"list_id": 0
},
"created_at": "Sat Nov 22 23:12:08 +0800 2025",
"id": 5235921085796544,
"idstr": "5235921085796544",
"mid": "5235921085796544",
"mblogid": "Qf4teojWE",
"user": {
"id": 7845254371,
"idstr": "7845254371",
"pc_new": 0,
"screen_name": "木小北全屋定制",
"profile_image_url": "https://tvax1.sinaimg.cn/crop.0.0.1001.1001.50/008yVT2Ply8hewei0e7yjj30rt0rtmxd.jpg?KID=imgbed,tva&Expires=1764836904&ssig=Mh8Ts5CHLp",
"profile_url": "/u/7845254371",
"verified": false,
"verified_type": -1,
"domain": "",
"weihao": "",
"status_total_counter": {
"total_cnt_format": 8020,
"comment_cnt": "3,087",
"repost_cnt": "494",
"like_cnt": "4,439",
"total_cnt": "8,020"
},
"avatar_large": "https://tvax1.sinaimg.cn/crop.0.0.1001.1001.180/008yVT2Ply8hewei0e7yjj30rt0rtmxd.jpg?KID=imgbed,tva&Expires=1764836904&ssig=mGNMF3ckLP",
"avatar_hd": "https://tvax1.sinaimg.cn/crop.0.0.1001.1001.1024/008yVT2Ply8hewei0e7yjj30rt0rtmxd.jpg?KID=imgbed,tva&Expires=1764836904&ssig=Xy0HLfZbWQ",
"follow_me": false,
"following": false,
"mbrank": 6,
"mbtype": 12,
"v_plus": 0,
"user_ability": 2359304,
"planet_video": false,
"icon_list": [
{
"type": "vip",
"data": {
"mbrank": 6,
"mbtype": 12,
"svip": 0,
"vvip": 0
}
}
]
},
"can_edit": false,
"textLength": 27,
"annotations": [
{
"photo_sub_type": "0,0"
},
{
"client_mblogid": "4c76f6fb-cf57-4778-b345-943d6c212cb3"
},
{
"source_text": "",
"phone_id": ""
},
{
"mapi_request": true
}
],
"source": "<a target=\"_blank\" href=\"https://app.weibo.com/t/feed/ye4uq\" rel=\"nofollow\">HUAWEI Pura 70 Pro</a>",
"favorited": false,
"rid": "0_0_0_2022751638745356649_0_0_0",
"pic_ids": [
"008yVT2Pgy1i7lebwu8fxj33b04eoqv8",
"008yVT2Pgy1i7leby66a5j32c03401ky"
],
"pic_focus_point": [
{
"focus_point": {
"left": 0.056060974,
"top": 0.19861825,
"width": 0.9381244,
"height": 0.7035933
},
"pic_id": "008yVT2Pgy1i7leby66a5j32c03401ky"
},
{
"focus_point": {
"left": 0.027353773,
"top": 0.123699844,
"width": 0.9664361,
"height": 0.72482705
},
"pic_id": "008yVT2Pgy1i7lebwu8fxj33b04eoqv8"
}
],
"pic_num": 3,
"is_paid": false,
"mblog_vip_type": 0,
"number_display_strategy": {
"apply_scenario_flag": 19,
"display_text_min_number": 1000000,
"display_text": "100万+"
},
"reposts_count