获取用户信息
POST
/api/douyin/user_data请求参数
Body 参数application/json
sec_user_id
string
必需
视频ID(与share_text必填一项)
share_text
string
必需
用户主页分享链接(与id必填一项)
proxy
可选
代理(http或socks5)
Any of
为空使用程序默认代理
示例
{
"sec_user_id": "MS4wLjABAAAAcmS1UJphcbKEcmAQvWC8KLIyKCmzHIMGAl4L2Jhaw9QLV0O3PwSZVJJF31erxLXu",
"share_text": "",
"proxy": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
数据
user
object
用户信息
示例
{
"code": 200,
"msg": "请求成功",
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "202311301955599DF81D272FB9CE10E16E",
"now": 1701345359000
},
"log_pb": {
"impr_id": "202311301955599DF81D272FB9CE10E16E"
},
"status_code": 0,
"status_msg": null,
"user": {
"anchor_info": {
"scheduled_master_switch": true,
"scheduled_profile_switch": true,
"scheduled_time_text": "今天20:00"
},
"apple_account": 0,
"avatar_168x168": {
"height": 720,
"uri": "aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5~c5_168x168.jpeg?from=2956013662"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5~c5_300x300.jpeg?from=2956013662"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5.jpeg?from=2956013662"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5.jpeg?from=2956013662"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_150107bc4d25606ca60515d5d41241d5.jpeg?from=2956013662"
],
"width": 720
},
"aweme_count": 1146,
"aweme_count_correction_threshold": -1,
"birthday_hide_level": 0,
"can_set_item_cover": false,
"can_show_group_card": 1,
"card_entries": [
{
"goto_url": "aweme://im/FansGroup/GuestState",
"icon_dark": {
"uri": "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_dark.png",
"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"
]
},
"icon_light": {
"uri": "https://p3.douyinpic.com/obj/im-resource/old_fans_group_manage_light.png",
"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"
]
},
"sub_title": "2个群聊",
"title": "粉丝群",
"type": 2
}
],
"city": "重庆",
"close_friend_type": 0,
"commerce_info": {
"challenge_list": null,
"head_image_list": null,
"offline_info_list": [],
"smart_phone_list": null,
"task_list": null
},
"commerce_user_info": {
"ad_revenue_rits": null,
"has_ads_entry": true,
"show_star_atlas_cooperation": true,
"star_atlas": 1
},
"commerce_user_level": 0,
"country": "中国",
"cover_and_head_image_info": {
"cover_list": null,
"profile_cover_list": [
{
"cover_url": {
"uri": "douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=KawwybmGbfqtbYoxoWqM50OQi2w%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=dG4sjX%2BQ%2FSQjpZ06L%2BvsEvTwPXM%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=j1o%2BXdnl0jKH4L7vUrFfJYjElvc%3D&from=2480802190"
]
},
"dark_cover_color": "#FF0b141c",
"light_cover_color": "#FF0b141c"
}
]
},
"cover_colour": "#03373EE5",
"cover_url": [
{
"uri": "douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=KawwybmGbfqtbYoxoWqM50OQi2w%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=dG4sjX%2BQ%2FSQjpZ06L%2BvsEvTwPXM%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=j1o%2BXdnl0jKH4L7vUrFfJYjElvc%3D&from=2480802190"
]
},
{
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?x-expires=1701514800&x-signature=gn7iDo0MriVPcm7Ar1jSHbgQUrw%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?x-expires=1701514800&x-signature=RwIaMBPD7hZefRc3ah3y1xvom8k%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?x-expires=1701514800&x-signature=LHNsKeYieuc%2Fax2nWdtv1Yk1fe8%3D&from=2480802190"
]
}
],
"custom_verify": "",
"district": "渝中",
"dongtai_count": 0,
"dynamic_cover": {},
"enable_wish": false,
"enterprise_user_info": "{\"commerce_info\":{\"offline_info_list\":[],\"challenge_list\":null,\"task_list\":null,\"head_image_list\":null,\"smart_phone_list\":null},\"homepage_bottom_toast\":null,\"permissions\":[{\"Id\":3,\"Key\":\"ItemShop\",\"Name\":\"视频电商\",\"AppId\":1128,\"Status\":1,\"Extra\":null,\"Customization\":null,\"Parent\":0,\"Actions\":null},{\"Id\":4,\"Key\":\"LiveShop\",\"Name\":\"直播电商\",\"AppId\":1128,\"Status\":1,\"Extra\":null,\"Customization\":null,\"Parent\":0,\"Actions\":null},{\"Id\":5,\"Key\":\"UserShop\",\"Name\":\"个人橱窗\",\"AppId\":1128,\"Status\":1,\"Extra\":null,\"Customization\":null,\"Parent\":1,\"Actions\":null}],\"tab_ceiling_toast\":null,\"limiters\":null,\"attic_info\":null,\"profile_edit_button\":null,\"elite_center\":null,\"enterprise_card_visibility\":false,\"blue_label_edit_jump_url\":\"aweme://webview/?url=https%3A%2F%2Fapi.amemv.com%2Finsights%2Flite%2FcontactSetting%3Fhide_nav_bar%3D1%26title%3D%25E8%2581%2594%25E7%25B3%25BB%25E6%2596%25B9%25E5%25BC%258F%26enter_from%3Dcustomized_tab&hide_nav_bar=1&title=%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F&rn_schema=aweme%3A%2F%2Freactnative%2F%3Fchannel_name%3Drn_patch%26bundle_name%3Dbusiness%26module_name%3Dpage_e_lite_contactSetting%26force_h5%3D1%26hide_nav_bar%3D1%26bundle_url%3D%26title%3D%25E8%2581%2594%25E7%25B3%25BB%25E6%2596%25B9%25E5%25BC%258F%26enter_from%3Dcustomized_tab\"}",
"enterprise_verify_reason": "",
"favorite_permission": 1,
"favoriting_count": 0,
"follow_guide": true,
"follow_status": 0,
"follower_count": 2409769,
"follower_request_status": 0,
"follower_status": 0,
"following_count": 544,
"forward_count": 24,
"gender": 2,
"general_permission": {
"following_follower_list_toast": 1
},
"has_e_account_role": false,
"has_subscription": false,
"im_primary_role_id": 17,
"im_role_ids": [
17,
8,
19,
9
],
"image_send_exempt": false,
"ins_id": "",
"is_activity_user": false,
"is_ban": false,
"is_block": false,
"is_blocked": false,
"is_effect_artist": false,
"is_gov_media_vip": false,
"is_mix_user": true,
"is_not_show": false,
"is_series_user": false,
"is_sharing_profile_user": 0,
"is_star": false,
"iso_country_code": "CN",
"life_story_block": {
"life_story_block": false
},
"live_commerce": true,
"live_status": 0,
"max_follower_count": 2431363,
"message_chat_entry": true,
"mix_count": 2,
"mplatform_followers_count": 2412838,
"new_friend_type": 0,
"nickname": "拾光°",
"original_musician": {
"digg_count": 0,
"music_count": 0,
"music_used_count": 0
},
"pigeon_daren_status": "",
"pigeon_daren_warn_tag": "",
"profile_tab_type": 0,
"province": "",
"public_collects_count": 1,
"publish_landing_tab": 3,
"r_fans_group_info": {},
"recommend_reason_relation": "",
"recommend_user_reason_source": 0,
"risk_notice_text": "",
"role_id": "00460,00429,00006",
"room_id": 0,
"school_name": null,
"sec_uid": "MS4wLjABAAAAcmS1UJphcbKEcmAQvWC8KLIyKCmzHIMGAl4L2Jhaw9QLV0O3PwSZVJJF31erxLXu",
"secret": 0,
"series_count": 0,
"share_info": {
"bool_persist": 1,
"share_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。",
"share_image_url": {
"uri": "tos-cn-p-0015/73a4c13ef4e54c5faf726217a17112b5_1701273589",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/tos-cn-p-0015/73a4c13ef4e54c5faf726217a17112b5_1701273589?x-expires=1701514800&x-signature=voNldggbXg5U55xrQxRrS3uQDNw%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/73a4c13ef4e54c5faf726217a17112b5_1701273589?x-expires=1701514800&x-signature=hJ9umgGq9dL8YbM9xfbyNs7pOm4%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/tos-cn-p-0015/73a4c13ef4e54c5faf726217a17112b5_1701273589?x-expires=1701514800&x-signature=ug1OHXI2LYNMhHUMHmot7I%2FAkRw%3D&from=2480802190"
]
},
"share_qrcode_url": {
"uri": "2ed58000606f8eed16cba",
"url_list": [
"https://p3.douyinpic.com/obj/2ed58000606f8eed16cba",
"https://p11.douyinpic.com/obj/2ed58000606f8eed16cba",
"https://p6.douyinpic.com/obj/2ed58000606f8eed16cba"
]
},
"share_title": "快来加入抖音,让你发现最有趣的我!",
"share_url": "www.iesdouyin.com/share/user/MS4wLjABAAAAcmS1UJphcbKEcmAQvWC8KLIyKCmzHIMGAl4L2Jhaw9QLV0O3PwSZVJJF31erxLXu?did=MS4wLjABAAAAo3DbDxqS_-wgm2y4k3JjivoOfwVCM1DkCh4uMFwxVgG04i9BOmM4auVt_juunqyn&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&sec_uid=MS4wLjABAAAAcmS1UJphcbKEcmAQvWC8KLIyKCmzHIMGAl4L2Jhaw9QLV0O3PwSZVJJF31erxLXu&from_ssr=1&from_aid=6383&u_code=16ab9g2a6",
"share_weibo_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。"
},
"short_id": "0",
"show_favorite_list": false,
"show_subscription": false,
"signature": "🕊️祝前程似锦,顶峰相见.\n🕊️周一到周六 晚9:30,拾光直播间,不见不散.\n🛰️合作/推歌/教学:mooker520\n🛰️招募/电台/声控:terble520",
"signature_display_lines": 1,
"signature_language": "zh",
"special_follow_status": 0,
"sync_to_toutiao": 0,
"tab_settings": {
"private_tab": {
"private_tab_style": 1,
"show_private_tab": false
}
},
"total_favorited": 42532844,
"total_favorited_correction_threshold": -1,
"twitter_id": "",
"twitter_name": "",
"uid": "4300886819997343",
"unique_id": "terble520",
"urge_detail": {
"user_urged": 0
},
"user_age": 26,
"user_not_see": 0,
"user_not_show": 1,
"verification_type": 0,
"video_cover": {},
"video_icon": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"watch_status": false,
"white_cover_url": [
{
"uri": "douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=KawwybmGbfqtbYoxoWqM50OQi2w%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=dG4sjX%2BQ%2FSQjpZ06L%2BvsEvTwPXM%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/douyin-user-image-file/9909f50b32a6fd94e97ed149317c7f7c?x-expires=1701514800&x-signature=j1o%2BXdnl0jKH4L7vUrFfJYjElvc%3D&from=2480802190"
]
},
{
"uri": "318f1000413827e122102",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/318f1000413827e122102?x-expires=1701514800&x-signature=vGzgqCOo6yexhHpMRnkSSLyX2o0%3D&from=2480802190",
"https://p9-pc-sign.douyinpic.com/obj/318f1000413827e122102?x-expires=1701514800&x-signature=gtQHKgAz0tH%2FAhspGdZwHv2GrSo%3D&from=2480802190",
"https://p6-pc-sign.douyinpic.com/obj/318f1000413827e122102?x-expires=1701514800&x-signature=y65SD%2BlyXmM6aFGj9KKzQUPn2%2F0%3D&from=2480802190"
]
}
],
"with_commerce_enterprise_tab_entry": false,
"with_commerce_entry": true,
"with_fusion_shop_entry": true,
"with_new_goods": false,
"youtube_channel_id": "",
"youtube_channel_title": ""
}
}
}
最后修改时间: 1 个月前