Get TikTok User Info by Username

Primeapi Endpoint Detail

Access real-time TikTok user information with Primeapi’s API by providing a username. Retrieve accurate and up-to-date details such as the user’s profile photo, bio, follower count, and more. This API is designed for developers looking for fast, reliable, and seamless integration of TikTok data into their applications.

Try on Playground
Primeapi Endpoints > User Endpoints > User Info by Username
Endpoint Info
Request Method
:
GET
Request URL
:
https://api.primeapi.co/userinfo-by-username?username={username}
Required Parameters
:
username
Endpoint Response
Example URL
:
https://api.primeapi.co/userinfo-by-username?username=taylorswift
Content Type
:
JSON
Example Response
{
    "userInfo": {
        "user": {
            "id": "6881290705605477381",
            "shortId": "",
            "uniqueId": "taylorswift",
            "nickname": "Taylor Swift",
            "avatarLarger": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_1080x1080.jpeg?lk3s=a5d48078&nonce=63171&refresh_token=43a1959878a3f0c05ff3c145542164b4&x-expires=1737158400&x-signature=wS4KruiXE1HMgfwG16cwIvLOrOg%3D&shp=a5d48078&shcp=81f88b70",
            "avatarMedium": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_720x720.jpeg?lk3s=a5d48078&nonce=94219&refresh_token=ecf5bf6a35883b42418f2dce4437ae4d&x-expires=1737158400&x-signature=G6rkRczIup3Xp3EsRh1Gd4eVRbs%3D&shp=a5d48078&shcp=81f88b70",
            "avatarThumb": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~c5_100x100.jpeg?lk3s=a5d48078&nonce=10119&refresh_token=9610f8f701a49ab653be389180fea00b&x-expires=1737158400&x-signature=CtmLtNnrFWbzkLMohZ6ihwZWoA4%3D&shp=a5d48078&shcp=81f88b70",
            "signature": "This is pretty much just a cat account",
            "createTime": 1628514847,
            "verified": true,
            "secUid": "MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6",
            "ftc": false,
            "relation": 0,
            "openFavorite": true,
            "bioLink": {
                "link": "taylorswift.com",
                "risk": 0
            },
            "commentSetting": 0,
            "commerceUserInfo": {
                "commerceUser": false
            },
            "duetSetting": 0,
            "stitchSetting": 0,
            "privateAccount": false,
            "secret": false,
            "isADVirtual": false,
            "roomId": "",
            "uniqueIdModifyTime": 0,
            "ttSeller": false,
            "region": "US",
            "downloadSetting": 0,
            "profileTab": {
                "showMusicTab": true,
                "showQuestionTab": false,
                "showPlayListTab": false
            },
            "followingVisibility": 1,
            "recommendReason": "",
            "nowInvitationCardUrl": "",
            "nickNameModifyTime": 1629723423,
            "isEmbedBanned": false,
            "canExpPlaylist": true,
            "profileEmbedPermission": 1,
            "language": "en",
            "eventList": [],
            "suggestAccountBind": false,
            "isOrganization": 0
        },
        "stats": {
            "followerCount": 32700000,
            "followingCount": 0,
            "heart": 247000000,
            "heartCount": 247000000,
            "videoCount": 71,
            "diggCount": 2204,
            "friendCount": 0
        },
        "itemList": []
    },
    "shareMeta": {
        "title": "Taylor Swift on TikTok",
        "desc": "@taylorswift 32.7m Followers, 0 Following, 247.0m Likes - Watch awesome short videos created by Taylor Swift"
    },
    "statusCode": 0,
    "statusMsg": "",
    "needFix": false
}
Contact
You can contact us via Telegram or Gmail
Telegram Logo
Telegram
@primeapi_co
Gmail Logo
Gmail
primeapico@gmail