o_author_idstringbắt buộc
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-business-card-infoReturns business card details for a Douyin Xingtu creator based on the specified author ID. Useful for reviewing creator profile summaries and business contact information.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"card_info": {
"author_avatar_frame_icon": 0,
"avatar_uri": "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oYELXPAPMdBIB6cEqBKiDijHbNBa3VAHAAkAZ.jpeg?from=3782654143",
"city": "长春",
"contact_status": 1,
"cooperation_brand": "",
"credit_score": "100",
"email": "",
"follower": "324591",
"has_wechat": true,
"lark_nick_name": "",
"mcn_info": {},
"nick_name": "芯科技Lady",
"phone": "186********",
"privacy_status": 1,
"self_intro": "",
"short_id": "69359823379",
"show_wechat": 2,
"star_excellent_author": "0",
"unique_id": "Xkjlady520",
"wechat": "xinLY52002"
}
}
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
Returns the business card of a Douyin Xingtu creator, including profile summary, follower count, city, and contact details. It needs one input, the creator's Xingtu author ID in o_author_id.
unique_id and short_id.mcn_info object.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-business-card-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7589271892177518598"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator/author ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"card_info": {
"author_avatar_frame_icon": 0,
"avatar_uri": "https://p26.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oYEL…",
"city": "长春",
"contact_status": 1,
"cooperation_brand": "",
"credit_score": "100",
"email": "",
"follower": "320991",
"has_wechat": true,
"lark_nick_name": "",
"mcn_info": {},
"nick_name": "芯科技Lady"
}
}
| Field | Meaning |
|---|---|
card_info.nick_name | Display name of the creator. |
card_info.follower | Follower count, returned as a string. |
card_info.credit_score | Creator credit score, returned as a string. The sample value is 100. |
card_info.city | City listed on the creator's card. |
card_info.unique_id / card_info.short_id | Douyin IDs for the creator. Use them to match the creator to a Douyin account. |
card_info.wechat / card_info.has_wechat / card_info.show_wechat | The WeChat account on the card, a flag for whether the creator has one, and a display setting for it. |
card_info.phone / card_info.email | Contact phone and email. The phone is partly masked in the sample, and the email can be an empty string. |
card_info.contact_status / card_info.privacy_status | Numeric status flags for contact availability and privacy settings on the card. |
card_info.mcn_info | MCN details for the creator. It is an empty object when none is returned. |
card_info.avatar_uri | URL of the creator's avatar image. |
email, self_intro and cooperation_brand mean the card has no value for them.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-business-card-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7589271892177518598"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
o_author_idstringbắt buộcCreator/author ID
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"card_info": {
"author_avatar_frame_icon": 0,
"avatar_uri": "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-i-0813c000-ce_oYELXPAPMdBIB6cEqBKiDijHbNBa3VAHAAkAZ.jpeg?from=3782654143",
"city": "长春",
"contact_status": 1,
"cooperation_brand": "",
"credit_score": "100",
"email": "",
"follower": "324591",
"has_wechat": true,
"lark_nick_name": "",
"mcn_info": {},
"nick_name": "芯科技Lady",
"phone": "186********",
"privacy_status": 1,
"self_intro": "",
"short_id": "69359823379",
"show_wechat": 2,
"star_excellent_author": "0",
"unique_id": "Xkjlady520",
"wechat": "xinLY52002"
}
}
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.01 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.003 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-business-card-info với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.01 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: o_author_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Xingtu Author Business Card Info chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.