TikTok Posts Scraper

Plugin ID: tiktok_user_posts_scrapper

Description

The TikTok User Posts Scraper tool extracts detailed information about a TikTok user's recent posts and videos. Gather comprehensive engagement metrics, content details, and music information from up to 100 posts per user for content analysis, trend research, and competitive intelligence.

Cost Information

  • Cost: 4 credits

  • PixelML Cost: $0.01

Input Parameters

Parameter
Type
Required
Default
Description

user_name

string

Yes

-

The TikTok username to scrape posts from (without @ symbol). Example: "username"

max_items

integer

No

10

Maximum number of posts to retrieve. Controls data volume and processing time. Range: 1-100

Output

Field
Type
Description

posts

array

Array of post objects containing detailed information about each TikTok video

Post Object Structure

Each post in the posts array contains:

Field
Type
Description

id

string

Unique identifier for the TikTok post

title

string

Caption or title text of the post

views

integer

Total number of views the post has received

likes

integer

Total number of likes on the post

comments

integer

Total number of comments on the post

shares

integer

Total number of times the post has been shared

bookmarks

integer

Total number of times the post has been bookmarked

song_title

string

Title of the background music/sound used

song_artist

string

Artist or creator of the background music/sound

song_album

string

Album name of the background music (may be null)

How It Works

  1. User Validation: Verifies the provided TikTok username exists and is accessible

  2. Post Retrieval: Fetches the most recent posts up to the specified limit

  3. Engagement Analysis: Extracts detailed metrics for each post including views, likes, and interactions

  4. Content Processing: Captures post captions, descriptions, and content details

  5. Music Identification: Identifies and extracts information about background music/sounds

  6. Data Compilation: Organizes all information into a structured, analyzable format

Use Cases

  • Content Performance Analysis: Track engagement metrics across posts to identify top-performing content

  • Trend Research: Analyze popular music, hashtags, and content formats

  • Competitive Intelligence: Monitor competitor content strategies and performance

  • Influencer Marketing: Evaluate creator content quality and engagement rates

  • Music Discovery: Identify trending songs and audio content on the platform

  • Content Strategy: Research successful content patterns and formats in your niche

  • Social Media Analytics: Gather data for comprehensive social media reporting

Example Usage

Content Performance Analysis

User Name: "content_creator"
Max Items: 25

Trend Research

User Name: "trending_account"
Max Items: 50

Quick Overview

User Name: "competitor"
Max Items: 5

Example Output

{
  "posts": [
    {
      "id": "7234567890123456789",
      "title": "Check out this amazing dance trend! #fyp #dance #viral",
      "views": 2500000,
      "likes": 180000,
      "comments": 12500,
      "shares": 45000,
      "bookmarks": 23000,
      "song_title": "Original Sound",
      "song_artist": "@user123",
      "song_album": null
    },
    {
      "id": "7234567890123456790",
      "title": "Cooking hack that will blow your mind! 🤯",
      "views": 1200000,
      "likes": 95000,
      "comments": 8200,
      "shares": 28000,
      "bookmarks": 15000,
      "song_title": "Upbeat Cooking Music",
      "song_artist": "Kitchen Beats",
      "song_album": "Cooking Vibes"
    }
  ]
}

Data Analysis Insights

Engagement Metrics

  • View-to-Like Ratio: Calculate engagement quality (likes/views)

  • Comment Engagement: Measure audience interaction levels

  • Share Performance: Identify highly shareable content

  • Bookmark Trends: Track content that users save for later

Content Patterns

  • Caption Analysis: Identify successful text patterns and hashtags

  • Music Trends: Track popular audio content and music usage

  • Performance Benchmarks: Compare metrics across different post types

Tips for Best Results

  1. Optimize Max Items: Balance between data comprehensiveness and processing speed

  2. Regular Monitoring: Track changes in engagement patterns over time

  3. Cross-Reference Data: Combine with profile data for complete analysis

  4. Trend Identification: Look for patterns in high-performing content

  5. Music Analysis: Track trending audio for content strategy insights

  6. Engagement Timing: Consider when posts were published for context

Data Freshness

  • Real-time Metrics: Engagement numbers reflect current platform data

  • Recent Posts: Retrieves the most recently published content first

  • Live Updates: Metrics continue to change as posts gain more engagement

  • Historical Context: Older posts may show cumulative engagement over time

Limitations

  • Public Content Only: Can only access publicly available posts

  • Recent Posts Focus: Retrieves most recent content, not historical archives

  • Rate Limiting: Subject to platform rate limits and usage policies

  • Content Availability: Some posts may be restricted or unavailable

  • Max Items Limit: Cannot retrieve more than 100 posts per request

  • Platform Dependencies: Subject to TikTok's API availability and policies

  • Regional Restrictions: Some content may not be accessible in certain regions

Privacy & Compliance

  • Only accesses publicly available TikTok post data

  • Respects TikTok's terms of service and community guidelines

  • No access to private or restricted content

  • Complies with data protection regulations and privacy standards

  • Users should ensure appropriate permissions for data collection and analysis

  • Content analysis should respect creator rights and platform policies

Error Handling

Common error scenarios:

  • Invalid Username: Returns error for non-existent TikTok usernames

  • Private Account: Returns error if user account is private or restricted

  • No Posts Found: Returns empty array if user has no public posts

  • Invalid Max Items: Returns error if max_items is outside the 1-100 range

  • Rate Limited: Temporary restriction if too many requests are made

  • Platform Unavailable: Returns error if TikTok platform is inaccessible

  • Content Restricted: Returns error if posts are not accessible due to regional or content restrictions

Last updated

Was this helpful?