TikTok User Following
Open a public TikTok profile, navigate into its following list, and return normalized followed accounts with cursor pagination.
Try on PlaygroundAuthentication
Send your Crawlkit API key as a Bearer token in the Authorization header.
Authorization: Bearer ck_your_api_keyRequest Parameters
Send these JSON body fields in your request payload.
| Name | Type | Description |
|---|---|---|
username | string | Public username. |
cursor | number | Pagination cursor. |
Example Request
Use direct HTTP requests against the public API base URL.
Example request
1const response = await fetch('https://api.crawlkit.sh/v1/crawl/tiktok/user-following', {2 method: 'POST',3 headers: {4 'Authorization': 'Bearer YOUR_API_KEY',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 "username": "khaby.lame",9 "cursor": 0,10 "options": {11 "timeout": 6000012 }13})14});15 16const { data } = await response.json();17console.log(data.following.length, data.pagination.hasMore);Response
Success (200 OK): Returns service-specific structured payload.
Success response (200 OK)
1{2 "success": true,3 "data": {4 "username": "khaby.lame",5 "following": [6 {7 "id": null,8 "secUid": null,9 "username": "therock",10 "nickname": "Dwayne Johnson",11 "signature": "",12 "avatar": "https://p16-sign.tiktokcdn.com/...",13 "verified": false,14 "followers": null,15 "following": null,16 "likes": null,17 "roomId": null,18 "region": null,19 "language": null20 }21 ],22 "pagination": {23 "cursor": 20,24 "hasMore": true25 },26 "total": 31,27 "timing": {28 "total": 521829 },30 "creditsUsed": 1,31 "creditsRemaining": 8732 }33}