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

# Get Influencer Detail

> Retrieve real-time profile information for a TikTok influencer by unique ID, including follower count, bio, video count, and engagement data.

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">per request</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 Why Code When AI Can Do It For You?</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">Stop writing code like it's 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.</p>
  </div>

  <div className="mt-4">
    <button
      type="button"
      className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50"
      onClick={() => navigator.clipboard.writeText(`I want to make an API call to https://api.keyapi.ai/v1/tiktok/influencer/detail.

Please help me write code to make this API call and handle the response appropriately. Include error handling and best practices.

Here are the details:

Endpoint: GET https://api.keyapi.ai/v1/tiktok/influencer/detail

Description: Retrieve real-time profile information for a TikTok influencer by unique ID, including follower count, bio, video count, and engagement data.

Required Headers:
--header 'Authorization: Bearer <YOUR_API_KEY>'

Parameters:
- unique_id (Required): Creator handle ID (e.g. @username without the @). Example: karladelatorre97

Example Response:
{
"message": "success",
"code": 0,
"data": {
"extra": {
  "fatal_item_ids": [],
  "logid": "2025111110180242E8FC16788589091C58",
  "now": 1762856282000
},
"log_pb": {
  "impr_id": "2025111110180242E8FC16788589091C58"
},
"status_code": 0,
"status_msg": "",
"user": {
  "account_type": 0,
  "ad_virtual": false,
  "avatar_168x168": {
    "uri": "tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668",
    "url_list": [
      "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:168:168.webp?dr=10397&refresh_token=f835a900&x-expires=1763028000&x-signature=aXzJDMuvNz0cISxCMYrAes95dVg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a",
      "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:168:168.jpeg?dr=10397&refresh_token=7b253788&x-expires=1763028000&x-signature=UPJycanZ1BiFbVW6vbfwGyiOLfE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a"
    ],
    "url_prefix": null
  },
  "avatar_300x300": {
    "uri": "tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668",
    "url_list": [
      "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:300:300.webp?dr=10397&refresh_token=957bef8a&x-expires=1763028000&x-signature=GQU2wzLiQuCL2TjlrjKQpTFXHfk%3D&t=4d5b0474&ps=13740610&shp=a5
... (truncated)`)}
    >
      <span>✨</span>
      <span>Copy for AI</span>
    </button>
  </div>
</div>


## OpenAPI

````yaml en/tiktok.openapi.json GET /v1/tiktok/influencer/detail
openapi: 3.0.1
info:
  title: Tiktok API english documentation
  description: >-
    The english reference documentation of the Tiktok API includes the
    interface's purpose, parameter description, response status, and sample
    structure.
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security: []
tags:
  - name: TikTok Influencer
  - name: TikTok Shop
  - name: TikTok Content
  - name: TikTok Intelligence
