# TikTok Profile Posts Scraper | Videos, Stats & Authors (`genial_candlestand/tiktok-profile-posts-scraper`) Actor

Get the posts of public TikTok profiles: caption, publish date, views, likes, comments, shares, saves, hashtags, sound, video and cover links, plus exact author follower and like counts. Many usernames, URLs or secUids per run, date range and video/photo filters, no login.

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

## Pricing

from $0.23 / 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 Profile Posts Scraper | Videos, Stats & Authors

![TikTok Profile Posts Scraper | Videos, Stats & Authors](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-account-posts-feed-tagged-posts-banner-e8a77b87.png)

Get every public post from the feed of TikTok accounts. Each post is one row with the caption, publish date, view count, like count, comment, share, save and repost counts, hashtags, the sound, and video and cover links. Rows also include the author's follower count (exact, read from the profile page at run time), total likes and post count. You give it usernames, profile URLs or secUids, and you can limit posts by date range and by type (video or photo post).

### What does TikTok Profile Posts Scraper do?

You give it one or more TikTok accounts. It pages through each account's posts feed, newest first, and saves one dataset row per post. Influencer-marketing analysts use it to compare creators, brands use it to track their own and their competitors' accounts, and researchers use it to collect an account's full post history. It works without a TikTok login or API key.

The actor scrapes the **posts feed only**. TikTok has no public list of posts an account is tagged in, so there are no tagged posts. Reposts, liked and favourite videos are not scraped either.

### How to scrape TikTok profile posts

