end_datestring必須
End date YYYYMMDD
https://api.sandbase.ai/v1/api/douyin/index/item-user-profileReturns the audience portrait and demographic breakdown for a Douyin video across a specified date range. Filter results using item ID and date parameters.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"data": []
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Retrieve audience profile data for a specific video by passing item_id along with start_date and end_date.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-user-profile" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "1735660799", "item_id": "7692766887218950514", "start_date": "1730044800"}'
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video ID (Douyin aweme id, numeric string) |
end_date | string | Yes | End date YYYYMMDD |
start_date | string | Yes | Start date YYYYMMDD |
item_id requires a numeric Douyin aweme ID string.start_date and end_date must use the YYYYMMDD format.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-user-profile" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "example",
"end_date": "example",
"start_date": "example"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
end_datestring必須End date YYYYMMDD
item_idstring必須Video ID (Douyin aweme id, numeric string)
start_datestring必須Start date YYYYMMDD
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"data": []
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/index/item-user-profile に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: end_date (string), item_id (string) と start_date (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
いいえ。Douyin Video Audience Profile は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。