Douyin content creator demographics by category id
tikhub.x.douyin-index-fetch-content-author-portraitDouyin: fetch content author portrait (index)
- 価格
- $0.001/successカタログ価格で提供
- 成功率
- —成功率データはまだありません成功率データはまだありません
- レイテンシ p50
- ——
- 最終確認
- —未確認
POSThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-author-portraitBeta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
period | 文字列 | 任意 | Period: week or month | month |
tag_id | 文字列 | 必須 | Category ID, **required, does NOT support 0=all**. Get full list via fetch_item_filter_options (excluding id=0) | |
end_date | 文字列 | 必須 | End date YYYYMMDD | |
- クエリパラメータ
period文字列任意Period: week or month
例:
monthtag_id文字列必須Category ID, **required, does NOT support 0=all**. Get full list via fetch_item_filter_options (excluding id=0)
end_date文字列必須End date YYYYMMDD
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-author-portrait' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-author-portrait",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-index-fetch-content-author-portrait", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/success です。サービス料を含みます。