TikTok Music Posts Scraper avatar

TikTok Music Posts Scraper

Pricing

$0.20 / 1,000 results

Go to Apify Store
TikTok Music Posts Scraper

TikTok Music Posts Scraper

Find TikTok videos using a sound and compare captions, creators and engagement. Submit multiple sound IDs in one run to retrieve records for each target.

Pricing

$0.20 / 1,000 results

Rating

0.0

(0)

Developer

Scrappa

Scrappa

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

9 days ago

Last modified

Share

Find TikTok videos using a sound and compare captions, creators and engagement. Submit multiple sound IDs in one run to retrieve records for each target.

What data can you extract?

Captions, profile details and engagement counts reflect public TikTok pages; counts can be hidden or absent.

FieldTypeDescription
desctextVideo caption from TikTok for this TikTok video; null when the source has no text to show.
authorobjectCreator profile with ID, username, display name, avatar and follower count from TikTok; null when the source provides no details.
digg_countnumberNumber of likes shown by TikTok, as a whole number; zero is possible, and null means no count was reported.
comment_countnumberNumber of comments shown by TikTok, as a whole number; zero is possible, and null means no count was reported.
share_countnumberNumber of shares shown by TikTok, as a whole number; zero is possible, and null means no count was reported.
play_countnumberNumber of video plays shown by TikTok, as a whole number; zero is possible, and null means no count was reported.
create_timenumberCreation timestamp for this TikTok video, as a Unix timestamp in seconds; null if TikTok does not supply it.
aweme_idtextTikTok video ID for the TikTok video, assigned by TikTok; null when the source does not expose it.
request_music_idtextTiktok sound id passed to TikTok. This input value is copied into the output row; null when it was not supplied.

Use cases

  • Social teams can track public videos using a TikTok sound.
  • Creators can compare engagement for posts using the same sound.
  • Researchers can collect videos associated with a sound ID.

How to use

  1. Open the Actor’s Input tab and start with the JSON below.
  2. Put the supported targets in musicIds and use the identifier or URL format required by TikTok.
  3. Start the run and open its default dataset to inspect or download the rows.
{
"musicIds": [
"7002634556977908485"
],
"count": 10,
"cursor": "0"
}

The run dataset can be downloaded as JSON, CSV, Excel or another format offered by Apify.

Input

FieldTypeRequiredDescription
musicIdsarray of stringNoOne or more TikTok music track IDs. Batch multiple music IDs in one run to reduce Apify run overhead.
music_idstringNoLegacy single TikTok music ID input. Prefer musicIds for new integrations.
countintegerNoNumber of posts to return for each music ID. Scrappa accepts 1-50. Constraints: minimum 1; maximum 50.
cursorstringNoPagination cursor from a previous run. Leave empty for the first page. The same cursor is applied to every music ID in this run.

Output example

The record below is synthetic. Names and links are examples, and private contact fields are omitted.

{
"desc": "Three ways to style a vintage wool coat for fall. Which look is your favorite?",
"author": {
"id": "7210458831",
"unique_id": "morgan.creates",
"nickname": "Morgan Creates",
"avatar": "https://images.example.com/creators/morgan-lee.jpg",
"follower_count": 18600
},
"digg_count": 864,
"comment_count": 27,
"share_count": 38,
"play_count": 18400,
"create_time": 1790327700,
"aweme_id": "7348291056172489012"
}

Pricing

Current live price: $0.20 per 1,000 results.

Each saved video, post or comment record counts as one result.

FAQ

This Actor is for information visible on the public source pages it reads. You are responsible for checking the source terms, privacy and copyright rules, and the laws that apply to your use.

How many records will a run return?

The result count depends on the input limits, pagination settings and what the source makes available. A small query or unavailable page can return fewer records, including none.

Can I call it through the API or connect it to other tools?

Yes. Send the same JSON input to POST https://api.apify.com/v2/acts/thescrappa~tiktok-music-posts-scraper/runs, then read the run’s default dataset. Make, Zapier and n8n can start runs and pass dataset rows to the next step; Google Sheets can receive rows through those workflows or a dataset export.

What happens when a request fails?

Check the run log for the source or input error, correct the input and retry after a temporary source issue. A run can contain rows saved before a later request failed.

Where can I find the TikTok sound ID for Music Posts?

Submit the sound ID in music_id or use the musicIds list for several sounds. TikTok Music Posts returns videos associated with each submitted sound.