# TikTok Video Details Scraper | Stats, Author & Transcript (`genial_candlestand/tiktok-video-details-scraper`) Actor

Get TikTok video and photo post details by URL or ID: caption, publish date, views, likes, comments, shares, saves, hashtags, author follower count, sound and media links, plus an optional transcript. Flat rows, bare IDs and short links accepted, no login.

- **URL**: https://apify.com/genial_candlestand/tiktok-video-details-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.28 / 1,000 posts

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

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## TikTok Video Details Scraper | Stats, Author & Transcript

![TikTok Video Details Scraper | Stats, Author & Transcript](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-single-post-video-details-banner-bcd25995.png)

Get the details of TikTok videos and photo posts from their links or IDs: the caption, publish date, view count, like count, comment count, shares, saves and reposts, plus hashtags, the author's follower count and the sound. Each post becomes one flat row that opens directly in Excel, Google Sheets or a BI tool. Optionally it adds the spoken text of the video from TikTok's own subtitle file.

### What does TikTok Video Details Scraper do?

You give it a list of TikTok posts — full video URLs, `/photo/` carousel links, bare numeric IDs, `m.tiktok.com` links or `vm.tiktok.com` / `vt.tiktok.com` / `tiktok.com/t/` short links. It returns one row per live post with the current numbers, the text, the author with follower stats, the sound and the media links. Deleted, private and owner-only posts are not returned as junk rows: they are listed separately with TikTok's reason and are free.

It is built for agencies tracking campaign posts, brand and social-listening teams, researchers and journalists who already have post links, and AI agents that get a TikTok link and need its numbers and text. It does not crawl profiles, hashtags or search results.

### How to scrape TikTok video details

![How TikTok Video Details Scraper works: Turns each link, ID or short link into a TikTok post page address; Loads each public post page and reads its embedded post data; Retries a blocked page with a n](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-single-post-video-details-how-fb5fea6e.png)

1. Open the actor in Apify Console.
2. Paste your TikTok post URLs or IDs into **TikTok post URLs or IDs**, one per line.
3. Turn on **Include transcript** if you need the spoken text of the videos.
4. Optionally set **Max posts** to cap the run.
5. Click **Start** and wait for the run to finish.
6. Download the results as JSON, CSV, Excel or HTML from the **Output** tab, or open the **Unavailable inputs** record to see which links gave no post and why.

### How much does it cost to scrape TikTok?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Post | $1.50 per 1,000 | $1.425 per 1,000 | $1.35 per 1,000 | $1.275 per 1,000 |
| Transcript add-on | $0.80 per 1,000 | $0.76 per 1,000 | $0.72 per 1,000 | $0.68 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 5 rows in 5 s.

You pay per post that is saved (event `post`, one dataset row), plus one small start event per run. The optional transcript add-on is charged per video that actually receives a transcript.

Not charged: deleted, private, owner-only, invalid, duplicate and blocked inputs, and — for the add-on — videos and photo posts without subtitles.

Example costs on the Free plan (post $0.0015, transcript $0.0008, start $0.00005):

| Scenario | Events | Cost |
|---|---|---|
| Check 20 posts | 20 posts + 1 start | $0.03005 |
| Campaign report of 200 posts | 200 posts + 1 start | $0.30005 |
| 1,000 posts | 1,000 posts + 1 start | $1.50005 |
| 1,000 videos with transcript on, 350 of them have subtitles | 1,000 posts + 350 transcripts + 1 start | $1.78005 |

### Input

![TikTok Video Details Scraper input example: TikTok post URLs or IDs, Include transcript](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-single-post-video-details-input-950d1982.png)

