Social Media
TikTok Profile
Get a TikTok user's profile — nickname, bio, follower/following/like counts, and sec_user_id — by username or sec_user_id.
POST/api/v1/tiktok/profile
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonusernamestringTikTok username. Provide this or sec_user_id.
Example: tiktok
sec_user_idstringSecure user id. Provide this or username.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.tiktok.profile(username="tiktok")
print(results)Response
"status_msg": "",
"version": "v2"
},
"response_time": 1542,
"credits_used": 1,
"credits_remaining": 4750
}