Your TikTok profile — follower and like counts
tiktok.tiktok.user.profileGet your own TikTok profile with follower, following and total-like counts
- Price
- freeプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tiktok.tiktok.user.profilePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
trailing slash on the path is required. Requesting a field outside the granted scopes fails the entire request with scope_not_authorized
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
fields | 文字列 | 必須 | comma-separated. open_id, union_id, avatar_url, display_name, bio_description, profile_deep_link, is_verified need user.info.basic/profile; follower_count, following_count, likes_count, video_count need user.info.stats | open_id,display_name,avatar_url,bio_description,follower_count,following_count,likes_count,video_count |
- クエリパラメータ
fields文字列必須comma-separated. open_id, union_id, avatar_url, display_name, bio_description, profile_deep_link, is_verified need user.info.basic/profile; follower_count, following_count, likes_count, video_count need user.info.stats
例:
open_id,display_name,avatar_url,bio_description,follower_count,following_count,likes_count,video_count
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tiktok.tiktok.user.profile' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tiktok.tiktok.user.profile",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tiktok.tiktok.user.profile", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。