# TikTok Sound Scraper (`piotrv1001/tiktok-sound-scraper`) Actor

TikTok sound scraper: get the videos that use any TikTok sound or song, with views, likes, comments, shares, caption, hashtags, upload date and author stats. Track trending TikTok sounds and who posts with them. Export to JSON, CSV or Excel.

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

## Pricing

from $1.00 / 1,000 videos

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?

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

The **TikTok Sound Scraper** gives you the videos that use any TikTok sound or song: views, likes, comments, shares and saves, the caption with hashtags, the upload date, and the creator's follower count. Paste a TikTok audio link or sound ID, and export the videos to JSON, CSV or Excel. Use it to follow trending TikTok sounds, measure how a song spreads, and find the creators who post with it. No TikTok account needed.

### 🎯 Use Cases

- **Trending TikTok sounds**: see who is posting with a sound right now and how those videos perform.
- **TikTok music trends for labels and artists**: measure how a song spreads, with plays and likes for each video that uses it.
- **Campaign tracking**: collect the videos made with your branded sound or a song you promoted.
- **Find creators by audio**: every row has the creator's username, bio, followers and total likes, so a viral sound doubles as a creator list.
- **Content research**: see which captions and hashtags work on a TikTok audio before you use it.

### ✨ Features

- **Any public sound**: paste the sound's link or ID, one per line, with its own limit per sound.
- **Deep results**: popular sounds can go well over 1,000 videos.
- **Video stats**: plays, likes, comments, shares and saves for every video.
- **Caption details**: full caption, hashtags, mentions and exact upload time.
- **Sound details**: sound ID, title, artist, duration, cover and audio link on every row.
- **Creator data**: username, nickname, verified flag, bio, avatar, followers, following, total likes and video count.
- **Photo posts too**: slideshow posts come back with `type: "photo"` and all image links.
- **Fair billing**: the same video is saved and charged once in a run; invalid links and sounds that do not exist are named in the status message and never charged.

### 🛠️ How It Works

1. **Copy the sound's link**: open the sound on TikTok and copy the address, such as `https://www.tiktok.com/music/song-title-7605298468177496081`.
2. **Paste it in Sounds**, one per line, and set how many videos you want per sound.
3. **Run it and download** the videos as JSON, CSV or Excel, or pull them through the Apify API.

### ⚙️ Input

| Field                    | What it does                                                 |
| ------------------------ | ------------------------------------------------------------ |
| **Sounds**               | TikTok sound links or sound IDs, one per line.               |
| **Max videos per sound** | Stop each sound after this many videos. Default 50.          |

```json
{
    "sounds": ["https://www.tiktok.com/music/x-7605298468177496081", "7646775660023974664"],
    "maxItems": 500
}
```

### 💰 Pricing

You pay only for the videos you get. There is no monthly rental.

| Event           | Price                           | What you get                                                         |
| --------------- | ------------------------------- | -------------------------------------------------------------------- |
| **Video**       | $0.001 per video ($1 per 1,000) | One TikTok video or photo post with stats, caption, music and author |
| **Actor start** | $0.00005 per run                | Charged once when the run starts.                                    |

Examples: 50 videos = $0.05 · 1,000 videos = $1.00 · 10,000 videos = $10.00.

### 📊 Sample Output Data

```json
{
    "id": "7700644237926272286",
    "url": "https://www.tiktok.com/@natandrus/video/7700644237926272286",
    "type": "video",
    "description": "let me know in the comments which recipe you want me to share! here is my weekly high protein & fiber meal prep as so…",
    "createdAt": "2026-10-25T16:32:50.000Z",
    "createTimeUnix": 1792945970,
    "playCount": 1200000,
    "likeCount": 123800,
    "commentCount": 959,
    "shareCount": 9940,
    "saveCount": 62889,
    "repostCount": 0,
    "durationSeconds": 47,
    "width": 720,
    "height": 1280,
    "definition": "720p",
    "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2…",
    "dynamicCoverUrl": "https://p16-common-sign.tiktokcdn.com/tos-useast8-p-0068-tx2…",
    "images": [],
    "photoTitle": null,
    "hashtags": [
        "sundaymealprep",
        "mealprep"
    ],
    "mentions": [],
    "music": {
        "id": "7700644299179936542",
        "title": "original sound",
        "author": "nat ❤️‍🔥🏋🏽‍♀️💪🏼",
        "original": true,
        "durationSeconds": 47,
        "coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/b1…",
        "playUrl": "https://v16-webapp-prime.tiktok.com/video/tos/alisg/tos-alis…"
    },
    "subtitles": [
        {
            "language": "eng-US",
            "source": "ASR",
            "format": "webvtt",
            "url": "https://v16-webapp.tiktok.com/04d0fa01e2f72dd2f28edbf2f19f52…"
        }
    ],
    "location": null,
    "country": null,
    "language": "en",
    "categories": [],
    "isAd": false,
    "isAiGenerated": false,
    "authorUsername": "natandrus",
    "authorNickname": "nat ❤️‍🔥🏋🏽‍♀️💪🏼",
    "authorId": "6741454164587660294",
    "authorSecUid": "MS4wLjABAAAAmup4MC7QtJK--IKZUUVPeoP9Jnok7Fk7Vby-7rzn_UL5mGcYuSFDZraAON9jTitQ",
    "authorVerified": false,
    "authorBio": "24, slc, -40 pounds naturally\nhigh protein meals + weight loss hacks\n💌: natalieandrus20@gmail.com",
    "authorAvatar": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/b1…",
    "authorFollowers": 122100,
    "authorFollowing": 166,
    "authorLikes": 841400,
    "authorVideoCount": 401,
    "inputUrl": "https://www.tiktok.com/music/x-7605298468177496081",
    "soundId": "7605298468177496081",
    "scrapedAt": "2026-11-01T07:54:40.618Z"
}
```

