TikTok trending hashtag details
tikhub.x.tiktok-ads-get-trends-hashtag-detailGet trending hashtag detail
- 価格
- $0.001/successカタログ価格で提供
- 成功率
- 100%直近 30 日 · 131 回
- レイテンシ p50
- 449 msp95 695 ms
- 最終確認
- —未確認
POSThttps://toolswitch.dev/v1/tools/tikhub.x.tiktok-ads-get-trends-hashtag-detailBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| リクエストボディ(JSON) | ||||
hashtag_id | 文字列 | 必須 | Hashtag ID | 7383227119714238469 |
time_range | 整数 | 任意 | 30/90 /Time range in days | 90 |
country_code | 文字列 | 任意 | Country code | US |
- リクエストボディ(JSON)
hashtag_id文字列必須Hashtag ID
例:
7383227119714238469time_range整数任意30/90 /Time range in days
例:
90country_code文字列任意Country code
例:
US
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.tiktok-ads-get-trends-hashtag-detail' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"hashtag_id":"7383227119714238469"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.tiktok-ads-get-trends-hashtag-detail",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"hashtag_id\":\"7383227119714238469\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.tiktok-ads-get-trends-hashtag-detail", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"hashtag_id\":\"7383227119714238469\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/success です。サービス料を含みます。