Profile Following
The accounts an account follows, when it shows them.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
handle?stringThe username, with or without @.
secUid?stringTikTok's stable key for the account (a profile's ext.secUid), instead of handle.
url?stringThe profile's link, instead of handle.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.tiktok.profileFollowing({ handle: "tiktok" });Example Response
{ "data": [ { "id": "6994771535970370566", "username": "shou.time", "displayName": "Shou", "bio": "TikTok", "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/7311585113949601834~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=87649410&x-expires=1795730400&x-signature=b4WxKIQgcnoXEnwQP75r5IGo%2BCM%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my", "url": "https://www.tiktok.com/@shou.time", "verified": true, "private": false, "followers": 4620631, "following": 239, "likes": 11563856, "posts": 55, "externalUrl": null, "createdAt": null, "ext": { "secUid": "MS4wLjABAAAAk-_0L7XuKDvMfmosBPF1VEuFTaxX_KlOs4E1E2Fn0akBT4lQECDR39BENch7v9Up", "friends": 0, "liked": 108, "category": null, "seller": false, "likesPublic": false, "roomId": null } }, { "id": "6551237489917432832", "username": "tiktokcreators", "displayName": "tiktok creators", "bio": "The official account for TikTok Creators who inspire creativity and bring joy ✨\n\n⬇️ Creator Programs 💰⬇️", "avatarUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/8a3909f393315b8cf96ea44747b6dfbb~tplv-tiktokx-cropcenter:1080:1080.jpeg?dr=14579&refresh_token=173bce55&x-expires=1795730400&x-signature=Oa%2B2zBeayhXFIsK%2FRwBMzjDUk9I%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=81f88b70&idc=my", "url": "https://www.tiktok.com/@tiktokcreators", "verified": true, "private": false, "followers": 9039643, "following": 570, "likes": 33952505, "posts": 1180, "externalUrl": null, "createdAt": null, "ext": { "secUid": "MS4wLjABAAAAXqqA-cLDC0hfQPIrS5APYNsg04zkl-socWCkqkI3UIOaEe6_Qnokg0GcWpLnMNQP", "friends": 0, "liked": 1924, "category": null, "seller": false, "likesPublic": false, "roomId": null } } ], "pagination": { "nextCursor": null, "hasMore": false }}