| Field | Type | Description |
|---|---|---|
| `postUrls` | array of strings, required | TikTok posts, one per line: `https://www.tiktok.com/@user/video/<id>`, `https://www.tiktok.com/@user/photo/<id>`, a bare numeric post ID (15–21 digits), `https://m.tiktok.com/v/<id>.html`, or a short link (`vm.tiktok.com`, `vt.tiktok.com`, `tiktok.com/t/`). Profile, hashtag and search URLs are not posts and are skipped with a warning. |
| `includeTranscript` | boolean, default `false` | Adds `transcript` — the spoken text from TikTok's own subtitle file — to videos that have subtitles. |
| `maxItems` | integer ≥ 1, optional | Stop after this many posts are saved. Empty = every post from the list. |
| `proxyConfiguration` | object, default Apify datacenter proxy | Proxy settings. Switch to the RESIDENTIAL group if many posts end as blocked. |

Example input:

```json
{
  "postUrls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
    "7476497064961051909"
  ],
  "includeTranscript": true,
  "maxItems": 100
}
```

### What data can you extract from TikTok?

![TikTok Video Details Scraper output example: Cover, Caption, Author, Published, Views, Likes](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-single-post-video-details-output-6e52be16.png)

| Group | Fields |
|---|---|
| Post | `id`, `url`, `inputUrl`, `postType` (`video` or `photo`), `description` (caption), `publishedAt`, `language`, `country`, `location` (tagged place) |
| Engagement | `playCount`, `likeCount`, `commentCount`, `shareCount`, `saveCount`, `repostCount` |
| Text tags | `hashtags`, `mentions`, `categoryLabels` |
| Video | `durationSeconds`, `width`, `height`, `definition`, `subtitleLanguages`, `transcript` |
| Media links | `imageUrl` (cover), `videoUrl`, `imageUrls` (carousel images in order), `imageCount` |
| Author | `author`, `authorUsername`, `authorId`, `authorUrl`, `authorAvatarUrl`, `authorVerified`, `authorBio`, `authorFollowers`, `authorFollowing`, `authorLikes`, `authorVideoCount` |
| Sound | `musicId`, `musicTitle`, `musicAuthor`, `musicOriginal` |
| Flags | `isAd`, `isAigc` (AI-generated content label), `scrapedAt` |

Real example row (media URLs shortened):

```json
{
  "id": "6718335390845095173",
  "url": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
  "inputUrl": "https://www.tiktok.com/@scout2015/video/6718335390845095173",
  "postType": "video",
  "description": "Scramble up ur name & I’ll try to guess it😍❤️ #foryoupage #petsoftiktok #aesthetic",
  "publishedAt": "2019-07-27T13:32:38.000Z",
  "language": "en",
  "country": "US",
  "location": null,
  "playCount": 160000,
  "likeCount": 35200,
  "commentCount": 5838,
  "shareCount": 1525,
  "saveCount": 652,
  "repostCount": 0,
  "hashtags": ["foryoupage", "petsoftiktok", "aesthetic"],
  "mentions": [],
  "categoryLabels": [],
  "durationSeconds": 10,
  "width": 576,
  "height": 1024,
  "definition": "540p",
  "imageUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-p-0068/…",
  "videoUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/useast5/…",
  "imageUrls": [],
  "imageCount": 0,
  "subtitleLanguages": [],
  "transcript": null,
  "author": "Scout, Suki & Stella",
  "authorUsername": "scout2015",
  "authorId": "53279706535428096",
  "authorUrl": "https://www.tiktok.com/@scout2015",
  "authorAvatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/…",
  "authorVerified": true,
  "authorBio": "🐾Click follow to join the PAWsitive Pack🐾\nMore👇💞",
  "authorFollowers": 9000000,
  "authorFollowing": 1174,
  "authorLikes": 108300000,
  "authorVideoCount": 3090,
  "musicId": "6689804660171082501",
  "musicTitle": "original sound",
  "musicAuthor": "tiff",
  "musicOriginal": true,
  "isAd": false,
  "isAigc": false,
  "scrapedAt": "2026-11-11T05:14:12.932Z"
}
```

Photo carousels come back with `postType: "photo"`, the images in `imageUrls`, their number in `imageCount` and `videoUrl: null`.

