# Tiktok Post Detail Scraper (`bhansalisoft/tiktok-post-detail-scraper`) Actor

Tiktok Post Detail Scraper : Scrap Complete Detail of Tiktok Post inlcluding likes,hashtag,vies, sound,description etc.

- **URL**: https://apify.com/bhansalisoft/tiktok-post-detail-scraper.md
- **Developed by:** [bhansalisoft](https://apify.com/bhansalisoft) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### TikTok Post Detail Scraper

Extract **TikTok post details, video analytics, engagement metrics, subtitles, audio information, creator profile data, and downloadable video URLs** from TikTok video links. This Apify actor provides structured JSON data for **TikTok videos, photos, and carousel posts**, making it ideal for influencer research, content analysis, social media monitoring, competitor analysis, and TikTok analytics.

The actor collects comprehensive TikTok post information including **views, likes, comments, shares, saves, video duration, hashtags, subtitles, music metadata, creator information, and direct media URLs**.

### Why use this TikTok Post Detail Scraper?

This actor is designed for developers, marketers, researchers, agencies, and businesses that need detailed TikTok post data in a structured format.

#### Key benefits

- Scrape TikTok post details from video URLs
- Extract engagement metrics
- Download video and media URLs
- Get creator profile information
- Collect subtitles and caption data
- Extract hashtags and descriptions
- Export structured JSON, CSV, Excel, XML, or RSS
- Compatible with Apify API and automation workflows

### Features

- TikTok video metadata extraction
- TikTok photo and carousel support
- View count and play count
- Like count
- Comment count
- Share count
- Save (collect) count
- Video duration
- Original sound information
- Creator profile data
- Profile avatar and biography
- Hashtag extraction
- Subtitle download URLs
- Video download URLs
- Preview image URLs
- Music metadata
- Region information
- Verification status
- Bulk TikTok post scraping

### Input

Provide one or more TikTok post URLs.

Example:

```json
{
  "postUrls": [
    "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
    "https://www.tiktok.com/@username/video/1234567890123456789"
  ]
}
```

The actor supports bulk TikTok post collection in a single run.

### Output

Each TikTok post is stored as a structured dataset item.

Example output:

```json
{
  "url": "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
  "post_id": "7553327774983802143",
  "description": "Cooking a pizza with powertools!",
  "create_time": "2025-09-23T16:49:52.000Z",
  "digg_count": 1200000,
  "comment_count": 61800,
  "share_count": 131700,
  "play_count": 23000000,
  "video_duration": 39,
  "profile_username": "MrBeast",
  "profile_followers": 134900000,
  "video_url": "https://...",
  "preview_image": "https://...",
  "post_type": "video",
  "subtitle_url": "https://..."
}
```

### Extracted fields

The actor can return:

#### Post information

- Post URL
- Post ID
- Description
- Caption text
- Hashtags
- Create time
- Post type (video/photo/carousel)

#### Engagement metrics

- Views / play count
- Likes
- Comments
- Shares
- Saves (collect count)

#### Video information

- Video duration
- Video resolution
- Aspect ratio
- Preview image
- Direct video URL
- CDN URL

#### Creator profile

- Username
- Profile ID
- Profile URL
- Profile avatar
- Profile biography
- Verification status
- Follower count

#### Audio information

- Original sound
- Music title
- Music author
- Music cover image
- Audio URL

#### Subtitle information

- Subtitle URL
- Subtitle format
- Subtitle language
- Subtitle metadata

#### Additional metadata

- Region
- Commerce information
- Original content flags
- Security ID
- Timestamp
- Input metadata

### Use cases

#### Influencer marketing

Analyze TikTok creator performance and engagement.

#### Competitor analysis

Monitor competitors and track viral content performance.

#### Social media analytics

Build dashboards with TikTok engagement metrics.

#### Content research

Identify high-performing TikTok videos and trending topics.

#### AI and machine learning

Collect TikTok datasets for caption analysis, video analytics, and trend detection.

#### Lead generation

Extract creator information and profile data for outreach campaigns.

### API integration

Run the actor using the Apify API.

```bash
curl -X POST \
  https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs \
  -H "Content-Type: application/json" \
  -d '{
    "postUrls": [
      "https://www.tiktok.com/@mrbeast/video/7553327774983802143"
    ]
  }'
```

### Bulk TikTok post scraping

The actor supports scraping **hundreds or thousands of TikTok post URLs** in a single run.

Results are automatically stored in the Apify dataset and can be exported in multiple formats.

### Export formats

Apify datasets can be exported as:

- JSON
- CSV
- Excel (XLSX)
- XML
- RSS
- HTML

You can also connect the dataset to **Google Sheets, Zapier, Make, n8n, APIs, and custom applications**.

# Actor input Schema

## `TiktokPostUrls` (type: `array`):

Paste Tiktok Post URLS

## `country` (type: `string`):

Tiktok Search country

## `maxResults` (type: `integer`):

Maximum number of results per URL or per search term overall (upper cap).

## Actor input object example

```json
{
  "TiktokPostUrls": [
    "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
    "https://www.tiktok.com/@bellapoarch/video/7433494424040017194"
  ],
  "country": "",
  "maxResults": 1
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "TiktokPostUrls": [
        "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
        "https://www.tiktok.com/@bellapoarch/video/7433494424040017194"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bhansalisoft/tiktok-post-detail-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "TiktokPostUrls": [
        "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
        "https://www.tiktok.com/@bellapoarch/video/7433494424040017194",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bhansalisoft/tiktok-post-detail-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "TiktokPostUrls": [
    "https://www.tiktok.com/@mrbeast/video/7553327774983802143",
    "https://www.tiktok.com/@bellapoarch/video/7433494424040017194"
  ]
}' |
apify call bhansalisoft/tiktok-post-detail-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bhansalisoft/tiktok-post-detail-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/s5VcaaJQV5LKiTR0o/builds/pAykxmCjP5cqs4xOo/openapi.json
