get_v1_user_by_username
Fetch a TikTok user profile by username to retrieve account data and secUid for subsequent API requests.
Instructions
Get a TikTok profile by username (without @). Use it first for any account; if it answers 404 ProfileUnavailable, use get_v3_user_by_username, which also returns profiles TikTok does not serve on the web. Returns the user object; take the user's secUid from it for the by-secUid tools. Live request to TikTok, billed per call. (GET /v1/user/by/username)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>"
},
"name": "get_v1_user_by_username"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes |