end_datestring必須
End date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
https://api.sandbase.ai/v1/api/douyin/index/content-creative-keywordsReturns creative hot keywords for a specified category from the Douyin index. Filter keywords by category ID, end date, and time intervals of one, three, or seven days.
[
{
"data": {
"BaseResp": {
"StatusCode": 400,
"StatusMessage": "日期不准确"
}
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Use this endpoint to inspect trending creative keywords for a Douyin category by supplying tag_id and end_date. You can also adjust the timeframe using period.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-creative-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_date": "1735660799", "tag_id": "2027"}'
| Name | Type | Required | Description |
|---|---|---|---|
tag_id | string | Yes | Category ID (same as category_id in fetch_item_query) |
end_date | string | Yes | End date YYYYMMDD. |
period | string | No | "1"=last 1 day, "3"=last 3 days, "7"=last 7 days |
tag_id uses the category ID format from category queries.period values are "1" (1 day), "3" (3 days), and "7" (7 days).end_date must fall on a Sunday when period is set to "7".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/content-creative-keywords" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tag_id": "example",
"end_date": "example"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
end_datestring必須End date YYYYMMDD. **Must be a Sunday only when period=7**; any day for period=1/3
tag_idstring必須Category ID (same as category_id in fetch_item_query)
periodstring"1"=last 1 day, "3"=last 3 days, "7"=last 7 days
指定可能な値: 1, 3, 7
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"BaseResp": {
"StatusCode": 400,
"StatusMessage": "日期不准确"
}
}
}
]さらに探索
| 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/content-creative-keywords に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: end_date (string) と tag_id (string)。 任意: period(1, 3, 7 のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
いいえ。Douyin Content Creative Keywords は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。