TikTok
Get TikTok profile information
Authorization
bearerAuth AuthorizationBearer <token>
JWT token from /auth/login or API key from /keys
In: header
Request Body
application/json
username*string
Length
1 <= lengthwebhookUrl?string
Webhook URL to receive results. If provided, request returns immediately.
Format
uriResponse Body
application/json
application/json
application/json
curl -X POST "http://localhost:3222/api/tiktok/profile" \ -H "Content-Type: application/json" \ -d '{ "username": "tiktok" }'{
"success": true,
"requestId": "string",
"data": {
"user": {
"id": "string",
"uniqueId": "string",
"nickname": "string",
"avatarThumb": "string",
"avatarMedium": "string",
"avatarLarger": "string",
"signature": "string",
"verified": true,
"secUid": "string",
"openFavorite": true,
"privateAccount": true
},
"stats": {
"followerCount": 0,
"followingCount": 0,
"heartCount": 0,
"videoCount": 0,
"diggCount": 0,
"friendCount": 0
},
"statsV2": {
"followerCount": "string",
"followingCount": "string",
"heartCount": "string",
"videoCount": "string"
},
"itemList": [
null
]
},
"itemCount": 0,
"creditsCharged": 0
}{
"success": true,
"requestId": "string",
"status": "processing",
"message": "string"
}{
"success": false,
"error": "string",
"requestId": "string"
}