全部
在线测试

获取抖音用户信息


接口地址: http://api.vv-tool.com/tool/accounts/dyusermsg


请求方式: GET


接口介绍: 提供的数据:用户名称、用户头像、分享数据、介绍 点击查看详情


返回格式: JSON


接口收费: 扣账户余额


频率限制: 10 次/秒


请求头参数

参数 类型 必选 示例
Authorization string 授权 access_token Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx

请求参数

参数 类型 必选 描述
userId string 用户 id

请求示例

userId:MS4wLjABAAAA07Z6fx4H67g7rmBuEuwm22zLnyT3J0MaSEQBWETiHQY

请求代码示例

cURL请求代码示例

curl --location --request GET 'http://api.vv-tool.com/tool/accounts/dyusermsg?userId=MS4wLjABAAAA07Z6fx4H67g7rmBuEuwm22zLnyT3J0MaSEQBWETiHQY' \
--header 'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx' \
--header 'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'

PHP请求代码示例
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'http://api.vv-tool.com/tool/accounts/dyusermsg?userId=MS4wLjABAAAA07Z6fx4H67g7rmBuEuwm22zLnyT3J0MaSEQBWETiHQY',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'GET',
  CURLOPT_HTTPHEADER => array(
    'Authorization: Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx',
    'Cookie: PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;



JAVA请求代码示例
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
Request request = new Request.Builder()
  .url("http://api.vv-tool.com/tool/accounts/dyusermsg?userId=MS4wLjABAAAA07Z6fx4H67g7rmBuEuwm22zLnyT3J0MaSEQBWETiHQY")
  .method("GET", null)
  .addHeader("Authorization", "Bearer 1798c6aadec33d1bc2f5b707f1049aefexxxx")
  .addHeader("Cookie", "PHPSESSID=q7om22repophu3ula65ihq92dk; _csrf=9107a318c49bc9378fcc1e47fcc8368ea28ea44c840eb5f6b0ef62d32900458aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22c5cr8oedpzMahWxuguhIDGg_61fHfnom%22%3B%7D")
  .build();
Response response = client.newCall(request).execute();

响应参数

参数 类型 描述
code int 返回状态码
msg string 返回码描述
msec int 接口执行时间
time int 接口返回时间
data object 返回数据信息
avatar object 头像数据
-height string 高度
-uri string 路径
-url_list string 路径集合
-width string 宽度
aweme_count string aweme_count
birthday_hide_level string birthday_hide_level
following_count string 关注数
total_favorited string 获赞数
mplatform_followers_count string 粉丝数
unique_id string 抖音号
card_entries object 数据
-sub_title string 描述
-icon_dark array 数据
--uri string 图片路径
--url_list string 图片集合
-icon_light object 数据
--url_list string 图片集合
--url string 图片路径
-goto_url string goto_url
-title string 描述
-type string type
share_info object 分享数据
-share_desc string 标题
-share_image_url object 图片集合
-share_qrcode_url object 图片集合
-share_title string 标题
-share_url string 分享路径
-share_weibo_desc string 标题
nickname string 用户名字
signature string 介绍
withholding_money int 该接口扣费金额(点券)

返回数据


{
    "code": 0,
    "msg": "成功",
    "msec": 1999,
    "time": 1658925816,
    "data": {
        "avatar_168x168": {
            "url_list": [
                "https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_5ac70b0f7029ad13384ca659268d19fe~c5_168x168.jpeg?from=2956013662"
            ],
            "width": 720,
            "uri": "aweme-avatar/tos-cn-avt-0015_5ac70b0f7029ad13384ca659268d19fe",
            "height": 720
        },
        "avatar_300x300": {
            "url_list": [
                "https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_5ac70b0f7029ad13384ca659268d19fe~c5_300x300.jpeg?from=2956013662"
            ],
            "width": 720,
            "uri": "aweme-avatar/tos-cn-avt-0015_5ac70b0f7029ad13384ca659268d19fe",
            "height": 720
        },
        "aweme_count": 284,
        "birthday_hide_level": 1,
        "following_count": 21,
        "total_favorited": 51144033,
        "mplatform_followers_count": 1175716,
        "card_entries": [
            {
                "sub_title": "5个群聊",
                "icon_dark": {
                    "url_list": [
                        "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_dark.png",
                        "https://p6.douyinpic.com/obj/im-resource/old_fans_group_manage_dark.png",
                        "https://p9.douyinpic.com/obj/im-resource/old_fans_group_manage_dark.png"
                    ],
                    "uri": "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_dark.png"
                },
                "icon_light": {
                    "url_list": [
                        "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_light.png",
                        "https://p6.douyinpic.com/obj/im-resource/old_fans_group_manage_light.png",
                        "https://p9.douyinpic.com/obj/im-resource/old_fans_group_manage_light.png"
                    ],
                    "uri": "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_light.png"
                },
                "goto_url": "aweme://im/FansGroup/GuestState",
                "title": "粉丝群",
                "type": 2
            }
        ],
        "share_info": {
            "share_qrcode_url": {
                "url_list": [
                    "https://p26.douyinpic.com/obj/31ad900166e5476abce2d",
                    "https://p9.douyinpic.com/obj/31ad900166e5476abce2d",
                    "https://p6.douyinpic.com/obj/31ad900166e5476abce2d"
                ],
                "uri": "31ad900166e5476abce2d"
            },
            "share_title": "快来加入抖音,让你发现最有趣的我!",
            "share_url": "www.iesdouyin.com/share/user/MS4wLjABAAAAETSUnFsCkQ8BtAO2wgdjGgJTvdLJf0jinPlAnUTct9lZRwsBOl1a2PIwekGAvg_e?did=MS4wLjABAAAAGCs0JkzY51_VtG22MjHAknL3gFMYfKk7yJDcTsMT5Bqj9Q0QHKDTA8iABSsfjJV-&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&sec_uid=MS4wLjABAAAAETSUnFsCkQ8BtAO2wgdjGgJTvdLJf0jinPlAnUTct9lZRwsBOl1a2PIwekGAvg_e",
            "share_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。",
            "share_weibo_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。",
            "bool_persist": 1,
            "share_image_url": {
                "url_list": [
                    "https://p9-pc-sign.douyinpic.com/obj/tos-cn-p-0015/41598d1d78d344e28c406fbe5325b3a1_1658907221?x-expires=1659096000&x-signature=WJmsV9pa75RQlCut7KR0OtD6r94%3D&from=2480802190",
                    "https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/41598d1d78d344e28c406fbe5325b3a1_1658907221?x-expires=1659096000&x-signature=cmI4yxf2NMTTQxlX40z0g%2FuucOw%3D&from=2480802190",
                    "https://p6-pc-sign.douyinpic.com/obj/tos-cn-p-0015/41598d1d78d344e28c406fbe5325b3a1_1658907221?x-expires=1659096000&x-signature=5LeOlCp9iBQJmht%2F7eYaGmYIqhE%3D&from=2480802190"
                ],
                "uri": "tos-cn-p-0015/41598d1d78d344e28c406fbe5325b3a1_1658907221"
            }
        },
        "nickname": "aaa",
        "signature": "别不幸福",
        "withholding_money": 1
    }
}

响应代码

代码 代码描述 解决方案
0 成功
100 请求参数错误 检查您的请求参数是否正确
101 请求超时,请重试 检查您的网络情况或者联系客服解决
200 系统错误,请联系客服 检查您的接口地址填写是否正确,其他问题联系客服解决
203 暂不支持当前接口
204 请求异常:无该接口权限,请前往官网开通正式接口。 前往官网开通该接口权限
204 请求异常:API 调用次数不足,请前往网站兑换次数。 前往官网充值该接口调用次数
401 身份凭证无效 在请求头中添加 access_token