TIKTOK API

Following

Retrieve following from TikTok with a single API request.

GET/api/data/v1/tiktok/user/following
1credit base cost

Request parameters

Up to 1 credit

TikTok handle

Set to true to get a trimmed response

Used to paginate. Get 'min_time' 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/user/following?handle=stoolpresidente' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "followings": [
    {
      "create_time": 1748628014,
      "follower_count": 2175,
      "following_count": 10,
      "language": "en",
      "nickname": "Barstool Beach House",
      "region": "US",
      "sec_uid": "MS4wLjABAAAAbQK_EH0QRu1Wqk9mXsWvWW2dGpK1_LSiVdJx0oXtFCE_oOX8RIeGFfaYJQthUoaH",
      "signature": "Coming in August",
      "uid": "7510299285881160735",
      "unique_id": "barstoolbeachhouse",
      "avatar_medium": {
        "height": 720,
        "uri": "tos-maliva-avt-0068/14f24ed9e7e1b1fc6764375b799c6ed7",
        "url_list": [
          "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/14f24ed9e7e1b1fc6764375b799c6ed7~tplv-tiktokx-cropcenter-q:720:720:q70.heic?dr=9607&idc=no1a&ps=87d6e48a&refresh_token=a5540255&s=COMMON_RELATION_LIST&sc=avatar&shcp=65db1d19&shp=30310797&t=223449c4&x-expires=1750374000&x-signature=RDNAkREIu7HN1Tk8QeklmwFkSJY%3D"
        ],
        "url_prefix": null,
        "width": 720
      }
    }
  ],
  "min_time": 1734010829,
  "total": 81,
  "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"
    },
    "followings": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "create_time": {
            "type": "integer"
          },
          "follower_count": {
            "type": "integer"
          },
          "following_count": {
            "type": "integer"
          },
          "language": {
            "type": "string"
          },
          "nickname": {
            "type": "string"
          },
          "region": {
            "type": "string"
          },
          "sec_uid": {
            "type": "string"
          },
          "signature": {
            "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"
              }
            }
          }
        }
      }
    },
    "min_time": {
      "type": "integer"
    },
    "total": {
      "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."
    }
  }
}