Inputs that gave no post are written to the **Unavailable inputs** record (key-value store key `UNAVAILABLE`) as a JSON list of `input`, `postId`, `reason` and `message`. The reason is one of `invalid_input`, `short_link_not_a_post`, `not_found`, `deleted`, `owner_only`, `private`, `unavailable`, `blocked` or `error`. The list is `[]` when every input gave a post.

### Use cases

- **Campaign reports** — paste 200 creator post URLs and get views, likes, comments, shares, saves and author follower counts in one table, ready for CSV export.
- **Cleaning up spreadsheet links** — a list that mixes full URLs, `/photo/` links, bare IDs, `m.tiktok.com` links and short links resolves to the same flat rows; duplicate posts give one row.
- **Photo carousel tracking** — get every image link of a carousel post in order.
- **Content analysis** — collect the caption, hashtags, category labels and the spoken words of each video for research.
- **Link health checks** — see which posts of a past campaign are still live; deleted, private and owner-only posts are listed with the reason at no cost.

### Limitations

- Only public posts that a logged-out viewer can see. Comments, related videos and video file downloads are not included.
- Large counts are rounded by TikTok for logged-out viewers (for example `160000` or `2400000000`); small counts are exact.
- Media links (`imageUrl`, `videoUrl`, `imageUrls`, `authorAvatarUrl`) are signed by TikTok and expire about 2 days after the run.
- `transcript` is filled only for videos that have TikTok subtitles; photo posts and videos without subtitles have `transcript: null`. If a subtitle file cannot be downloaded, the row is kept with `transcript: null` and a warning.
- Many fields can be empty: `description` for posts without a caption, `language`, `location` (only when a place is tagged), `durationSeconds`, `width`, `height`, `definition` and `videoUrl` for photo posts.
- Short links that point to the home page or a profile (for example expired ones) give no post and are listed as `short_link_not_a_post`.

### Tips and troubleshooting

- **A run returns fewer rows than links:** open the **Unavailable inputs** record; each missing input is listed with its reason, and the log has one warning per input.
- **Many posts end as `blocked`:** set the proxy to the RESIDENTIAL group and run again. The default datacenter proxy worked on all tested post pages.
- **The run fails right away:** at least one line of `postUrls` must be a TikTok post URL or ID. Profile, hashtag, search and music URLs are not posts.
- **The username in a link is wrong or old:** that is fine — TikTok finds the post by its ID. `url` and `authorUsername` show the current username, `inputUrl` keeps your line.
- **Language or country:** no setting is needed; the counts are the same from any region.
- **Need the files of videos or images:** download them from `videoUrl` / `imageUrls` within about 2 days of the run.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/tiktok-video-details-scraper").call(run_input={
    "postUrls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
        "7476497064961051909",
        "https://www.tiktok.com/@pianoquetoca/video/7140730200312106246",
        "https://www.tiktok.com/@zachking/video/6768504823336815877",
    ],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/tiktok-video-details-scraper').call({
    "postUrls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
        "7476497064961051909",
        "https://www.tiktok.com/@pianoquetoca/video/7140730200312106246",
        "https://www.tiktok.com/@zachking/video/6768504823336815877",
    ],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~tiktok-video-details-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"postUrls":["https://www.tiktok.com/@scout2015/video/6718335390845095173","https://www.tiktok.com/@qqvvp8/photo/7412309652462963974","7476497064961051909","https://www.tiktok.com/@pianoquetoca/video/7140730200312106246","https://www.tiktok.com/@zachking/video/6768504823336815877"]}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/tiktok-video-details-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/tiktok-video-details-scraper"}}}`. Then ask, for example:

- "Get views, likes, shares and saves of https://www.tiktok.com/@zachking/video/6768504823336815877"
- "Get the transcript and hashtags of TikTok video 7140730200312106246"
- "Which of these TikTok posts are still live: 6718335390845095173, 6862153058223197445"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Is it legal to scrape TikTok?**<br>
The actor only collects public data that TikTok shows to any logged-out visitor; it uses no account and no login. You are responsible for how you use the data, including data protection laws and TikTok's terms. The output holds no personal data beyond what TikTok shows publicly on the post.

