app_namestring
Platform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
デフォルト: "aweme"
指定可能な値: aweme, toutiao
https://api.sandbase.ai/v1/api/douyin/index/hot-trend-wordReturns trending search words suggested in the keyword index search box. Filter by platform and word type to retrieve relevant search suggestions.
[
{
"data": {
"trend_words": [
{
"id": "0",
"word": "重庆"
},
{
"id": "0",
"word": "时代"
},
{
"id": "0",
"word": "代峰"
},
"… 2 more items in the full response"
],
"update_time": "20260818"
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Returns the trending search words that Douyin suggests in the keyword index search box. Both inputs are optional: app_name picks the platform and type picks the word type.
update_time.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/hot-trend-word" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
app_name | string | No | Platform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty) |
type | integer | No | Word type, 0=search words (plain words, id is always "0"), |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"trend_words": [
{
"id": "0",
"word": "百乔"
}
],
"update_time": "20261102"
}
| Field | Meaning |
|---|---|
trend_words[] | List of suggested trending search words. |
trend_words[].word | The suggested search word as plain text. |
trend_words[].id | Word ID. For type 0 (search words) it is always the string "0". |
update_time | Date of the list as a YYYYMMDD string, for example 20261102. |
{}. The defaults are app_name set to aweme and type set to 0.app_name accepts aweme (Douyin) or toutiao. Toutiao currently returns an empty result.type accepts 0 or 1. Only 0 (search words) is described in the parameter documentation.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/hot-trend-word" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": 0,
"app_name": "aweme"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
デフォルト: "aweme"
指定可能な値: aweme, toutiao
typeintegerWord type, 0=search words (plain words, id is always "0"),
デフォルト: 0
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"trend_words": [
{
"id": "0",
"word": "重庆"
},
{
"id": "0",
"word": "时代"
},
{
"id": "0",
"word": "代峰"
},
"… 2 more items in the full response"
],
"update_time": "20260818"
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin Hot Trend Wordsこの 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/hot-trend-word に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: app_name(aweme, toutiao のいずれか) と type (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Hot Trend Words は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。