---
title: "Get User Info by ID"
method: GET
path: "/api/user/info-by-id"
tags: ["User"]
---

# Get User Info by ID

`GET /api/user/info-by-id`

Get User Info by ID

## Query parameters

- `userId` string — Either userId or secUid must be provided (only one is required)
- `secUid` string — Either userId or secUid must be provided (only one is required)

## Response `200`

Success

- object
  - `user` object
    - `account_type` number
    - `avatar_300x300` object
      - `uri` string
      - `url_list` string[]
      - `url_prefix` string, nullable
    - `avatar_larger` object
      - `uri` string
      - `url_list` string[]
      - `url_prefix` string, nullable
    - `avatar_medium` object
      - `uri` string
      - `url_list` string[]
      - `url_prefix` string, nullable
    - `avatar_thumb` object
      - `uri` string
      - `url_list` string[]
      - `url_prefix` string, nullable
    - `commerce_user_level` number
    - `custom_verify` string
    - `enterprise_verify_reason` string
    - `follow_status` number
    - `follower_count` number — Total number of users following this account
    - `follower_status` number
    - `following_count` number — Number of accounts this user is following
    - `nickname` string — The user’s profile display name
    - `original_musician` object
      - `digg_count` number
      - `music_count` number
      - `music_used_count` number
      - `new_release_clip_ids` unknown
    - `room_id` number — ID for the account live room
    - `sec_uid` string — User secUid
    - `secret` number — Indicates whether the account is set to private
    - `short_id` string
    - `show_favorite_list` boolean — Whether the user’s liked videos list is public
    - `signature` string — The user’s profile bio
    - `tab_settings` object
      - `private_tab` object
        - `private_tab_style` number
        - `show_private_tab` boolean
    - `total_favorited` number — Total number of likes the user has received across all videos
    - `uid` string — User ID
    - `unique_id` string — User uniqueID. The user’s public TikTok handle (username)
    - `verification_type` number
    - `with_commerce_entry` boolean
  - `status_code` number — Status Code - 0: Success - 3170: Not found - 3002334: Not found

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/tikfly/apis/tikfly-api-unoffical-tiktok-api.md) · [All operations](https://skmtc.net/tikfly/apis/tikfly-api-unoffical-tiktok-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tikfly/tikfly-api-unoffical-tiktok-api/revisions/892e18b9f5af/schema)