`soundId` is the sound you asked for and `inputUrl` is the line you pasted. `music` is the sound as it appears on that video. `playCount`, `likeCount` and the author counts are the numbers TikTok shows, which it rounds to three digits for big videos (1.2M). The total number of videos using a sound is not included.

### 📅 Schedule and Integrate

To follow a viral sound, save it as a Task and run it daily with Apify **Schedules**. Every run adds a new snapshot with `scrapedAt`. Send the results to Google Sheets, Zapier, Make, n8n or your own system through webhooks and the Apify API.

### 🤖 Use with AI Agents (MCP)

The TikTok Sound Scraper works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "sounds": ["7605298468177496081"], "maxItems": 20 }
```

### ❓ FAQ

**How do I find all videos using a TikTok sound?** Paste the sound's link and set **Max videos per sound** as high as you need. The run returns videos until TikTok has no more to show or your limit is reached.

**How do I find a TikTok sound's ID?** Open the sound on TikTok. The ID is the long number at the end of the address, as in `/music/song-title-7605298468177496081`. You can paste the whole link.

**Can it tell me how many videos use a sound?** No. The total shown on TikTok is not in the data, so we leave it out rather than guess. You can count the rows you collect.

**Can it find trending TikTok sounds on its own?** No. It starts from a sound you give it. Take a sound from any video with the [TikTok Video Scraper](https://apify.com/piotrv1001/tiktok-video-scraper) or the [TikTok Search Scraper](https://apify.com/piotrv1001/tiktok-search-scraper): each row has the `music.id` to paste here.

**Do I need a TikTok account?** No. The scraper only reads public data.

**Is the audio file included?** A link to the sound's audio is on each row in `music.playUrl` when TikTok provides it. The video file is not included.

### 🔗 Related Scrapers

- [TikTok Search Scraper](https://apify.com/piotrv1001/tiktok-search-scraper): find TikTok videos by keyword.
- [TikTok Video Scraper](https://apify.com/piotrv1001/tiktok-video-scraper): the same fields for a list of video links.
- [TikTok Profile Videos Scraper](https://apify.com/piotrv1001/tiktok-profile-videos-scraper): every public video of a profile.
- [TikTok Video Transcript Scraper](https://apify.com/piotrv1001/tiktok-video-transcript-scraper): the spoken text of TikTok videos.

# Actor input Schema

## `sounds` (type: `array`):

TikTok sound pages or sound IDs, one per line: https://www.tiktok.com/music/song-title-7605298468177496081 or 7605298468177496081. Open a sound on TikTok and copy the link from the address bar.

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

Stop each sound after this many videos.

## Actor input object example

```json
{
  "sounds": [
    "https://www.tiktok.com/music/x-7605298468177496081"
  ],
  "maxItems": 50
}
```

# 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 = {
    "sounds": [
        "https://www.tiktok.com/music/x-7605298468177496081"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/tiktok-sound-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 = {
    "sounds": ["https://www.tiktok.com/music/x-7605298468177496081"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/tiktok-sound-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 '{
  "sounds": [
    "https://www.tiktok.com/music/x-7605298468177496081"
  ],
  "maxItems": 50
}' |
apify call piotrv1001/tiktok-sound-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/tiktok-sound-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/59kMlnMRUiOnd4bL7/builds/WoKKN0eLJI3wD4SjL/openapi.json