![How TikTok Profile Posts Scraper works: Opens each TikTok profile page for the secUid and exact author stats; Pages the account's posts feed 15 posts at a time, newest first; Jumps to your end date an](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-account-posts-feed-tagged-posts-how-6260d94a.png)

1. Open the actor in Apify Console and click **Try for free**.
2. In **Profiles**, enter one account per line: `nasa`, `@duolingo`, `https://www.tiktok.com/@espn` or a secUid.
3. Set **Max posts per profile**, for example 20 for the latest posts or 100000 for the whole feed.
4. Optional: set **Posts published on or after** / **on or before** to get a date window, and pick a **Post type**.
5. Click **Start**. When the run ends, download the posts as JSON, CSV or Excel, or read them through the API.

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

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Post | $0.27 per 1,000 | $0.257 per 1,000 | $0.243 per 1,000 | $0.229 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

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

You pay per post saved to the dataset ($0.27 per 1,000 posts on the Free plan) plus a small start fee per run ($0.00005). The date range and post type filters cost nothing extra. Posts removed by your filters, duplicates, and profiles that are missing or private are free. The per-profile status record is free too.

| Scenario | Posts (events) | Cost on the Free plan |
|---|---|---|
| Latest 20 posts of 2 creators | 40 | ≈ $0.011 |
| Whole feed of @nasa (65 posts) | 65 | ≈ $0.018 |
| 50 creators × 20 posts | 1,000 | ≈ $0.27 |
| Full feeds of 10 accounts with 1,000 posts each | 10,000 | ≈ $2.70 |

### Input

![TikTok Profile Posts Scraper input example: TikTok profiles, Max posts per profile, Post type](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-account-posts-feed-tagged-posts-input-83eee109.png)

| Field | What it does |
|---|---|
| `profiles` (required) | TikTok accounts, one per line: a username (`nasa`), `@username`, a profile URL (`https://www.tiktok.com/@nasa`) or a secUid (`MS4wLjABAAAA…`). A post URL (`…/@nasa/video/123` or `…/@nasa/photo/123`) means its author. Short links (`vm.tiktok.com`, `tiktok.com/t/…`), hashtag and music URLs are rejected with an input error. |
| `maxPostsPerProfile` | Posts saved per profile, newest first, after the filters (default 50, minimum 1). Use a large number, e.g. 100000, for the whole feed. |
| `oldestPostDate` | Only posts published on or after this date: `YYYY-MM-DD` (from 00:00 UTC) or relative like `7 days` or `3 months`. It must not be in the future and not after `newestPostDate`. |
| `newestPostDate` | Only posts published on or before this date: `YYYY-MM-DD` (the whole day, UTC) or relative like `30 days`. The feed jumps straight to this date, so newer posts are neither fetched nor paid for. A future date means no upper bound. |
| `postType` | `all` (default), `video` or `photo` (slideshows / carousels). |
| `maxItems` | Optional cap on all saved posts of the run, across every profile. |
| `proxyConfiguration` | Apify datacenter proxy by default. Blocked requests are retried through a residential proxy automatically. |

Example input for a campaign report:

```json
{
  "profiles": ["realmadrid"],
  "oldestPostDate": "2026-10-01",
  "newestPostDate": "2026-10-15",
  "maxPostsPerProfile": 100000,
  "postType": "all"
}
```

### What data can you extract from TikTok?

![TikTok Profile Posts Scraper output example: Cover, Author, Published, Type, Caption](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-account-posts-feed-tagged-posts-output-8e6c72c7.png)

| Field | Description |
|---|---|
| `id`, `url`, `type` | Post id, post page (`/video/<id>` or `/photo/<id>`), `video` or `photo` |
| `text`, `language` | Caption as written, caption language detected by TikTok |
| `publishedAt` | Publish time (ISO 8601, UTC) |
| `viewCount`, `likeCount`, `commentCount`, `shareCount`, `saveCount`, `repostCount` | Engagement counts |
| `hashtags`, `mentions` | Hashtags without `#`, mentioned usernames without `@` |
| `isAd`, `isAiGenerated` | Ad / paid promotion flag, AI-generated content label |
| `durationSec`, `videoWidth`, `videoHeight`, `videoDefinition`, `videoUrl` | Video length, size, quality label (e.g. 720p) and signed play URL |
| `imageUrl`, `imageUrls`, `imageCount` | Cover image, and the images of a photo post |
| `musicId`, `musicTitle`, `musicAuthor`, `musicOriginal` | The sound |
| `location`, `locationAddress` | Tagged place (rare) |
| `author`, `authorUrl`, `authorId`, `authorSecUid`, `authorNickname`, `authorVerified` | Who posted it |
| `authorBio`, `authorBioLink`, `authorAvatarUrl` | Author bio, bio link and avatar |
| `authorFollowerCount`, `authorFollowingCount`, `authorLikeCount`, `authorPostCount` | Author stats from the profile page at run time |
| `query`, `scrapedAt` | The input entry that produced the row, and when it was scraped |

A real row (long URLs shortened):

```json
{
  "id": "7666113192027884820",
  "url": "https://www.tiktok.com/@bts_official_bighit/video/7666113192027884820",
  "type": "video",
  "text": "'NORMAL (Korean Ver.)’ Stage CAM (#JungKook focus) @ BTS WORLD TOUR 'ARIRANG' IN BUSAN #BTS #방탄소년단 #BTS_NORMAL ",
  "language": "en",
  "publishedAt": "2026-07-24T15:14:34.000Z",
  "viewCount": 24000000,
  "likeCount": 3400000,
  "commentCount": 200100,
  "shareCount": 93800,
  "saveCount": 263434,
  "repostCount": 0,
  "hashtags": ["jungkook", "bts", "방탄소년단", "bts_normal"],
  "mentions": [],
  "isAd": false,
  "isAiGenerated": false,
  "durationSec": 51,
  "videoWidth": 720,
  "videoHeight": 1280,
  "videoDefinition": "720p",
  "videoUrl": "https://v16-webapp-prime.us.tiktok.com/video/tos/alisg/…",
  "imageUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/…",
  "imageUrls": [],
  "imageCount": null,
  "musicId": "7662686511906670593",
  "musicTitle": "NORMAL (Korean Ver.) (Explicit Ver.)",
  "musicAuthor": "BTS",
  "musicOriginal": false,
  "location": null,
  "locationAddress": null,
  "author": "bts_official_bighit",
  "authorUrl": "https://www.tiktok.com/@bts_official_bighit",
  "authorId": "6737188750352401410",
  "authorSecUid": "MS4wLjABAAAAdQQR2OVvFuAzws-JQyiVyn2ACMMkGvB6jVX86-8cakVMECtOeFgtihWpnGcTDhZ9",
  "authorNickname": "BTS",
  "authorVerified": true,
  "authorBio": "BTS 'NORMAL' OUT NOW",
  "authorBioLink": "https://bts.lnk.to/NORMAL",
  "authorAvatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/…",
  "authorFollowerCount": 81051938,
  "authorFollowingCount": 4,
  "authorLikeCount": 1835342681,
  "authorPostCount": 358,
  "query": "bts_official_bighit",
  "scrapedAt": "2026-11-13T02:42:13.821Z"
}
```

Besides the dataset, the run saves a free `PROFILE_STATUS` record in the key-value store: one entry per input profile with its status (`ok`, `not_found`, `private`, `no_posts`, `failed` or `skipped`), the number of posts saved and a message.

### Use cases

- **Compare creators:** get the latest 20 posts of several accounts with views, likes and follower counts side by side.
- **Campaign reports:** collect all posts of a brand account between two dates.
- **Weekly monitoring:** schedule a run with `oldestPostDate` set to `7 days` to get only last week's posts, with no stored state.
- **Full history for research:** page through an account's whole feed for content or engagement analysis.
- **Carousel analysis:** keep only photo posts with `postType: photo` and get every image URL.

### Limitations

- **No tagged posts, reposts, liked or favourite videos.** Only the posts feed of an account is scraped.
- **Public accounts only.** Private accounts return no posts (status `private`); missing or banned accounts get status `not_found`.
- **Newest first only.** The feed has no "popular" or "oldest first" order; to reach old posts the actor pages through newer ones, unless you set `newestPostDate`.
- **Pinned posts are not flagged.** They appear in their date position.
- **Rounded counts.** TikTok rounds large counts for logged-out viewers (e.g. `viewCount` 24000000, `likeCount` 3400000).
- **Expiring media links.** `videoUrl`, `imageUrl`, `imageUrls` and `authorAvatarUrl` are signed URLs that expire in about 2 days; download media soon after the run.
- **Fields that can be null or empty:** every field except `id`, `url`, `type`, `publishedAt`, `isAd`, `isAiGenerated`, `author`, `authorUrl`, `query` and `scrapedAt`. For example, `language` is null when TikTok cannot detect it, the video fields (`durationSec`, `videoWidth`, `videoHeight`, `videoDefinition`, `videoUrl`) are null for photo posts, `imageCount` is null and `imageUrls` is empty for videos, `location`, `locationAddress` and `authorBioLink` are often null, and `hashtags` and `mentions` are empty when the caption has none.
- A feed can end slightly before the post count the profile declares, because some posts are hidden or removed.

### Tips and troubleshooting

- **Only new posts on a schedule:** use a relative `oldestPostDate` like `7 days` instead of tracking ids.
- **Old date windows are cheap:** set `newestPostDate` and the actor starts at that date, so newer posts are not fetched or charged.
- **0 rows or fewer than expected?** Open the `PROFILE_STATUS` record and the log: each profile shows `ok`, `not_found`, `private`, `no_posts`, `failed` or `skipped` with a message. A `newestPostDate` before the account's first post gives `no_posts`.
- **Input error?** Use a username, `@username`, a `tiktok.com/@…` URL, a post URL or a secUid. Short links like `vm.tiktok.com/…` are not followed: open them in a browser and paste the profile URL.
- **Keep the default proxy.** Without a proxy TikTok usually blocks the profile page.
- The same account entered twice (e.g. a username and its secUid) is scraped once and charged once.

### 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-profile-posts-scraper").call(run_input={
    "profiles": ["khaby.lame", "espn", "bts_official_bighit"],
    "maxPostsPerProfile": 10,
})
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-profile-posts-scraper').call({
    "profiles": ["khaby.lame", "espn", "bts_official_bighit"],
    "maxPostsPerProfile": 10,
});
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-profile-posts-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"profiles":["khaby.lame","espn","bts_official_bighit"],"maxPostsPerProfile":10}'
```

**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-profile-posts-scraper"
```

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