**Can I use short links and bare IDs?**<br>
Yes. Full `/video/` and `/photo/` URLs, numeric IDs of 15–21 digits, `m.tiktok.com/v/<id>.html` links and `vm.tiktok.com`, `vt.tiktok.com` and `tiktok.com/t/` short links all work in the same run. Query strings such as `?lang=de` are ignored.

**Do I pay for deleted or private posts?**<br>
No. Only saved posts are charged. Deleted, private, owner-only, invalid, duplicate and blocked inputs are free and are listed in the **Unavailable inputs** record.

**Where does the transcript come from?**<br>
From the subtitle file TikTok attaches to the video (creator captions or TikTok speech recognition). The actor prefers the speech-recognition track. No AI transcription is run, so videos without subtitles get no transcript and no add-on charge.

**How is it different from other TikTok video actors?**<br>
It returns flat rows instead of nested author, music and video objects, accepts bare IDs and short links, reads very large view counts from TikTok's text counters (so they do not overflow into negative numbers), and costs $1.50 per 1,000 posts on the Free plan, compared with $3.70 per 1,000 results of the most-used TikTok scraper.

### Also useful

- [YouTube Transcript Scraper](https://apify.com/genial_candlestand/youtube-transcript-scraper) — get captions, subtitles and video metadata for the same campaign on YouTube
- [YouTube Channel Scraper](https://apify.com/genial_candlestand/youtube-channel-details-videos-scraper) — track a creator's YouTube channel too: subscribers, videos, Shorts and streams
- [YouTube Search Scraper](https://apify.com/genial_candlestand/youtube-search-scraper) — find videos and Shorts by keyword with their views and channels
- [Reddit Scraper](https://apify.com/genial_candlestand/reddit-posts-comments-scraper) — follow the discussion of a trend on Reddit: posts, comments, scores and authors
- [Pinterest Search Scraper](https://apify.com/genial_candlestand/pinterest-search-scraper) — collect pins, images and outbound links by keyword for visual trend research

# Actor input Schema

## `postUrls` (type: `array`):

TikTok posts, one per line. Video and photo (carousel) posts. Accepted: https://www.tiktok.com/@user/video/<id>, https://www.tiktok.com/@user/photo/<id>, a bare numeric post ID (15–21 digits), https://m.tiktok.com/v/<id>.html and short links (vm.tiktok.com, vt.tiktok.com, tiktok.com/t/). Profile, hashtag and search URLs are not posts and are skipped with a warning.

## `includeTranscript` (type: `boolean`):

Add the spoken text of each video from TikTok's own subtitle file as transcript. Only videos with subtitles get one; photo posts and videos without subtitles stay null and are not charged for the add-on.

## `maxItems` (type: `integer`):

Stop after this many posts are saved. Leave empty to fetch every post from the list.

## `proxyConfiguration` (type: `object`):

The Apify datacenter proxy (default) works for TikTok post pages. If many posts end as blocked, switch to the RESIDENTIAL group and run again.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
    "7476497064961051909"
  ],
  "includeTranscript": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with one row per available post

## `unavailable` (type: `string`):

JSON list of inputs that gave no post (deleted, private, not a post, blocked) with the reason

# 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 = {
    "postUrls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
        "7476497064961051909"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/tiktok-video-details-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 = { "postUrls": [
        "https://www.tiktok.com/@scout2015/video/6718335390845095173",
        "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
        "7476497064961051909",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/tiktok-video-details-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 '{
  "postUrls": [
    "https://www.tiktok.com/@scout2015/video/6718335390845095173",
    "https://www.tiktok.com/@qqvvp8/photo/7412309652462963974",
    "7476497064961051909"
  ]
}' |
apify call genial_candlestand/tiktok-video-details-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/tiktok-video-details-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/M8BqMcey4z0XyyEoH/builds/aFZFsvKkqmXD4631N/openapi.json
