Back to Blog
General

TikTok Videos Scraper API: Extract All Videos from Any Profile

January 22, 2026
4 min read
S
By SociaVault Team
tiktokvideo scraperapitiktok videos

TikTok Videos Scraper API: Download Video Data from Any Profile

Need to extract TikTok videos from creator profiles? This guide shows you how to scrape video metadata, performance metrics, and download URLs using the SociaVault API.

Why Scrape TikTok Videos?

TikTok doesn't provide public API access for video data. Yet businesses need this information for:

  • Content Analysis - Study what types of videos perform best
  • Competitor Research - Monitor competitor posting strategies
  • Trend Detection - Identify viral content patterns early
  • UGC Collection - Find user-generated content mentioning your brand
  • Influencer Vetting - Review creator content quality before partnerships

What Video Data Can You Extract?

Each video returned includes rich metadata:

FieldDescription
Video IDUnique identifier
Video URLDirect link to watch
Download URLMP4 download link (no watermark available)
CaptionVideo description text
HashtagsArray of hashtags used
View CountTotal video views
Like CountNumber of likes
Comment CountNumber of comments
Share CountTimes shared
DurationVideo length in seconds
Create TimeWhen the video was posted
MusicAudio track information

How to Use the Videos Scraper API

Fetch all videos from a TikTok profile:

const response = await fetch('https://api.sociavault.com/tiktok/videos', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    handle: 'mrbeast',
    amount: 50
  })
});

const videos = await response.json();

Sample Response

{
  "videos": [
    {
      "id": "7234567890123456789",
      "url": "https://www.tiktok.com/@mrbeast/video/7234567890123456789",
      "downloadUrl": "https://...",
      "caption": "Giving away $1,000,000 💰 #challenge",
      "hashtags": ["challenge", "giveaway", "mrbeast"],
      "views": 45000000,
      "likes": 5200000,
      "comments": 89000,
      "shares": 125000,
      "duration": 58,
      "createTime": "2026-01-05T14:30:00Z",
      "music": {
        "title": "Original Sound",
        "author": "MrBeast"
      }
    }
  ],
  "hasMore": true,
  "cursor": "1704500000000"
}

Pagination for Large Profiles

For creators with many videos, use cursor-based pagination:

let allVideos = [];
let cursor = null;

do {
  const response = await fetch('https://api.sociavault.com/tiktok/videos', {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_API_KEY',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      handle: 'mrbeast',
      amount: 50,
      cursor: cursor
    })
  });
  
  const data = await response.json();
  allVideos = [...allVideos, ...data.videos];
  cursor = data.hasMore ? data.cursor : null;
  
} while (cursor);

console.log(`Scraped ${allVideos.length} videos`);

Common Use Cases

Content Performance Analysis

Calculate average engagement rates across a creator's content:

const avgEngagement = videos.reduce((sum, v) => {
  return sum + ((v.likes + v.comments + v.shares) / v.views);
}, 0) / videos.length;

Finding Top Performing Content

Sort videos by engagement to find what resonates:

const topVideos = videos
  .sort((a, b) => b.likes - a.likes)
  .slice(0, 10);

Hashtag Analysis

Extract the most used hashtags from a creator's content:

const hashtagCounts = {};
videos.forEach(video => {
  video.hashtags.forEach(tag => {
    hashtagCounts[tag] = (hashtagCounts[tag] || 0) + 1;
  });
});

Frequently Asked Questions

Can I download TikTok videos without watermark?

Yes, the API returns download URLs for videos. For watermark-free downloads, use the dedicated download endpoint.

How far back can I scrape videos?

You can access a creator's entire public video history, going back to their first uploaded video.

Is there a limit on how many videos I can scrape?

No per-request limit. Scrape hundreds or thousands of videos as needed. Pricing is per-video scraped.

Can I get videos from private accounts?

No, only publicly visible videos can be scraped. Private accounts restrict access to approved followers only.

How often is the data updated?

Video metrics (views, likes, comments) are fetched in real-time, giving you the most current data available.

Start Scraping TikTok Videos

Create your free account and start extracting TikTok video data in minutes.

See full endpoint documentation at /docs/api-reference/tiktok/videos.

Found this helpful?

Share it with others who might benefit

Ready to Try SociaVault?

Start extracting social media data with our powerful API. No credit card required.