oAuthorIdstringbắt buộc
Author's unique Xingtu ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videosList a Douyin Creator Marketplace (Xingtu) creator's homepage videos with keyword, video-type, assignment, date, and page filters. Use it to review relevant content before campaign selection.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
This API returns a page of videos from a Douyin creator's homepage as listed in Xingtu. It needs the creator's Xingtu ID in oAuthorId. You can narrow the list by keyword, video type, assignment status and publish date.
keyword to check whether they have covered a brand or product topic.XINGTU videos to see the creator's past platform-assigned work.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique Xingtu ID. |
endDate | string | No | End publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai. |
keyword | string | No | Keyword used to search creator homepage videos. |
onlyAssign | boolean | No | Whether to include only assigned videos. Xingtu usually shows this option when videoType is XINGTU. |
page | integer | No | Page number, starting from 1. |
startDate | string | No | Start publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai. |
videoType | string | No | Homepage video type filter. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "91",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/643299bf28474b9e9adc28a863baeba6",
"create_time": "1793113313",
"duration": 12.538,
"finish_rate": 0.135421,
"interact_rate": 0.024438,
"item_id": "7701362991266123034",
"like_cnt": "665436",
"title": "网友拍到高速两旁,挂满一块块不一样的“广告牌”……致敬国之栋梁!(来源:@有名 )",
"url": "https://www.iesdouyin.com/share/video/7701362991266123034/?region=CN&mid=7667641…",
"video_id": "v0d00fg10000dbgbp67og65rp7vvjd00"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 2518
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is the numeric ID that also appears in the share url. |
items[].title | Video caption text, including any hashtags and @mentions. |
items[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
items[].duration | Video length. The values look like seconds with decimals. |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They come back as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimal fractions. |
items[].url | Share link for the video on Douyin. |
items[].cover_uri | Cover image path for the video. |
items[].content_theme_labels | Content theme labels for the video. The list is empty in this sample. |
pagination.has_more / pagination.total_count | has_more tells you whether another page exists. total_count is the total number of matching videos. |
oAuthorId from Douyin Xingtu Creator Search.page to move through results, starting at 1. Each page returned limit 20 items in this sample.startDate and endDate as yyyyMMdd strings. Check base_resp.status_code, where 0 means success.$0.071429 per successful call. Failed calls are not charged.
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-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "6870161898013196295",
"videoType": "ALL",
"onlyAssign": false
}'Đặ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.
oAuthorIdstringbắt buộcAuthor's unique Xingtu ID.
pageintegerPage number, starting from 1.
Mặc định: 1
keywordstringKeyword used to search creator homepage videos.
videoTypestringHomepage video type filter.
Mặc định: "ALL"
Giá trị có thể dùng: ALL, PERSONAL, XINGTU
onlyAssignbooleanWhether to include only assigned videos. Xingtu usually shows this option when `videoType` is `XINGTU`.
Mặc định: false
startDatestringStart publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai.
endDatestringEnd publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai.
Đâ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.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.071429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 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-v3/aggregator-author-homepage-videos 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.071429 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: oAuthorId (string). Tùy chọn: page (integer), keyword (string), videoType (một trong số ALL, PERSONAL, XINGTU), onlyAssign (boolean), startDate (string) và endDate (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 Creator Homepage Videos 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.