- douyin
- bilibili
- kuaishou
获取博主主页信息数据
开发环境
开发环境
GET
http://localhost:4567/api/douyin/fetch_user_info
最后修改时间:2024-10-02 13:24:42
请求参数
Query 参数
sec_uid
string
博主id
示例值:
MS4wLjABAAAAz-b94l1GfKV-C57fL4Oyv3qbgAU7lAGUAWo2lTuo4HfhJo1nBl5nrjjd8ejNbeWF
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:4567/api/douyin/fetch_user_info?sec_uid=MS4wLjABAAAAz-b94l1GfKV-C57fL4Oyv3qbgAU7lAGUAWo2lTuo4HfhJo1nBl5nrjjd8ejNbeWF'
返回响应
🟢200成功
application/json
Body
extra
object
必需
fatal_item_ids
array[string]
必需
logid
string
必需
now
integer
必需
log_pb
object
必需
impr_id
string
必需
status_code
integer
必需
status_msg
null
必需
user
object
必需
account_cert_info
string
必需
apple_account
integer
必需
avatar_168x168
object
必需
avatar_300x300
object
必需
avatar_larger
object
必需
avatar_medium
object
必需
avatar_thumb
object
必需
aweme_count
integer
必需
aweme_count_correction_threshold
integer
必需
birthday_hide_level
integer
必需
can_set_item_cover
boolean
必需
can_show_group_card
integer
必需
card_entries
array [object {6}]
必需
city
null
必需
close_friend_type
integer
必需
commerce_info
object
必需
commerce_user_info
object
必需
commerce_user_level
integer
必需
country
string
必需
cover_and_head_image_info
object
必需
cover_colour
string
必需
cover_url
array [object {2}]
必需
custom_verify
string
必需
district
null
必需
dongtai_count
integer
必需
dynamic_cover
object
必需
enable_ai_double
integer
必需
enable_wish
boolean
必需
enterprise_user_info
string
必需
enterprise_verify_reason
string
必需
familiar_confidence
integer
必需
favorite_permission
integer
必需
favoriting_count
integer
必需
follow_status
integer
必需
follower_count
integer
必需
follower_request_status
integer
必需
follower_status
integer
必需
following_count
integer
必需
forward_count
integer
必需
gender
null
必需
general_permission
object
必需
has_e_account_role
boolean
必需
has_subscription
boolean
必需
im_primary_role_id
integer
必需
im_role_ids
array[integer]
必需
image_send_exempt
boolean
必需
ins_id
string
必需
ip_location
string
必需
is_activity_user
boolean
必需
is_ban
boolean
必需
is_block
boolean
必需
is_blocked
boolean
必需
is_effect_artist
boolean
必需
is_gov_media_vip
boolean
必需
is_mix_user
boolean
必需
is_not_show
boolean
必需
is_series_user
boolean
必需
is_sharing_profile_user
integer
必需
is_star
boolean
必需
iso_country_code
string
必需
life_story_block
object
必需
live_commerce
boolean
必需
live_status
integer
必需
mate_add_permission
integer
必需
mate_relation
object
必需
max_follower_count
integer
必需
message_chat_entry
boolean
必需
mix_count
integer
必需
mplatform_followers_count
integer
必需
new_friend_type
integer
必需
nickname
string
必需
official_cooperation
object
必需
original_musician
object
必需
pigeon_daren_status
string
必需
pigeon_daren_warn_tag
string
必需
profile_show
object
必需
profile_tab_type
integer
必需
province
null
必需
public_collects_count
integer
必需
publish_landing_tab
integer
必需
r_fans_group_info
object
必需
recommend_reason_relation
string
必需
recommend_user_reason_source
integer
必需
risk_notice_text
string
必需
role_id
string
必需
room_id
integer
必需
room_id_str
string
必需
school_name
null
必需
sec_uid
string
必需
secret
integer
必需
series_count
integer
必需
share_info
object
必需
short_id
string
必需
show_favorite_list
boolean
必需
show_subscription
boolean
必需
signature
string
必需
signature_display_lines
integer
必需
signature_language
string
必需
social_real_relation_type
integer
必需
special_follow_status
integer
必需
story_tab_empty
boolean
必需
sync_to_toutiao
integer
必需
tab_settings
object
必需
total_favorited
integer
必需
total_favorited_correction_threshold
integer
必需
twitter_id
string
必需
twitter_name
string
必需
uid
string
必需
unique_id
string
必需
urge_detail
object
必需
user_age
integer
必需
user_not_see
integer
必需
user_not_show
integer
必需
user_permissions
array [object {2}]
必需
verification_type
integer
必需
video_cover
object
必需
video_icon
object
必需
watch_status
boolean
必需
white_cover_url
array [object {2}]
必需
with_commerce_enterprise_tab_entry
boolean
必需
with_commerce_entry
boolean
必需
with_fusion_shop_entry
boolean
必需
with_new_goods
boolean
必需
youtube_channel_id
string
必需
youtube_channel_title
string
必需
示例
{
"extra": {
"fatal_item_ids": [],
"logid": "20250201192528FE0752757D3B3C0396ED",
"now": 1738409128000
},
"log_pb": {
"impr_id": "20250201192528FE0752757D3B3C0396ED"
},
"status_code": 0,
"status_msg": null,
"user": {
"account_cert_info": "{}",
"apple_account": 0,
"avatar_168x168": {
"height": 720,
"uri": "aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652~c5_168x168.jpeg?from=2956013662"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652",
"url_list": [
"https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652~c5_300x300.jpeg?from=2956013662"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652.jpeg?from=2956013662"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652.jpeg?from=2956013662"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652",
"url_list": [
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-c9aec8xkvj_7eb2ad80f7c34273bac6a66a9bd19652.jpeg?from=2956013662"
],
"width": 720
},
"aweme_count": 396,
"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/ic_commodity_dark3.png",
"url_list": [
"https://p3.douyinpic.com/obj/im-resource/ic_commodity_dark3.png",
"https://p6.douyinpic.com/obj/im-resource/ic_commodity_dark3.png",
"https://p9.douyinpic.com/obj/im-resource/ic_commodity_dark3.png"
]
},
"icon_light": {
"uri": "https://p3.douyinpic.com/obj/im-resource/ic_commodity_light3.png",
"url_list": [
"https://p3.douyinpic.com/obj/im-resource/ic_commodity_light3.png",
"https://p6.douyinpic.com/obj/im-resource/ic_commodity_light3.png",
"https://p9.douyinpic.com/obj/im-resource/ic_commodity_light3.png"
]
},
"sub_title": "2个群聊",
"title": "公开群",
"type": 2
}
],
"city": null,
"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": "tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=1gQxFFKEbuW6fhRwxfz%2BprA7JfM%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=uLpUVr3a1m16Rxaj4uHKnWK56H4%3D&from=2480802190"
]
},
"dark_cover_color": "#FF66434e",
"light_cover_color": "#FF66434e"
}
]
},
"cover_colour": "#03373EE5",
"cover_url": [
{
"uri": "tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=1gQxFFKEbuW6fhRwxfz%2BprA7JfM%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=uLpUVr3a1m16Rxaj4uHKnWK56H4%3D&from=2480802190"
]
},
{
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=93de098e&x-expires=1738580400&x-signature=37NUe0%2F127G7edHUAC9ZZRP74pg%3D&from=2480802190",
"https://p9-pc-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=93de098e&x-expires=1738580400&x-signature=0pg6x5hV72Nn%2B5H0BORsChUb3as%3D&from=2480802190"
]
}
],
"custom_verify": "",
"district": null,
"dongtai_count": 0,
"dynamic_cover": {},
"enable_ai_double": 0,
"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,\"Parent\":0,\"CreateTime\":1738409128,\"UpdateTime\":1738409128},{\"Id\":4,\"Key\":\"LiveShop\",\"Name\":\"直播电商\",\"AppId\":1128,\"Status\":1,\"Parent\":0,\"CreateTime\":1738409128,\"UpdateTime\":1738409128},{\"Id\":5,\"Key\":\"UserShop\",\"Name\":\"个人橱窗\",\"AppId\":1128,\"Status\":1,\"Parent\":1,\"CreateTime\":1738409128,\"UpdateTime\":1738409128}],\"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": "",
"familiar_confidence": 0,
"favorite_permission": 1,
"favoriting_count": 0,
"follow_status": 0,
"follower_count": 109237,
"follower_request_status": 0,
"follower_status": 0,
"following_count": 338,
"forward_count": 0,
"gender": null,
"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": "",
"ip_location": "IP属地:广东",
"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": "JP",
"life_story_block": {
"life_story_block": false
},
"live_commerce": true,
"live_status": 0,
"mate_add_permission": 1,
"mate_relation": {
"mate_apply_forward": 0,
"mate_apply_reverse": 0,
"mate_status": 0
},
"max_follower_count": 111850,
"message_chat_entry": true,
"mix_count": 0,
"mplatform_followers_count": 109237,
"new_friend_type": 0,
"nickname": "呀桑",
"official_cooperation": {
"schema": "aweme://webview?url=https%3A%2F%2Fwww.xingtu.cn%2Fstar_promotion%2Fmobile%2Fad%2Fredirect%3Fshould_full_screen%3D1%26hide_nav_bar%3D1%26scene%3Dpromotion%26source_user_id%3D70752093684%26author_id%3D4064266847534408",
"text": "找我合作上星图",
"track_type": "starmap"
},
"original_musician": {
"digg_count": 0,
"music_count": 0,
"music_used_count": 0
},
"pigeon_daren_status": "",
"pigeon_daren_warn_tag": "",
"profile_show": {
"identify_auth_infos": null
},
"profile_tab_type": 0,
"province": null,
"public_collects_count": 0,
"publish_landing_tab": 3,
"r_fans_group_info": {},
"recommend_reason_relation": "",
"recommend_user_reason_source": 0,
"risk_notice_text": "",
"role_id": "00006,00429",
"room_id": 0,
"room_id_str": "0",
"school_name": null,
"sec_uid": "MS4wLjABAAAAz-b94l1GfKV-C57fL4Oyv3qbgAU7lAGUAWo2lTuo4HfhJo1nBl5nrjjd8ejNbeWF",
"secret": 0,
"series_count": 0,
"share_info": {
"bool_persist": 1,
"life_share_ext": "{\"life_share_id\":\"d4fe7ea52d95428e9329a01a35fcec5d\",\"from_user_id\":70752093684}",
"share_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。",
"share_image_url": {
"uri": "tos-cn-p-0015/o8HOALiAeImAaC4vzSIA81BzqKOiiAWfBgXd3w",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/tos-cn-p-0015/o8HOALiAeImAaC4vzSIA81BzqKOiiAWfBgXd3w?lk3s=93de098e&x-expires=1738580400&x-signature=pBe9tKS%2F4cUk5Fxo2%2Fhzee4oDkM%3D&from=2480802190",
"https://p9-pc-sign.douyinpic.com/obj/tos-cn-p-0015/o8HOALiAeImAaC4vzSIA81BzqKOiiAWfBgXd3w?lk3s=93de098e&x-expires=1738580400&x-signature=Ooi%2FMilG2cCyvACN1w1sB56cTb0%3D&from=2480802190"
]
},
"share_qrcode_url": {
"uri": "31c0100121d138dedc248",
"url_list": [
"https://p26.douyinpic.com/obj/31c0100121d138dedc248",
"https://p11.douyinpic.com/obj/31c0100121d138dedc248",
"https://p3.douyinpic.com/obj/31c0100121d138dedc248"
]
},
"share_title": "快来加入抖音,让你发现最有趣的我!",
"share_url": "www.iesdouyin.com/share/user/MS4wLjABAAAAz-b94l1GfKV-C57fL4Oyv3qbgAU7lAGUAWo2lTuo4HfhJo1nBl5nrjjd8ejNbeWF?from_ssr=1&from_aid=6383&u_code=khlde5m6&did=MS4wLjABAAAAvLlH3-HlQdi-Wrums7TDiLDUSx21_1_3QuDsoRPTRTxNFTJqr0Eh9Ums4wEXIAoF&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&sec_uid=MS4wLjABAAAAz-b94l1GfKV-C57fL4Oyv3qbgAU7lAGUAWo2lTuo4HfhJo1nBl5nrjjd8ejNbeWF",
"share_weibo_desc": "长按复制此条消息,打开抖音搜索,查看TA的更多作品。"
},
"short_id": "0",
"show_favorite_list": false,
"show_subscription": false,
"signature": "素材 共创 (有偿!)➕🐧:2214926624 \n🛰️:yahalojy (备明来意)\n小屋:639871783",
"signature_display_lines": 1,
"signature_language": "un",
"social_real_relation_type": 0,
"special_follow_status": 0,
"story_tab_empty": false,
"sync_to_toutiao": 0,
"tab_settings": {
"private_tab": {
"private_tab_style": 1,
"show_private_tab": false
}
},
"total_favorited": 23485484,
"total_favorited_correction_threshold": -1,
"twitter_id": "",
"twitter_name": "",
"uid": "4064266847534408",
"unique_id": "yahaloyui520",
"urge_detail": {
"ctl_map": "{\"button_background_url\":\"https://p11-webcast.douyinpic.com/img/webcast/urge_update.png~tplv-obj.image\",\"urge_type\":\"\",\"dispose_to_moment\":\"1\",\"next_urge_type\":\"default\",\"button_text\":\"求更新\",\"toast\":\"✅作者已收到“求更新”提醒~\"}",
"user_urged": 0
},
"user_age": 22,
"user_not_see": 0,
"user_not_show": 1,
"user_permissions": [
{
"key": "douplus_user_type",
"value": "1"
}
],
"verification_type": 0,
"video_cover": {},
"video_icon": {
"height": 720,
"uri": "",
"url_list": [],
"width": 720
},
"watch_status": false,
"white_cover_url": [
{
"uri": "tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR",
"url_list": [
"https://p9-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=1gQxFFKEbuW6fhRwxfz%2BprA7JfM%3D&from=2480802190",
"https://p3-pc-sign.douyinpic.com/obj/tos-cn-i-0813/os4AaCD72dnA9tgjtfATeMjAbZDADkIAuyEjYR?lk3s=93de098e&x-expires=1738580400&x-signature=uLpUVr3a1m16Rxaj4uHKnWK56H4%3D&from=2480802190"
]
},
{
"uri": "318f1000413827e122102",
"url_list": [
"https://p3-pc-sign.douyinpic.com/obj/318f1000413827e122102?lk3s=93de098e&x-expires=1738580400&x-signature=gWcRPWXP5jsepVTXQ%2Bsv9FR9sXI%3D&from=2480802190",
"https://p9-pc-sign.douyinpic.com/obj/318f1000413827e122102?lk3s=93de098e&x-expires=1738580400&x-signature=cRUnCHrCvIx%2ByZH%2FrNLny4q2%2FD0%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": ""
}
}
修改于 2024-10-02 13:24:42