Get account profile (v3)
Get an account's public profile: name, bio, avatar, verification, follower, following, like and video counts, bio link, and the sec_uid the other account endpoints need. An unknown username returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
username*string
Account handle, with or without the leading "@".
curl -X GET "https://example.com/v3/tiktok/user?username=nasa" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "id": "7664638705177150477", "sec_uid": "MS4wLjABAAAAU9BRVzC8oCaegVnia8IbqWhPb_-dbU7s00Y3wS1_Nx8g5RUaYvyXrpejgjdxTwd6", "username": "nasa", "nickname": "NASA", "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=9640&refresh_token=49f79fe6&x-expires=1792335600&x-signature=FXsa1ZZ0WJKfsD%2BFVf6ZWrKi3yk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=useast8", "verified": true, "bio": "Making the seemingly impossible, possible.✨", "private": false, "followers": 2100000, "following": 23, "likes": 11100000, "videos": 56, "bio_link": "science.nasa.gov/feature/artemis-ii-preliminary-lunar-science-report", "region": null }}