Douyin Xingtu creator base info by creator id
tikhub.x.douyin-xingtu-v2-get-author-base-infoDouyin: get author base info (xingtu_v2)
- Price
- $0.001/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=truePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
recommend | 真偽値 | 任意 | Whether to return recommendation info | true |
o_author_id | 文字列 | 必須 | Creator author ID | 7589271892177518598 |
need_sec_uid | 真偽値 | 任意 | Whether to return sec_uid | true |
platform_source | 整数 | 任意 | Platform source | 1 |
platform_channel | 整数 | 任意 | Platform channel | 1 |
need_linkage_info | 真偽値 | 任意 | Whether to return linkage info | true |
- クエリパラメータ
recommend真偽値任意Whether to return recommendation info
例:
trueo_author_id文字列必須Creator author ID
例:
7589271892177518598need_sec_uid真偽値任意Whether to return sec_uid
例:
trueplatform_source整数任意Platform source
例:
1platform_channel整数任意Platform channel
例:
1need_linkage_info真偽値任意Whether to return linkage info
例:
true
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true",
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-xingtu-v2-get-author-base-info?recommend=true&o_author_id=7589271892177518598&need_sec_uid=true&platform_source=1&platform_channel=1&need_linkage_info=true", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.001/success です。サービス料を含みます。