- "Get the 20 newest TikTok posts of nasa, duolingo and espn with views and likes"
- "List all TikTok posts of realmadrid published between 2026-10-01 and 2026-10-15"
- "Get only the photo carousel posts of realmadrid on TikTok, 10 most recent"

**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

**Can it scrape tagged posts or reposts?**<br>
No. TikTok has no public tagged-posts list, and reposts, liked and favourite videos are not scraped. The actor returns the account's own posts feed.

**Do I need a TikTok account or API key?**<br>
No. The actor reads public pages without a login.

**How many posts can I get per profile?**<br>
Any number from 1 up to the whole feed. There is no minimum and no built-in cap (set `maxItems` if you want one): a profile with one post returns one row.

**How is it different from other TikTok profile scrapers?**<br>
It charges $0.27 per 1,000 posts, while the most used TikTok profile scrapers charge $3.00–3.70 per 1,000. The date range costs nothing extra, there is no per-profile fee, author follower counts are exact from the profile page, and each row has `isAd` and `isAiGenerated` flags.

**Is it legal to scrape TikTok?**<br>
The actor collects only data that TikTok shows publicly to any visitor without a login. You are responsible for how you use it: follow TikTok's terms, copyright and data-protection laws such as the GDPR, especially when you store usernames of the people in the data.

