sec_uidstring必須
User sec_id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-search-listReturns the top ten search terms reflecting fan interest over the last three days for a specified Douyin creator account using their user sec_id.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the top ten search terms that fans of a Douyin creator account searched for over the last three days. Each term comes with a hot score. You send the creator's sec_uid as input.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-interest-search-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sec_uid | string | Yes | User sec_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"hot_score": 32,
"word": "反相之地"
}
],
"extra": {
"now": 1793691104000
},
"message": ""
}
| Field | Meaning |
|---|---|
data[] | List of fan interest search terms for the account. The sample response shows three items, and the API describes the list as the top ten. |
data[].word | The search term fans looked up. The sample values are Chinese text. |
data[].hot_score | Numeric hot score for the term. Higher values mean the term ranks higher in fan interest, and the sample scores run from 31 to 32. |
code | Status code of the response. 0 appears in the sample response for a successful call. |
message | Status message. It is an empty string in the sample response. |
extra.now | Timestamp for the response in the extra object. The sample value 1793691104000 has 13 digits, which fits a millisecond Unix timestamp. |
sec_uid, which is the Douyin user sec_id. It is a long string that starts with MS4wLjAB.sec_uid. It has no pagination parameters.$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/billboard/hot-account-fans-interest-search-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
sec_uidstring必須User sec_id
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| 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/billboard/hot-account-fans-interest-search-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: sec_uid (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Account Fan Interest Search Terms は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。