抖音 hot_search API
一次 REST 呼叫取得 抖音 hot_search 資料——以 FetchPI 全平台共用的穩定 JSON 結構標準化輸出。
- 1 個已發布端點
- GET /v1/douyin/hot-search
契約摘要(英文): Get the Douyin hot-search board (capability douyin.hot_search)
- 標準化回應實體
- douyin/hot_search
- capability
- douyin.hot_search
每個回應都附帶新鮮度(cache / default / live)與計費中繼資料。
使用場景
- 按關鍵字搜尋 {{platform}} 內容與帳號,回傳標準化結果,直接可用於評分排序。
- 追蹤熱門話題與熱榜,第一時間掌握新興討論。
- 對搜尋與趨勢查詢建立告警,讓團隊即時掌握變化。
回應欄位
Douyin hot search board (normalized non-entity payload)
Non-entity payload (type hot_search) — the entity layer clean-skips it; served by the /v1/douyin surface.
| 欄位 | 類型 | 必填 | 說明 |
|---|---|---|---|
| words | object[] | 必填 | — |
| updated_at | string | null | 可選 | — |
| platform | "douyin" | 必填 | — |
| type | "hot_search" | 必填 | — |
| fetched_at | string | 必填 | Normalization time (UTC). |
欄位備註為契約英文原文。
回應中繼資料
| 欄位 | 類型 | 必填 | 說明 |
|---|---|---|---|
| mode | cache | default | live | 必填 | Effective mode after merging param > max_age > source policy (D-004). |
| age_seconds | integer | null | 可選 | Age of served data; null when unknown. |
| source_layer | cache | db | upstream | 必填 | Which layer served the response (PRD §10). |
| stale | boolean | 可選 | True when stale data was served under stale_if_error / SWR (D-004). |
| billing.amount_credits | integer | 必填 | Micro-USD (1e-6 USD) actually charged for this request. |
| billing.cache_hit | boolean | 必填 | — |
欄位備註為契約英文原文。
請求與回應範例
GET
/v1/douyin/hot-searchcurl -H "Authorization: Bearer $MESHDATA_API_KEY" \
"https://api.fetchpi.com/v1/douyin/hot-search"{
"data": {
"platform": "douyin",
"type": "hot_search",
"words": [
{
"word": "数据开放",
"hot_value": 4821000
},
{
"word": "实体层",
"hot_value": 3120004
}
],
"updated_at": "2026-09-21T08:00:00Z",
"fetched_at": "2026-09-21T09:00:00Z"
},
"meta": {
"request_id": "req_01HTXQ8Z9HTQ",
"freshness": {
"mode": "default",
"age_seconds": 0,
"source_layer": "upstream",
"stale": false
},
"billing": {
"amount_credits": 100,
"cache_hit": false
}
}
}免費試用
註冊免費帳號、取得 API Key,即可在瀏覽器版 Playground 直接呼叫該端點。
在 Playground 試用該端點的參數表、錯誤碼與回應語義見 API 文件。
查看端點參考常見問題
cache 與 live 新鮮度有什麼不同?
cache 直接回傳已存快照、不觸及上游;live 查詢較新的資料,可能產生額外點數費用——詳見文件的新鮮度說明。
可以免費試用該端點嗎?
可以——註冊帳號、取得 API Key 後,即可在主控台的 Playground 呼叫該端點。
hot_search 能力怎麼計費?
Data API 按請求以點數計費,cache/live 新鮮度有不同倍率。目前各能力的價格以價格頁為準。