o_author_idstringrequerido
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"
}
}
]Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
o_author_idstringrequeridoCreator/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
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
[
{
"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"
}
}
]Explorar más
| API | Precio | Respuesta |
|---|---|---|
Douyin Xingtu Author Spread InfoEsta API Douyin | $0.002 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.002 por llamada | JSON |
Douyin | $0.01 por llamada | JSON |
Douyin | $0.003 por llamada | JSON |
Douyin | $0.001 por llamada | JSON |
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
$0.002 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: o_author_id (string). Opcionales: flow_type (integer), only_assign (boolean), platform_channel (integer), platform_source (integer), range (integer) y type (integer). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Douyin Xingtu Author Spread Info funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.