Scrapingdog

TikTok Post Scraper API

The TikTok Post Scraper API lets you extract detailed data for any TikTok post including play counts, likes, comments, shares, video quality details, music info, and full author stats. Each successful request costs 5 API credits.

Endpoint: https://api.scrapingdog.com/tiktok/post

API Parameters

🔑

Scrapingdog Parameters

  • api_key Required
    Your personal API key. Available on your dashboard.

    Type: String
🎬

Post

  • username Optional
    The username of the TikTok profile whose post you want to scrape. Required unless using the url parameter.

    Type: String
  • post_id Optional
    The ID of the post you want to get data for. Required unless using the url parameter.

    Type: String
  • url Optional
    Full TikTok post URL if you don't want to pass username and post_id separately. Example: https://www.tiktok.com/@nba/video/7255379108241198378

    Type: String

API Examples

Code to Integrate
curl "https://api.scrapingdog.com/tiktok/post?api_key=APIKEY&username=nba&post_id=7255379108241198378"
API Response
{
  "id": "7255379108241198378",
  "canonical_url": "https://www.tiktok.com/@nba/video/7255379108241198378",
  "description": "When the clock hits zero 🏀 #NBA #Basketball",
  "created_at": 1688400000,
  "location": null,
  "privacy": "public",
  "statistics": {
    "plays": 14900000,
    "likes": 1200000,
    "comments": 1475,
    "shares": 3019,
    "collects": 52674
  },
  "video": {
    "width": 576,
    "height": 1024,
    "duration": 30,
    "quality": "normal",
    "codec": "h264",
    "play_url": "https://v19-webapp.tiktok.com/...",
    "download_url": "https://v19-webapp.tiktok.com/...",
    "subtitles": []
  },
  "music": {
    "id": "7255379108241198000",
    "title": "original sound",
    "author": "NBA",
    "duration": 30,
    "audio_url": "https://sf16-ies-music.tiktokcdn.com/...",
    "cover": "https://p16-sign-sg.tiktokcdn.com/..."
  },
  "author": {
    "id": "6569595380",
    "username": "nba",
    "verified": true,
    "followers": 26100000,
    "following": 512,
    "likes": 385000000,
    "video_count": 4200
  },
  "hashtags": [
    { "id": "1234", "name": "NBA" },
    { "id": "5678", "name": "Basketball" }
  ],
  "mentions": [],
  "categories": ["Sports"],
  "suggested_words": ["basketball", "nba", "sports"]
}