### Also useful

- [TikTok Video Details Scraper](https://apify.com/genial_candlestand/tiktok-video-details-scraper) — get single TikTok posts by URL or ID, including short links, with an optional transcript
- [Instagram Profile Scraper](https://apify.com/genial_candlestand/instagram-profile-details-scraper) — compare the same creators on Instagram: exact followers, bio, links and latest posts
- [YouTube Channel Scraper](https://apify.com/genial_candlestand/youtube-channel-details-videos-scraper) — add the creators' YouTube channels: subscribers, videos, Shorts and exact views
- [YouTube Scraper](https://apify.com/genial_candlestand/youtube-scraper) — search YouTube videos and channels with views, likes and publish dates

# Actor input Schema

## `profiles` (type: `array`):

Accounts whose posts feed to scrape, one per line: a username (nasa), @username, a profile URL (https://www.tiktok.com/@nasa) or a secUid (MS4wLjABAAAA…). A post URL (…/@nasa/video/123 or …/@nasa/photo/123) means its author. Short links (vm.tiktok.com, tiktok.com/t/…), hashtag and music URLs are rejected with an input error.

## `maxPostsPerProfile` (type: `integer`):

Posts saved per profile, newest first, after the date and type filters. Minimum 1. Set a large number, e.g. 100000, for the whole feed.

## `oldestPostDate` (type: `string`):

Only posts published on or after this date: YYYY-MM-DD (from 00:00 UTC) or relative like '7 days' or '3 months' (counted back from now). Paging stops at the first older post. Must not be in the future and not after 'Posts published on or before'.

## `newestPostDate` (type: `string`):

Only posts published on or before this date: YYYY-MM-DD (the whole day, UTC) or relative like '30 days' (counted back from now). The feed jumps straight to this date, so newer posts are neither fetched nor paid for. A future date means no upper bound.

## `postType` (type: `string`):

Which posts to keep: all, only videos, or only photo posts (slideshows / carousels). Skipped posts are free.

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

Optional cap on all saved posts of the run across every profile. Empty = no total cap (only 'Max posts per profile' applies).

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

Apify datacenter proxy by default. Blocked requests are retried automatically through a residential proxy. Without a proxy TikTok usually blocks the profile page.

## Actor input object example

```json
{
  "profiles": [
    "nasa",
    "khaby.lame"
  ],
  "maxPostsPerProfile": 20,
  "postType": "all",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with one row per post

## `profileStatus` (type: `string`):

One entry per input profile: ok / not_found / private / no_posts / failed / skipped and the number of saved posts

# 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 = {
    "profiles": [
        "nasa",
        "khaby.lame"
    ],
    "maxPostsPerProfile": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/tiktok-profile-posts-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 = {
    "profiles": [
        "nasa",
        "khaby.lame",
    ],
    "maxPostsPerProfile": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/tiktok-profile-posts-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 '{
  "profiles": [
    "nasa",
    "khaby.lame"
  ],
  "maxPostsPerProfile": 20
}' |
apify call genial_candlestand/tiktok-profile-posts-scraper --silent --output-dataset

```

## MCP server setup

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