# TikTok Liked Videos Scraper (`seemuapps/tiktok-liked-videos-scraper`) Actor

Scrape the public liked-videos list of any TikTok profile — video details, engagement, hashtags, and creator info for interest and persona profiling.

- **URL**: https://apify.com/seemuapps/tiktok-liked-videos-scraper.md
- **Developed by:** [Andrew](https://apify.com/seemuapps) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 4 total users, 2 monthly users, 5.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$6.00 / 1,000 liked video scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Liked Videos Scraper

Extract the videos a TikTok user has publicly liked — video details, engagement, hashtags, music, and the original creator's info, all in one dataset.

**Note:** most TikTok accounts hide their liked videos by default. This actor only works on profiles that have kept their likes public.

### What you get

- **Video**: ID, direct URL, description, hashtags, duration, cover image, post date, region
- **Engagement**: play count, likes, comments, shares, saves, downloads
- **Music**: track ID, title, and artist
- **Original creator**: username, nickname, verification status, follower count, video count
- Paginated output: each run returns a cursor so you can fetch a user's full like history across multiple runs
- Export to JSON, CSV, or Google Sheets directly from the Apify console

### Use cases

- Interest and persona profiling — see exactly what content a person or influencer engages with
- Audience research — understand what a niche or community actually likes, not just posts
- Competitive analysis — see which creators and trends a competitor's audience follows
- Content ideation — study what's resonating with a target account's taste

### How to use

1. Enter the TikTok username whose liked videos you want (with or without @)
2. Set **Max Liked Videos** (default 100 per run; set 0 for unlimited)
3. Run the actor — results appear in the **Dataset** tab
4. To fetch the next page, open the **Key-value store** tab, copy the `NEXT_PAGE_ID` value, and paste it into **Page ID** on your next run. If `NEXT_PAGE_ID` is `null`, you've fetched everything (or the account's likes are private).

### Output format

One liked video per dataset record:

```json
{
  "id": "7655004069190192398",
  "webVideoUrl": "https://www.tiktok.com/@zachking/video/7655004069190192398",
  "desc": "a message to all AI",
  "createTimeISO": "2026-06-22T14:25:49.000Z",
  "hashtags": ["illusion", "magic"],
  "coverUrl": "https://...",
  "durationSecs": 28,
  "playCount": 64468985,
  "likeCount": 13597572,
  "commentCount": 101651,
  "shareCount": 552335,
  "saveCount": 989151,
  "musicTitle": "original sound - zachking",
  "authorUsername": "zachking",
  "authorNickname": "Zach King",
  "authorVerified": true,
  "authorFollowerCount": 86800000
}
```

# Actor input Schema

## `username` (type: `string`):

The TikTok username whose liked videos you want to scrape. Their likes must be public — most accounts hide this by default. Accepts with or without the leading @.

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

Maximum number of liked videos to return per run. Set to 0 for unlimited (fetches all pages up to the actor timeout).

## `pageId` (type: `string`):

Paste NEXT\_PAGE\_ID from the previous run's Key-value store to fetch the next page of liked videos.

## Actor input object example

```json
{
  "username": "zachking",
  "maxItems": 100
}
```

# Actor output Schema

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

One liked video per record. Fields: id, webVideoUrl, desc, createTimeISO, hashtags, coverUrl, durationSecs, engagement counts, music info, and the original creator's author info.

## `nextPageId` (type: `string`):

NEXT\_PAGE\_ID record in the default key-value store. Paste into Page ID on the next run to resume; null when the list is exhausted.

# 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 = {
    "username": "zachking"
};

// Run the Actor and wait for it to finish
const run = await client.actor("seemuapps/tiktok-liked-videos-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 = { "username": "zachking" }

# Run the Actor and wait for it to finish
run = client.actor("seemuapps/tiktok-liked-videos-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 '{
  "username": "zachking"
}' |
apify call seemuapps/tiktok-liked-videos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,seemuapps/tiktok-liked-videos-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/vxAMDzbB7GtGunsK2/builds/Nx5XtzmXsMNkxO6Cg/openapi.json
