o_author_idstringobligatoire
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-infoGet Author Commerce Spread Info on Douyin. Returns the platform data as structured JSON.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns commerce spread metrics for one Douyin creator on Xingtu, such as cost per thousand views (CPM), cost per engagement (CPE) and view counts. It needs the creator ID in o_author_id.
cpm_60 and cpe_60 against other creators before you shortlist them for a campaign.cpm_20_60_rank_percent when you build a pricing benchmark.sn_ values to see how they differ for the same metric.vv for a set of creators to estimate their view volume in commerce content.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7112600044674482187"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator 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": ""
},
"cpe_20_60": "0.3849",
"cpe_60": "0.4812",
"cpm_20_60": "10.2661",
"cpm_20_60_rank_percent": "0.04531789206117616",
"cpm_60": "12.8326",
"modify_time": "1793675684",
"platform_hot_rate": "1",
"sn_cpe_20_60": "1.5187",
"sn_cpe_60": "1.8984",
"sn_cpm_20_60": "27.0499",
"sn_cpm_60": "33.8124"
}
| Field | Meaning |
|---|---|
cpm_20_60 / cpm_60 | CPM values for the creator. The 20_60 name suggests a 20 to 60 range and 60 suggests a 60 threshold, but the response does not define it. Values are strings. |
cpe_20_60 / cpe_60 | CPE values for the creator, with the same 20_60 and 60 naming as the CPM fields. |
cpm_20_60_rank_percent | Rank value for cpm_20_60, returned as a decimal string between 0 and 1. |
sn_cpm_20_60 / sn_cpm_60 | CPM values with an sn_ prefix. They are higher than the matching cpm_ values in this response. |
sn_cpe_20_60 / sn_cpe_60 | CPE values with an sn_ prefix. They are higher than the matching cpe_ values in this response. |
vv / sn_vv | View counts as numeric strings. sn_vv is lower than vv in this response. |
platform_hot_rate | Hot rate value for the platform, returned as a string. It is 1 in this response. |
modify_time | Unix timestamp in seconds, returned as a string. It most likely marks the last update of this record. |
base_resp.status_code | Status code of the call. 0 means success. |
o_author_id from Douyin Xingtu Creator Search or from Douyin Xingtu Author Base Info.$0.003 per successful call. Failed calls are not charged.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7112600044674482187"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
o_author_idstringobligatoireCreator ID
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Author Commerce Spread InfoCette API Douyin | $0.003 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Douyin | $0.01 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.002 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.003 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : o_author_id (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Author Commerce Spread Info fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.