Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Multi-Keyword Index Interpretation

API 文件
https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation

Returns index interpretation metrics for multiple keywords across selected time periods. Includes comparison metrics like period-over-period and year-over-year differences.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
3 個必填 · 2 個選填

Playground

輸入
End date, YYYYMMDD
Comma separated keywords
Start date, YYYYMMDD
Platform, aweme=Douyin, toutiao=Toutiao
Region filter, comma separated, empty for all
輸出範例
回應outputs · 1.9 KB · 68 行
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "keyword_index_interpretations": [
        {
          "current_period": {
            "consume_index": "3238777",
            "content_index": "6286798",
            "search_index": "5608122"
          },
          "keyword": "人工智能",
          "last_period": {
            "consume_index": "2375876",
            "content_index": "22432607",
            "search_index": "5764762"
          },
          "last_period_diff": {
            "consume_diff": 0.36319277605396927,
            "content_diff": -0.7197473303036067,
            "search_diff": -0.02717198038704808
          },
          "last_year_diff": {
            "consume_diff": -0.31968142346141104,
            "content_diff": -0.29883205556881526,
            "search_diff": 0.01205634620236288
          },
          "overview": {
            "consume_index": 3238777,
            "content_index": 6286798,
            "search_index": 5608122
          }
        },
        {
          "current_period": {
            "consume_index": "12721157",
            "content_index": "5864262",
            "search_index": "345391408"
          },
          "keyword": "华为",
          "last_period": {
            "consume_index": "11416262",
            "content_index": "12861878",
            "search_index": "339348518"
          },
          "last_period_diff": {
            "consume_diff": 0.11430142370593815,
            "content_diff": -0.5440586514659833,
            "search_diff": 0.017807326920461233
          },
          "last_year_diff": {
            "consume_diff": 0.054911176596635455,
            "content_diff": -0.7390276463913172,
            "search_diff": -0.0010165791323027082
          },
          "overview": {
            "consume_index": 12721157,
            "content_index": 5864262,
            "search_index": 345391408
          }
        }
      ]
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Douyin Multi-Keyword Index Interpretation API

Returns index metrics for each keyword in a comma separated list over a date range. Each keyword gets search, content and consume index values for the current period and the previous period, plus percentage differences against the previous period and the same period last year. It needs keyword_list, start_date and end_date.

Use cases

  • Compare search interest in two brand names such as 华为 and 人工智能 over the same half-year window.
  • Check whether content volume for a topic fell or rose against the previous period before planning a video campaign.
  • Spot keywords whose consume index grew year over year while their content index dropped.
  • Build a dashboard table that ranks a keyword set by search index change.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date": "20260412", "keyword_list": "人工智能,华为", "start_date": "20251015"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
end_datestringYesEnd date, YYYYMMDD
keyword_liststringYesComma separated keywords
start_datestringYesStart date, YYYYMMDD
app_namestringNoPlatform, aweme=Douyin, toutiao=Toutiao
regionstringNoRegion filter, comma separated, empty for all

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "BaseResp": {
    "StatusCode": 0,
    "StatusMessage": ""
  },
  "keyword_index_interpretations": [
    {
      "current_period": {
        "consume_index": "12721157",
        "content_index": "5864262",
        "search_index": "345391408"
      },
      "keyword": "华为",
      "last_period": {
        "consume_index": "11416262",
        "content_index": "12861878",
        "search_index": "339348518"
      },
      "last_period_diff": {
        "consume_diff": 0.11430142370593815,
        "content_diff": -0.5440586514659833,
        "search_diff": 0.017807326920461233
      },
      "last_year_diff": {
        "consume_diff": 0.054911176596635455,
        "content_diff": -0.7390276463913172,
        "search_diff": -0.0010165791323027082
      },
      "overview": {
        "consume_index": 12721157,
        "content_index": 5864262,
        "search_index": 345391408
      }
    }
  ]
}

Response fields

FieldMeaning
keyword_index_interpretations[].keywordThe keyword these metrics belong to. The list has one entry per keyword in the request.
keyword_index_interpretations[].current_period.search_index / content_index / consume_indexSearch, content and consume index for the requested date range. Values are strings.
keyword_index_interpretations[].last_period.search_index / content_index / consume_indexThe same three indexes for the previous period, used as the baseline for the period-over-period difference.
keyword_index_interpretations[].last_period_diff.search_diff / content_diff / consume_diffChange against the previous period as a decimal ratio. For example 0.114 means about 11.4% higher, and -0.544 means about 54.4% lower.
keyword_index_interpretations[].last_year_diff.search_diff / content_diff / consume_diffChange against the same period last year, as a decimal ratio. Negative values mean a decline.
keyword_index_interpretations[].overview.search_index / content_index / consume_indexThe current period indexes as numbers instead of strings. They match the current_period values.
BaseResp.StatusCodeStatus of the call. 0 appears in the sample response, with an empty StatusMessage.

Notes

  • Separate keywords with commas in keyword_list, for example 人工智能,华为.
  • Write start_date and end_date as YYYYMMDD, for example 20251015.
  • Set app_name to aweme for Douyin (default) or toutiao for Toutiao. Leave region empty for all regions.
  • Call Douyin Index Keyword Valid Dates to check which dates are valid, and Douyin Index Area List for region values.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON
Douyin每次呼叫 $0.001JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Multi-Keyword Index Interpretation API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/index/multi-keyword-interpretation。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Multi-Keyword Index Interpretation API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Multi-Keyword Index Interpretation API 接受哪些參數?

必要:end_date (string), keyword_list (string) 和 start_date (string)。 選填:app_name(aweme, toutiao 之一) 和 region (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Multi-Keyword Index Interpretation API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Multi-Keyword Index Interpretation 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。