> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tikfly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get User Info

> Get User Info



## OpenAPI

````yaml /api-reference/openapi.json get /api/user/info
openapi: 3.1.0
info:
  title: Tikfly API - Unoffical Tiktok API
  description: >-
    Tikfly API Documentation - Unoffical Tiktok API for scalable access without
    the usual limitations
  version: 1.0.0
servers:
  - url: https://tiktok-api23.p.rapidapi.com
    description: RapidAPI
security: []
paths:
  /api/user/info:
    get:
      tags:
        - User
      summary: Get User Info
      description: Get User Info
      operationId: getApiUserInfo
      parameters:
        - in: query
          name: uniqueId
          schema:
            type: string
            minLength: 1
            description: Unique ID
            example: taylorswift
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  userInfo:
                    type: object
                    properties:
                      stats:
                        type: object
                        properties:
                          diggCount:
                            type: number
                            description: >-
                              Total number of likes the user has given to other
                              videos
                            example: 2276
                          followerCount:
                            type: number
                            description: Total number of users following this account
                            example: 33300000
                          followingCount:
                            type: number
                            description: Number of accounts this user is following
                            example: 0
                          friendCount:
                            type: number
                            description: >-
                              Number of mutual followers (users that this
                              account follows and who also follow back)
                            example: 0
                          heart:
                            type: number
                            description: >-
                              Total number of likes the user has received across
                              all videos
                            example: 263500000
                          heartCount:
                            type: number
                            description: >-
                              Same as "heart". Represents the total number of
                              likes the user has received
                            example: 263500000
                          videoCount:
                            type: number
                            description: Total number of videos the user has posted
                            example: 78
                        description: User stats
                      statsV2:
                        type: object
                        properties:
                          diggCount:
                            type: string
                            description: >-
                              Total number of likes the user has given to other
                              videos
                            example: '2276'
                          followerCount:
                            type: string
                            description: Total number of users following this account
                            example: '33265139'
                          followingCount:
                            type: string
                            description: Number of accounts this user is following
                            example: '0'
                          friendCount:
                            type: string
                            description: >-
                              Number of mutual followers (users that this
                              account follows and who also follow back)
                            example: '0'
                          heart:
                            type: string
                            description: >-
                              Total number of likes the user has received across
                              all videos
                            example: '263479941'
                          heartCount:
                            type: string
                            description: >-
                              Same as "heart". Represents the total number of
                              likes the user has received
                            example: '263479941'
                          videoCount:
                            type: string
                            description: Total number of videos the user has posted
                            example: '78'
                        description: >-
                          An enhanced version of user stats where all metrics
                          are exact values (not rounded)
                      user:
                        type: object
                        properties:
                          avatarLarger:
                            type: string
                            description: URL of the user’s large-size avatar image
                            example: >-
                              https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=44dee363&x-expires=1743199200&x-signature=%2BGEGvUBERYBrAM3WxRM7lBR%2BwHk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my
                          avatarMedium:
                            type: string
                            description: URL of the user’s medium-size avatar image
                            example: >-
                              https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~tplv-tiktokx-cropcenter:720:720.jpeg?dr=14579&refresh_token=9014dbf4&x-expires=1743199200&x-signature=z0YrUAc7zL43tXzRLreiqXkp3UQ%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=my
                          avatarThumb:
                            type: string
                            description: URL of the user’s thumbnail-size avatar image
                            example: >-
                              https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/f8c7cad75f3a12205d31d6662d2555d5~tplv-tiktokx-cropcenter:100:100.jpeg?dr=14579&refresh_token=5e79e1f7&x-expires=1743199200&x-signature=JC18MQX811ztSmm8YN5MdLNjViA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=f20df69d&idc=my
                          commentSetting:
                            type: number
                            description: User’s comment privacy setting for their posts
                            example: 0
                          downloadSetting:
                            type: number
                            description: >-
                              User’s download permission setting for their
                              videos
                            example: 0
                          duetSetting:
                            type: number
                            description: User’s duet permission setting
                            example: 0
                          ftc:
                            type: boolean
                            description: >-
                              Indicates whether the account is subject to child
                              safety restrictions
                            example: false
                          id:
                            type: string
                            description: User ID
                            example: '6881290705605477381'
                          isADVirtual:
                            type: boolean
                            description: >-
                              Indicates whether the account is a virtual or
                              advertisement related profile
                            example: false
                          nickname:
                            type: string
                            description: The user’s profile display name
                            example: Taylor Swift
                          openFavorite:
                            type: boolean
                            description: Whether the user’s liked videos list is public
                            example: true
                          privateAccount:
                            type: boolean
                            description: Indicates whether the account is set to private
                            example: false
                          secUid:
                            type: string
                            description: User secUid
                            example: >-
                              MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6
                          secret:
                            type: boolean
                            description: Indicates whether the account is set to private
                            example: false
                          signature:
                            type: string
                            description: The user’s profile bio
                            example: This is pretty much just a cat account
                          stitchSetting:
                            type: number
                            description: User’s Stitch permission setting
                            example: 0
                          ttSeller:
                            type: boolean
                            description: >-
                              Indicates whether the user is registered as a
                              TikTok Shop seller
                            example: false
                          uniqueId:
                            type: string
                            description: >-
                              User uniqueID. The user’s public TikTok handle
                              (username)
                            example: taylorswift
                          verified:
                            type: boolean
                            description: >-
                              Indicates whether the account is officially
                              verified
                            example: true
                          UserStoryStatus:
                            type: number
                            description: |-
                              Status of the user’s story feature:
                              - `0`: no story
                              - `1`: active story

                               Use the [**/api/user/story**](https://docs.tikfly.io/api-reference/user/get-user-story) endpoint to retrieve detailed user story information.
                            example: 0
                          bioLink:
                            type: object
                            properties:
                              link:
                                type: string
                                description: The URL linked in the user’s bio
                                example: taylorswift.com
                              risk:
                                type: number
                                description: Risk score associated with the bio link
                                example: 0
                          canExpPlaylist:
                            type: boolean
                            description: ''
                            example: true
                          commerceUserInfo:
                            type: object
                            properties:
                              commerceUser:
                                type: boolean
                                description: >-
                                  Indicates if the user is registered as a
                                  commerce account
                                example: false
                              downLoadLink:
                                type: object
                                description: ''
                                example: {}
                              category:
                                type: string
                                description: Category of the user’s commerce activity
                                example: Media & Entertainment
                              categoryButton:
                                type: boolean
                                description: ''
                                example: false
                          followingVisibility:
                            type: number
                            description: Visibility setting of the user’s following list
                            example: 1
                          isEmbedBanned:
                            type: boolean
                            description: >-
                              Indicates whether embedding of this profile on
                              external sites is banned
                            example: false
                          nickNameModifyTime:
                            type: number
                            description: >-
                              Unix timestamp of the last time the user’s
                              nickname was modified
                            example: 1629723423
                          profileEmbedPermission:
                            type: number
                            description: Profile embedding permission status
                            example: 1
                          profileTab:
                            type: object
                            description: Additional profile tab configuration structure
                            example: {}
                  statusCode:
                    type: number
                    description: |-
                      Status Code
                          - 0: Success
                          - 10221: Not found
                        
                    example: 0
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bad request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      Invalid API key. Go to https://docs.rapidapi.com/docs/keys
                      for more info.
        '403':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: You are not subscribed to this API.
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: 'Request failed with status 500: Internal Server Error'
                  status_code:
                    type: number
                    example: 500
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: >-
        Rapid API Key. [How can I get Rapid API
        Key?](https://docs.tikfly.io/getting-started/quickstart)

````