Skip to main content

TikTok

Base URL: https://drain.lat/api/v1/tiktok
Fetch a public TikTok profile. Works with or without the @ symbol.
GET /api/v1/tiktok/profile/:username
username
string
required
TikTok username. The @ prefix is optional.
curl "https://drain.lat/api/v1/tiktok/profile/charlidamelio" \
  -H "x-api-key: YOUR_API_KEY"
id
string
TikTok user ID.
username
string
TikTok username.
displayName
string
Display name shown on profile.
bio
string
Profile bio.
avatarUrl
string
Avatar image URL.
verified
boolean
Whether the account is verified.
isPrivate
boolean
Whether the account is private.
region
string
Account region code (e.g. US).
Link in bio URL.
followers
number
Follower count.
following
number
Following count.
likes
number
Total likes received.
videoCount
number
Number of videos posted.
profileUrl
string
Link to the TikTok profile.
Response
{
  "id": "6868786954978230278",
  "username": "charlidamelio",
  "displayName": "charli d'amelio",
  "bio": "just a girl who loves to dance",
  "avatarUrl": "https://p16-sign-va.tiktokcdn.com/...",
  "verified": true,
  "isPrivate": false,
  "region": "US",
  "bioLink": "",
  "followers": 155400000,
  "following": 1012,
  "likes": 11200000000,
  "videoCount": 2341,
  "profileUrl": "https://www.tiktok.com/@charlidamelio",
  "scrapedAt": "2026-05-05T12:00:00.000Z"
}
Get a user’s recent videos.
GET /api/v1/tiktok/profile/:username/videos
username
string
required
TikTok username. The @ prefix is optional.
curl "https://drain.lat/api/v1/tiktok/profile/charlidamelio/videos" \
  -H "x-api-key: YOUR_API_KEY"
username
string
TikTok username.
videos
array
total
number
Number of videos returned.
Response
{
  "username": "charlidamelio",
  "videos": [
    {
      "id": "7123456789",
      "description": "pov you found this",
      "createTime": "2026-04-01T12:00:00.000Z",
      "cover": "https://...",
      "duration": 15,
      "plays": 4200000,
      "likes": 380000,
      "comments": 12000,
      "shares": 45000,
      "url": "https://www.tiktok.com/@charlidamelio/video/7123456789"
    }
  ],
  "total": 20,
  "scrapedAt": "2026-05-08T10:00:00.000Z"
}
Get info and stats for a single TikTok video.
GET /api/v1/tiktok/video/:videoId
videoId
string
required
The TikTok video ID.
curl "https://drain.lat/api/v1/tiktok/video/7123456789" \
  -H "x-api-key: YOUR_API_KEY"
id
string
Video ID.
description
string
Video caption.
createTime
string
Upload date (ISO 8601).
author
object
stats
object
video
object
music
object
url
string
Link to the video.
Response
{
  "id": "7123456789",
  "description": "pov you found this",
  "createTime": "2026-04-01T12:00:00.000Z",
  "author": {
    "id": "123456",
    "username": "charlidamelio",
    "displayName": "charli d'amelio",
    "avatarUrl": "https://..."
  },
  "stats": {
    "plays": 4200000,
    "likes": 380000,
    "comments": 12000,
    "shares": 45000,
    "bookmarks": 9000
  },
  "video": {
    "duration": 15,
    "ratio": "9:16",
    "cover": "https://...",
    "downloadUrl": "https://..."
  },
  "music": {
    "id": "987654",
    "title": "original sound",
    "author": "charlidamelio",
    "coverUrl": "https://...",
    "duration": 15
  },
  "url": "https://www.tiktok.com/@charlidamelio/video/7123456789",
  "scrapedAt": "2026-05-08T10:00:00.000Z"
}