Your TikTok profile — follower and like counts
tiktok.tiktok.user.profileGet your own TikTok profile with follower, following and total-like counts
- Price
- freeAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tiktok.tiktok.user.profilePreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
trailing slash on the path is required. Requesting a field outside the granted scopes fails the entire request with scope_not_authorized
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
fields | string | Required | 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 |
- Query parameters
fieldsstringRequiredcomma-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
Example:
open_id,display_name,avatar_url,bio_description,follower_count,following_count,likes_count,video_count
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.