app_namestring
Platform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
Default: "aweme"
Nilai yang mungkin: 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"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
app_namestringPlatform, aweme=Douyin, toutiao=Toutiao (toutiao currently returns empty)
Default: "aweme"
Nilai yang mungkin: aweme, toutiao
typeintegerWord type, 0=search words (plain words, id is always "0"),
Default: 0
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"trend_words": [
{
"id": "0",
"word": "重庆"
},
{
"id": "0",
"word": "时代"
},
{
"id": "0",
"word": "代峰"
},
"… 2 more items in the full response"
],
"update_time": "20260818"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin Hot Trend WordsAPI ini Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/index/hot-trend-word dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: app_name (salah satu dari aweme, toutiao) dan type (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Hot Trend Words berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.