Skip to Content

Profile

A profile with its exact follower and like counts.

GET
/v1/tiktok/profile

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The username, with or without @.

secUid?string

TikTok's stable key for the account (a profile's ext.secUid), instead of handle.

url?string

The profile's link (https://www.tiktok.com/@nike, or a share link), instead of handle.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A TikTok account.

Example Request
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.tiktok.profile({ handle: "nike" });
Example Response
{  "data": {    "id": "208464585232822272",    "username": "nike",    "displayName": "Nike",    "bio": "Just Do It.",    "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/e0b0ac7b6ad6447a8e923fd1eb162f2c~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=c73b1f8a&x-expires=1795730400&x-signature=WFCAToitWtbkgo5qXRwrQmcX%2FZY%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my",    "url": "https://www.tiktok.com/@nike",    "verified": true,    "private": false,    "followers": 9440793,    "following": 94,    "likes": 51312842,    "posts": 1131,    "externalUrl": "http://empli.fi/niketiktok",    "createdAt": null,    "ext": {      "secUid": "MS4wLjABAAAA_3ndMt8d_tECTdpKgCxcx238tOnQZX-20wqN01aMui5zQ7hsqSdff-jC5qYC-Cl_",      "friends": 47,      "liked": 0,      "category": "Sports, Fitness & Outdoors",      "seller": false,      "likesPublic": false,      "roomId": null    }  }}