oAuthorIdstring必須
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-infoGet Douyin Creator Marketplace (Xingtu) marketing information for a specified creator and content channel. Use it to compare creator commercial offerings during campaign planning.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the commercial offerings of one Douyin Xingtu creator for one content channel. The response lists price items, industry tags, and activity and ranking lists. It needs the creator's oAuthorId, and platform is optional.
industry_tags to match them to a brand category.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
platform | string | No | Platform type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"activity_info": [],
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_list_ranks": [],
"industry_tags": [
"美妆-面部洗护"
],
"price_info": [
{
"activity_info": [],
"author_id": "6870161898013196295",
"desc": "短直明星种草",
"do_fold": false,
"enable": true,
"end_time": "2145916800",
"field": "price",
"has_discount": false,
"is_open": true,
"need_price": true,
"online_status": 1,
"origin_price": 50000
}
]
}
| Field | Meaning |
|---|---|
price_info[] | One row per priced offering the creator sells on the chosen channel. Each row has its own price, dates, and settlement terms. |
price_info[].desc | Name of the offering, such as 短直明星种草 or 视频(定金模式). |
price_info[].price / price_info[].origin_price | Current price and original price of the offering. In this response both are 50000. The response does not state the currency or unit. |
price_info[].has_discount | Shows whether the offering carries a discount. |
price_info[].enable / price_info[].is_open | Show whether the offering is enabled and open for orders. |
price_info[].settlement_desc / price_info[].settlement_type | Settlement method as text and as a code. 固定价格 means fixed price and goes with settlement_type 2. |
price_info[].start_time / price_info[].end_time | Start and end of the offering's validity period, as Unix timestamps in seconds stored as strings. |
price_info[].video_type | Numeric code for the video format of the offering. The response does not explain the code values. |
industry_tags | List of industry categories the creator is tagged with, written as category and subcategory such as 美妆-面部洗护. |
activity_info / hot_list_ranks | Lists of platform activities and hot list rankings for the creator. Both are empty in this response. |
oAuthorId as a string. It is a long numeric ID, and the same value appears as price_info[].author_id.platform to SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT or SHORT_DRAMA. The default is SHORT_VIDEO.oAuthorId by name, use Douyin Xingtu Creator Search.$0.021429 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
oAuthorIdstring必須Author's unique ID.
platformstringPlatform type.
デフォルト: "SHORT_VIDEO"
指定可能な値: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.071429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v3/author-author-marketing-info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.021429、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: oAuthorId (string)。 任意: platform(SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu Marketing Metrics は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。