o_author_idstring필수
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-infoRetrieves commercial spread and reach capability data for a specific creator. Accepts filtering by time range, video type, flow type, and assignment status.
[
{
"data": {
"avg_duration": "20100",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "1825",
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"interact_rate": {
"label": "美食",
"overtake": 6712,
"value": 392
},
"item_num": "7",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"overtake": 6700,
"value": 7
},
"play_mid": {
"label": "",
"overtake": 9998,
"value": 4038696
}
},
"like_avg": "111069",
"play_mid": "4038696",
"play_over_rate": {
"label": "美食",
"overtake": 3937,
"value": 526
},
"play_stability": {
"label": "美食"
},
"sales_expect_cpm": {
"cpm_21_60": "7062",
"cpm_60": "12947"
},
"share_avg": "60849"
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns commercial spread metrics for one Douyin Xingtu creator, such as median plays, average likes, comments and shares, and expected CPM and CPE. It needs the creator's o_author_id. You can narrow the data by time range, video type, flow type and assigned-only videos.
item_num.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-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 |
flow_type | integer | No | Flow type, default 0 |
only_assign | boolean | No | Only assigned videos, default False |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
range | integer | No | Time range, 2=last 30 days, 3=last 90 days |
type | integer | No | Video type, 1=personal video |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avg_duration": "5800",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "35",
"expect_cpe": {
"cpe_21_60": "6153",
"cpe_60": "7692"
},
"expect_cpm": {
"cpm_21_60": "776699",
"cpm_60": "970873"
},
"interact_rate": {
"overtake": 1555,
"value": 50
},
"item_num": "5",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"value": 5
},
"play_mid": {
"label": "",
"overtake": 7588,
"value": 986
}
},
"like_avg": "61",
"play_mid": "986",
"play_over_rate": {
"overtake": 1701,
"value": 185
},
"play_stability": {}
}
| Field | Meaning |
|---|---|
play_mid | Median play count of the creator's videos in the selected window. |
like_avg / comment_avg / share_avg | Average likes, comments and shares per video. Values are returned as strings. |
avg_duration | Average video duration. The response does not show the unit. |
item_num | Number of videos counted in these stats. |
expect_cpm.cpm_21_60 / expect_cpm.cpm_60 | Expected CPM for videos of 21 to 60 seconds and for videos over 60 seconds. |
expect_cpe.cpe_21_60 / expect_cpe.cpe_60 | Expected CPE for the same two video length bands. |
sales_expect_cpm.cpm_21_60 / sales_expect_cpm.cpm_60 | Expected CPM in the sales context for the same two video length bands. |
interact_rate.value / interact_rate.overtake | The creator's interaction rate value and an overtake figure that shows how the creator ranks against others. |
play_over_rate.value / play_over_rate.overtake | The creator's play-over rate value and its overtake ranking figure. |
item_rate.play_mid.value / item_rate.play_mid.overtake | Median plays with its overtake ranking figure, grouped under item_rate. |
o_author_id is required. Add range (2 for 30 days, 3 for 90 days) to change the time window.play_mid and like_avg come back as strings, while overtake and value inside rate objects are numbers.play_stability and item_rate.interact_rate can come back as empty objects.$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "6677767167234015243",
"range": 2,
"type": 1
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
o_author_idstring필수Creator/author ID
flow_typeintegerFlow type, default 0
only_assignbooleanOnly assigned videos, default False
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
rangeintegerTime range, 2=last 30 days, 3=last 90 days
typeintegerVideo type, 1=personal video
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"avg_duration": "20100",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "1825",
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"interact_rate": {
"label": "美食",
"overtake": 6712,
"value": 392
},
"item_num": "7",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"overtake": 6700,
"value": 7
},
"play_mid": {
"label": "",
"overtake": 9998,
"value": 4038696
}
},
"like_avg": "111069",
"play_mid": "4038696",
"play_over_rate": {
"label": "美食",
"overtake": 3937,
"value": 526
},
"play_stability": {
"label": "美食"
},
"sales_expect_cpm": {
"cpm_21_60": "7062",
"cpm_60": "12947"
},
"share_avg": "60849"
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.002 / 호출 | JSON |
Douyin | $0.002 / 호출 | JSON |
Douyin | $0.002 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.003 / 호출 | JSON |
Douyin | $0.001 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.002, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수: o_author_id (string). 선택: flow_type (integer), only_assign (boolean), platform_channel (integer), platform_source (integer), range (integer) 및 type (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin Xingtu Author Spread Info은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.