o_author_idstring必須
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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
o_author_idstring必須Creator ID
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.003 / 回 | JSON |
Douyin | $0.002 / 回 | JSON |
Douyin | $0.002 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.002 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.003、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: o_author_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Author Commerce Spread Info は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。