paths:
  /v1/tiktok/influencer/detail:
    get:
      tags:
        - TikTok Influencer
      summary: Get Influencer Detail
      description: >-
        Retrieve real-time profile information for a TikTok influencer by unique
        ID, including follower count, bio, video count, and engagement data.
      operationId: get_api_v3_realtime_influencer_detail
      parameters:
        - name: unique_id
          in: query
          required: true
          schema:
            type: string
            example: karladelatorre97
            default: karladelatorre97
          example: karladelatorre97
          description: Creator handle ID (e.g. @username without the @)
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties: {}
                example:
                  message: success
                  code: 0
                  data:
                    extra:
                      fatal_item_ids: []
                      logid: 2025111110180242E8FC16788589091C58
                      now: 1762856282000
                    log_pb:
                      impr_id: 2025111110180242E8FC16788589091C58
                    status_code: 0
                    status_msg: ''
                    user:
                      account_type: 0
                      ad_virtual: false
                      avatar_168x168:
                        uri: >-
                          tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668
                        url_list:
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:168:168.webp?dr=10397&refresh_token=f835a900&x-expires=1763028000&x-signature=aXzJDMuvNz0cISxCMYrAes95dVg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:168:168.jpeg?dr=10397&refresh_token=7b253788&x-expires=1763028000&x-signature=UPJycanZ1BiFbVW6vbfwGyiOLfE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                        url_prefix: null
                      avatar_300x300:
                        uri: >-
                          tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668
                        url_list:
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:300:300.webp?dr=10397&refresh_token=957bef8a&x-expires=1763028000&x-signature=GQU2wzLiQuCL2TjlrjKQpTFXHfk%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:300:300.jpeg?dr=10397&refresh_token=2baee887&x-expires=1763028000&x-signature=ntAYPz8KR4QReLi0DuEMnJNpS5U%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                        url_prefix: null
                      avatar_larger:
                        uri: >-
                          tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668
                        url_list:
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:1080:1080.webp?dr=10399&refresh_token=fe733183&x-expires=1763028000&x-signature=XRmLPWrYPcqMnsp2L3NGqktr%2FYE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=10399&refresh_token=4b7df371&x-expires=1763028000&x-signature=m0N%2BuklP%2FeBe%2BRAgspeAY0eJXnM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                        url_prefix: null
                      avatar_medium:
                        uri: >-
                          tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668
                        url_list:
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:720:720.webp?dr=10399&refresh_token=461b7754&x-expires=1763028000&x-signature=%2FimtDpLwWzC6CuZEBe%2BKPHwcMmo%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:720:720.jpeg?dr=10399&refresh_token=ffe4fb7e&x-expires=1763028000&x-signature=728UwROP8yzULLXNEQhGi%2FT8urs%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                        url_prefix: null
                      avatar_thumb:
                        uri: >-
                          tos-useast5-avt-0068-tx/1d409aefb87cd6ba80e3b4d463b5e668
                        url_list:
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:100:100.webp?dr=10399&refresh_token=963caa17&x-expires=1763028000&x-signature=RCEIPQc7%2BxQlX2cuIHkJ6%2FSnArA%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                          - >-
                            https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/1d409aefb87cd6ba80e3b4d463b5e668~tplv-tiktokx-cropcenter:100:100.jpeg?dr=10399&refresh_token=04e08cb5&x-expires=1763028000&x-signature=LGNtuFMWkkI1C5Pvt6nsOAXKQtE%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=2472a6c6&idc=no1a
                        url_prefix: null
                      aweme_count: 4081
                      can_message_follow_status_list:
                        - 0
                        - 1
                        - 2
                        - 4
                      category: ''
                      commerce_user_info:
                        ad_revenue_rits: null
                        show_star_atlas_cooperation: false
                        star_atlas: 1
                      commerce_user_level: 0
                      custom_verify: verified account
                      enterprise_verify_reason: ''
                      favoriting_count: 0
                      follow_status: 0
                      follower_count: 12115123
                      follower_status: 0
                      following_count: 2375
                      forward_count: 0
                      has_open_favorite: false
                      ins_id: karleshion
                      is_acquaintance: false
                      is_block: false
                      is_blocked: false
                      is_effect_artist: false
                      is_star: false
                      live_commerce: false
                      live_push_notification_status: 2
                      message_chat_entry: true
                      mplatform_followers_count: 0
                      music_tab_info:
                        show_artist_pick_videos: false
                      nickname: Karleshion
                      original_musician:
                        digg_count: 0
                        music_count: 0
                        music_used_count: 0
                        new_release_clip_ids: null
                      post_push_notification_status: 2
                      privacy_setting:
                        following_visibility: 1
                      profile_tab_type: 0
                      recommend_reason_relation: ''
                      room_id: 0
                      sec_uid: >-
                        MS4wLjABAAAASta4D8ZTiD8ni8bW2MSjKGcMaxhrlmlE6zgnGQpiPavmBj4Zy5wvL-1bykogGyld
                      secret: 0
                      share_info:
                        now_invitation_card_image_urls: null
                        share_desc: 'Dai un''occhiata a Karleshion! #TikTok'
                        share_title: Iscriviti a TikTok e scopri cosa sono riuscito a fare!
                        share_url: >-
                          https://www.tiktok.com/@karladelatorre97?_r=1&_d=f02l78lj9j0c2f&sec_uid=MS4wLjABAAAASta4D8ZTiD8ni8bW2MSjKGcMaxhrlmlE6zgnGQpiPavmBj4Zy5wvL-1bykogGyld&share_author_id=6804496986206749701&sharer_language=it&source=h5_m&u_code=f02l8g8h89jec1
                      short_id: '0'
                      show_favorite_list: false
                      show_messaging_entrance_on_profile: true
                      signature: |-
                        De Jalisco🇲🇽/A Kansas🇺🇸
                        kdelatorre@compastudios.com
                      signature_language: un
                      story_status: 0
                      supporting_ngo: {}
                      tab_settings:
                        private_tab:
                          private_tab_style: 1
                          show_private_tab: false
                        repost_tab:
                          repost_tab_all_visible: true
                          show_repost_tab_other: 1
                      total_favorited: 883123130
                      twitter_id: ''
                      twitter_name: ''
                      uid: '6804496986206749701'
                      unique_id: karladelatorre97
                      verification_type: 1
                      visible_videos_count: 4081
                      watch_status: false
                      with_commerce_enterprise_tab_entry: false
                      with_commerce_entry: false
                      with_new_goods: false
                      youtube_channel_id: UCrWt30yC6QuEV76raONdYfg
                      youtube_channel_title: karleshion
                  requestId: d61ae65c-e6bc-4ac0-a1bb-72452a5e0bd9
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: Payment Required
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            curl --request GET \
              --url 'https://api.keyapi.ai/v1/tiktok/influencer/detail?unique_id=karladelatorre97' \
              --header 'Authorization: Bearer <YOUR_API_KEY>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/tiktok/influencer/detail',
                params={"unique_id": "karladelatorre97"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"unique_id":
            "karladelatorre97"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/tiktok/influencer/detail?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        API key for authentication. Format: `sk_live_xxxxxxxxxxxxx`
        Get your API key from the [Dashboard](http://keyapi.ai/app/dashboard).

````