# TikTok Reposts Scraper (`harpoon/tiktok-reposts-scraper`) Actor

Scrape the reposts of public TikTok profiles - captions, authors, stats, music, hashtags, and video URLs.

- **URL**: https://apify.com/harpoon/tiktok-reposts-scraper.md
- **Developed by:** [Harpoon](https://apify.com/harpoon) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 reposts

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 Reposts Scraper

Scrape the videos a public TikTok profile has reposted - captions, original authors, stats, music, hashtags, and video URLs - as one clean dataset. Paste a profile URL or `@handle`, press **Start**, and export JSON/CSV/Excel.

### What can this Actor do?

- **Reposts of any public profile** - the videos shown on the profile's **Reposts** tab, newest first.
- **Original author data** - each row keeps the *original* creator's username, followers, total likes, and bio, not the reposting account.
- **Full engagement metrics** - plays, likes, comments, shares, and collects per reposted video.
- **Media and music details** - cover, dynamic cover, play/download URLs, sound title, artist, and duration.
- **Hashtags** - extracted as a clean array.
- **Deduplicated** - a reposted video never appears twice, even across pages.

### Why use this Actor?

- **No code required** - the input form is prefilled with a working example; press Start and it runs as-is.
- **Reliable at scale** - rotating proxy pool, request hedging, and automatic retries handle TikTok's variability.
- **Clean schema** - a single flat row per repost, ready for your warehouse, sheet, or dashboard.
- **Pay per result** - you only pay for the reposts that actually land in the dataset.

### How to use it

1. Open the **Input** tab.
2. Paste one or more profile URLs or `@handles` into **Profiles**.
3. Set **Max reposts per profile** (default `100`).
4. Press **Start** and download your data from the **Output** tab.

```json
{
  "profiles": ["https://www.tiktok.com/@mahmoudridaabbas"],
  "max_reposts": 100
}
```

Accepted profile references: `https://www.tiktok.com/@user`, `@user`, or `user`.

### Output

One dataset row per reposted video:

```json
{
  "id": "7352021095806962950",
  "profile_username": "mahmoudridaabbas",
  "description": "#S #trend #love #lettertrend #tekit #fyp #alphabet (like juga yaa, jgn pisting ulang ...",
  "created_at": 1711775808,
  "url": "https://www.tiktok.com/@sukaaatiramisuuuuuu/video/7352021095806962950",
  "author": {
    "username": "sukaaatiramisuuuuuu",
    "nickname": "Amberly",
    "id": "71045943448",
    "sec_uid": "MS4wLjABAAAAz_Mu3oXtmoyL-aDYpPn5UEBQqpHgy3eg8ASRtHBSqLk",
    "verified": false,
    "private": false,
    "signature": "Pharmacy\n@Moyzzz 𒉭",
    "avatar_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-avt-0068/796f36d2e83512497f700b31c...",
    "follower_count": 37900,
    "following_count": 166,
    "video_count": 245,
    "heart_count": 4000000
  },
  "stats": {
    "play_count": 16900000,
    "like_count": 356500,
    "comment_count": 4491,
    "share_count": 70100,
    "collect_count": 128400
  },
  "music": {
    "id": "7098632339017697281",
    "title": "Tek It",
    "author_name": "Cafuné",
    "duration": 60,
    "original": false,
    "play_url": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/d6880255b9a04a21973b7f6..."
  },
  "hashtags": ["s", "trend", "love", "lettertrend", "tekit", "fyp", "alphabet"],
  "video": {
    "duration": 15,
    "ratio": "540p",
    "width": 576,
    "height": 1024,
    "definition": "540p",
    "cover_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/owYRDEQXIcmAVIEHQBP0NJFpXB...",
    "dynamic_cover_url": "https://p16-common-sign.tiktokcdn-eu.com/tos-maliva-p-0068/157ca16e21c8490b8f6611171d...",
    "play_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-ve-0068c003/oAOIE...",
    "download_url": ""
  },
  "scraped_at": "2026-09-18T14:00:47Z"
}
```

| Field | Description |
| --- | --- |
| `id` | Numeric video id of the reposted video |
| `profile_username` | The profile whose Reposts tab you requested |
| `description` | Video caption |
| `created_at` | Unix creation timestamp |
| `url` | Canonical URL of the original video |
| `author` | **Original** author: username, nickname, id, sec\_uid, verified, bio, avatar, follower/following/video/heart counts |
| `stats` | `play_count`, `like_count`, `comment_count`, `share_count`, `collect_count` |
| `music` | Sound id, title, artist, duration, original flag, play URL |
| `hashtags` | Array of hashtags |
| `video` | Duration, ratio, dimensions, definition, cover/dynamic cover/play/download URLs |
| `scraped_at` | When the row was collected (ISO 8601) |

### Pricing

This Actor is billed per **1,000 results** (one result = one reposted video). See the **Pricing** tab for the current rate. A run that returns no new reposts is not charged.

### FAQ

**Do I need cookies or a login?** No. Public profiles only - no TikTok account required. The Actor uses a managed signature service and rotating residential proxies under the hood.

**Whose stats do I get - the reposter or the original creator?** The original creator's. `author` is the account that first posted the video; `profile_username` is the account that reposted it.

**Can I scrape private profiles?** No. Private accounts are not returned.

**Can I run several profiles at once?** Yes. Add one profile per line; they are fetched in parallel.

### Limitations

- Only public profiles.
- `max_reposts` caps the returned rows; very large profiles take longer.
- Video `play_url`/`download_url` are signed CDN links and can expire; re-run to refresh them.
- Result order and availability follow TikTok's own Reposts tab.

### Integrate with your stack

Export the dataset as JSON, CSV, Excel, or XML, or pull it from the Apify API. You can also run this Actor from the [Apify MCP server](https://apify.com/apify/actors-mcp-server) so AI agents can call it directly.

# Actor input Schema

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

<b>Public TikTok profile URLs or @handles</b>, one per line. Accepts <code>https://www.tiktok.com/@mahmoudridaabbas</code>, <code>@mahmoudridaabbas</code>, or <code>mahmoudridaabbas</code>. Duplicates are removed automatically.

## `max_reposts` (type: `integer`):

How many recent reposts to return per profile. Higher values take longer and increase cost.

## Actor input object example

```json
{
  "profiles": [
    "https://www.tiktok.com/@mahmoudridaabbas",
    "@nike"
  ],
  "max_reposts": 100
}
```

# Actor output Schema

## `dataset` (type: `string`):

One row per scraped repost. Export as JSON, CSV, Excel, or XML.

# 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": [
        "https://www.tiktok.com/@mahmoudridaabbas"
    ],
    "max_reposts": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("harpoon/tiktok-reposts-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": ["https://www.tiktok.com/@mahmoudridaabbas"],
    "max_reposts": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("harpoon/tiktok-reposts-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": [
    "https://www.tiktok.com/@mahmoudridaabbas"
  ],
  "max_reposts": 100
}' |
apify call harpoon/tiktok-reposts-scraper --silent --output-dataset

```

## MCP server setup

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