oAuthorIdstring필수
Xingtu author ID
https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1Get Author Homepage Videos V1 on Douyin. Returns the platform data as structured JSON.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns a page of videos from a Douyin author's Xingtu homepage, with title, engagement counts, and rates for each video. It needs the Xingtu author ID in oAuthorId.
finish_rate and interact_rate across an author's videos to find the content that holds attention best.pagination.videoType to check how each type performs.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "7386881810501730341", "page": 1, "videoType": "ALL", "onlyAssign": false}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Xingtu author ID |
onlyAssign | boolean | No | Only return assigned videos |
page | integer | No | Page number, starts from 1, 20 items per page |
videoType | string | No | PERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU |
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": "2376",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-0813c000-ce/oUKnEYF9AgQvhS5dJADAIyue7CVg7FDBAeECfU",
"create_time": "1792928944",
"duration": 761.334,
"finish_rate": 0.116147,
"interact_rate": 0.063783,
"item_id": "7700571178000135673",
"like_cnt": "234612",
"title": "在大量的聊天中发现了少量的化妆技巧 #vlog #宝妈 #发疯文学 #精神状态 #化妆",
"url": "https://www.iesdouyin.com/share/video/7700571178000135673/?region=CN&mid=7700571…",
"video_id": "v2800fgi0000dbeumffog65m66333310"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 55
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is a numeric string that also appears in the share url. video_id is a separate string ID. |
items[].title | Video caption, including its hashtags. |
items[].create_time | Creation time of the video as a Unix timestamp in seconds, returned as a string. |
items[].duration | Length of the video. The values look like seconds (for example 761.334). |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They are returned as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimals (for example 0.116147). |
items[].url | Share link to the video on Douyin. |
items[].cover_uri | Path of the video cover image. content_theme_labels lists theme labels and can be empty. |
pagination.page / pagination.limit | Current page number and the number of items per page. |
pagination.has_more / pagination.total_count | has_more shows whether another page exists. total_count is the total number of videos for this query. |
page while pagination.has_more is true.videoType accepts ALL, PERSONAL or XINGTU. Set onlyAssign to true to return only assigned videos.$0.02 per successful call. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "7386881810501730341",
"videoType": "ALL",
"onlyAssign": false
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
oAuthorIdstring필수Xingtu author ID
pageintegerPage number, starts from 1, 20 items per page
기본값: 1
videoTypestringPERSONAL/XINGTU / Traffic type: ALL/PERSONAL/XINGTU
기본값: "ALL"
onlyAssignbooleanOnly return assigned videos
기본값: false
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.02 / 호출 | JSON |
Douyin | $0.02 / 호출 | JSON |
Douyin | $0.02 / 호출 | JSON |
Douyin | $0.02 / 호출 | JSON |
Douyin | $0.02 / 호출 | JSON |
Douyin | $0.02 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/xingtu/author-homepage-videos-v1에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.02, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: oAuthorId (string). 선택: page (integer), videoType (string) 및 onlyAssign (boolean). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin Author Homepage Videos V1은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.