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:
| Field | Description |
|---|---|
| Video ID | Unique identifier |
| Video URL | Direct link to watch |
| Download URL | MP4 download link (no watermark available) |
| Caption | Video description text |
| Hashtags | Array of hashtags used |
| View Count | Total video views |
| Like Count | Number of likes |
| Comment Count | Number of comments |
| Share Count | Times shared |
| Duration | Video length in seconds |
| Create Time | When the video was posted |
| Music | Audio 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;
});
});
Related TikTok Endpoints
- TikTok Profile Scraper - Get creator profile data
- TikTok Video Info - Get single video details
- TikTok Comments Scraper - Extract video comments
- TikTok Transcript API - Get video transcripts
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.