TIKTOK API

Search Users

Retrieve search users from TikTok with a single API request.

GET/api/data/v1/tiktok/search/users
1credit base cost

Request parameters

Up to 1 credit

Search query for users

Set to true to get a trimmed response

Cursor to get more users. Get 'cursor' from previous response.

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/tiktok/search/users' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "users": [
    {
      "follower_count": 163953,
      "following_count": 63,
      "nickname": "ADRIAN",
      "sec_uid": "MS4wLjABAAAAcT5kdL_w3D2p3a3DkULhrVE6Ir17Ua1M9GZK4cnvnKxbJg3qy0xDdbaFeY260Qzz",
      "uid": "6757029651601835013",
      "unique_id": "adrianzyno",
      "avatar_medium": {
        "height": 720,
        "uri": "tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093",
        "url_list": [
          "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/60a12c00b42288dd3503cf3025165093~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&s=SEARCH&sc=avatar&shcp=c1333099&shp=30310797&t=223449c4"
        ],
        "url_prefix": null,
        "width": 720
      }
    }
  ],
  "cursor": 30,
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
Illustrative response with example values adapted for FetchGoblin. Run a request to retrieve current platform data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "users": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "follower_count": {
            "type": "integer"
          },
          "following_count": {
            "type": "integer"
          },
          "nickname": {
            "type": "string"
          },
          "sec_uid": {
            "type": "string"
          },
          "uid": {
            "type": "string"
          },
          "unique_id": {
            "type": "string"
          },
          "avatar_medium": {
            "type": "object",
            "properties": {
              "height": {
                "type": "integer"
              },
              "uri": {
                "type": "string"
              },
              "url_list": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "url_prefix": {
                "type": [
                  "string",
                  "object",
                  "array",
                  "number",
                  "boolean",
                  "null"
                ]
              },
              "width": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "cursor": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer",
      "minimum": 0,
      "description": "FetchGoblin credits charged for this request."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your FetchGoblin credit balance after this request."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "FetchGoblin request identifier."
    }
  }
}