TikTok Hashtag Scraper avatar

TikTok Hashtag Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
TikTok Hashtag Scraper

TikTok Hashtag Scraper

Extract video metadata from TikTok hashtag pages. Get video details, engagement statistics, author info, and music data for any hashtag.

Pricing

from $1.00 / 1,000 results

Rating

5.0

(1)

Developer

Rush

Rush

Maintained by Community

Actor stats

2

Bookmarked

17

Total users

0

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

Extract video metadata from any TikTok hashtag page. Get video details, engagement statistics, author information, and music data — no TikTok login or TikTok API key required.

What data can you get?

For each video found under a hashtag, you'll receive:

  • Video details — ID, URL, description, creation date, duration, cover image
  • Author info — username, nickname, profile link, bio, avatar, verification status, and follower, following, total-like and video counts
  • Engagement stats — views, likes, comments, shares, bookmarks
  • Music — sound title, artist, duration
  • Hashtags — the hashtags TikTok lists for the video, and the hashtag it was found under
  • Contact details — the email address and phone number in the author's public bio, when they appear there
  • Content flags — whether the video is an ad
  • Collection time — when each video was collected

When TikTok does not give one of these values for a video, the field is null, never a made-up 0, blank or account: createTime, videoUrl, authorUsername, authorProfileUrl, the four author counts, playCount, likeCount, commentCount, shareCount, bookmarkCount, repostCount, musicTitle, musicAuthor, musicDuration and videoDuration. Some sounds, for example, come with a title only, so their artist and duration are null.

How to use

  1. Enter 1 to 10 hashtag names (without the # symbol), one per entry; an entry such as travel, food counts as two
  2. Set how many videos to collect per hashtag (default: 100, range: 50-100)
  3. Run the scraper and download your results

Input example

{
"hashtags": ["travel", "food", "music"],
"maxItems": 100
}

Output example

Each video in the dataset looks like this:

{
"videoId": "7338291648291649794",
"videoUrl": "https://www.tiktok.com/@travelblogger/video/7338291648291649794",
"description": "Beautiful sunset in Bali #travel #sunset #bali",
"createTime": "2024-02-22T05:19:27.000Z",
"authorUsername": "travelblogger",
"authorNickname": "Travel Blogger",
"authorAvatarUrl": "https://...",
"authorBio": "Travel content creator",
"authorVerified": false,
"authorProfileUrl": "https://www.tiktok.com/@travelblogger",
"authorFollowerCount": 125000,
"authorFollowingCount": 350,
"authorHeartCount": 5200000,
"authorVideoCount": 420,
"playCount": 1500000,
"likeCount": 85000,
"commentCount": 1200,
"shareCount": 3400,
"bookmarkCount": 12000,
"repostCount": 0,
"musicTitle": "Sunset Vibes",
"musicAuthor": "Chill Music",
"musicDuration": 30,
"hashtags": ["travel", "sunset", "bali"],
"videoDuration": 15,
"coverUrl": "https://...",
"bioEmail": "hello@travelblog.com",
"bioPhone": null,
"isAd": false,
"hashtagSource": "travel",
"collectedAt": "2026-03-02T12:00:00.000Z"
}

bioEmail and bioPhone are filled in when an email address or phone number is found in the author's public bio; otherwise they are null. Addresses that look like placeholders (such as email@yourdomain.com), automated or system addresses (such as noreply@… or postmaster@…) or social media handles written like an address (such as ig@…) are left out. bioEmail is written in lower case. bioPhone is written as the bio writes it, with styled and full-width characters turned into plain ones, so its format varies and it may lack a country code. repostCount is the number of reposts TikTok shows to visitors who are not logged in, which was 0 for every video we checked. TikTok rounds views, likes, comments, shares, follower counts and author total likes of 10,000 or more (for example 908300), so treat those as approximate.

How many videos can I get?

The number of videos you get depends on how many videos TikTok shows to visitors who are not logged in. This differs between hashtags and can change from one run to the next, even for very popular hashtags.

Each hashtag is collected up to the number you set. If TikTok shows fewer videos for a hashtag than that, the run keeps every video it found and still ends as Succeeded. Its status then begins with Done, with fewer videos than requested: it names up to six of the hashtags that came up short and how far each got, for example #yourhashtag (85/100), says how many videos were saved, and says what to do next, unless the run also reached the maximum cost you set:

  • When TikTok answers that it has no hashtag of that name, check the spelling, then start a new run with only the corrected name. A resurrect would find nothing for it, and a new run that lists your other hashtags again saves their videos again.
  • For the others, the status says to resurrect the run: to try for more, or, when TikTok showed nothing for them, to try again later. When every one of them is a hashtag TikTok stopped showing new videos for, and a resurrected run found none, the status says so instead.
  • If the run also reached the maximum cost you set, raise that limit in the resurrect's options when you resurrect it.

A run also ends as Succeeded when it stops early with videos saved:

  • Stopped early: new videos were coming in too slowly in this run: the run stopped looking and kept the videos it saved. To try again later, resurrect the run; if the run had also reached the maximum cost you set, raise that limit in the resurrect's options. A run that stops this way before saving any video ends as Failed instead, with the status Stopped early: this run ran for a while without saving any videos, or, when something else also went wrong, the status for that other problem.

When a run reaches the maximum cost you set, it stops saving videos and keeps the ones it saved, and its status says so and how many videos were saved. When nothing else went wrong, the status begins with Stopped early: this run reached the maximum cost you set, or with Done, with fewer videos than requested when some hashtags also came up short. Apify may show such a run as Succeeded or as Aborted, because the platform itself can stop a run that has reached its limit. If the limit was reached before the first video was saved, the status begins with No videos were saved instead, and the run does not end as Succeeded.

A run ends as Failed only when it could not finish its own work, or saved no videos at all. It keeps every video it saved, and once it has started collecting, its status begins with one of these:

  • Some results could not be saved: the status says how many videos were saved. To collect the rest, resurrect the run; if the run had also reached the maximum cost you set, raise that limit in the resurrect's options.
  • Some hashtags could not be collected in this run: the status names up to six of them and how far each got. To collect the rest, resurrect the run; if the run had also reached the maximum cost you set, raise that limit in the resurrect's options.
  • Stopped before every hashtag was collected: the run could not go on, and the status says how many hashtags have no videos yet. To collect them, resurrect the run.
  • No videos were saved: no hashtag had a video to save. The status says what to do next for each kind of hashtag, as above.
  • Stopped early: this run ran for a while without saving any videos: the run stopped on its own before saving a video. To try again later, resurrect the run.
  • This run could not read its saved results: anything it saved earlier is still in its dataset, and its Run Summary record is still the one an earlier attempt wrote, if any. Resurrect it to try again, or start a new run, which saves its videos again.

A run whose input cannot be used also ends as Failed, before it collects anything, and its status says what to change: for example, a list that holds more than 10 hashtags once entries such as travel, food are split.

If you call this Actor through the API and wait for its videos in the same call, a run that ends as Failed answers with an error instead of its videos. The videos it saved are still in the run's dataset, so read them from there.

A run you abort gracefully ends as Aborted and keeps every video it saved. The platform gives it 30 seconds to finish. If it can wind down in that time, its status begins with Stopped because the run was aborted, says how many videos were saved and names up to six of the hashtags it can still collect. To collect them, resurrect the run. A hashtag for which TikTok answered that it has no hashtag of that name is not offered a resurrect: the status gives it the spelling advice instead. A run that had also reached the maximum cost you set, or in which a save failed, does not get this status: its status says so, as described above. A run that cannot finish its current step in time ends like an immediate abort.

A run that is cut off at once, by a timeout set in its run options or an immediate abort, ends as Timed out or Aborted. It keeps the videos it saved, and its status stays at its last progress line, so the hashtags still in progress, including the one it names, may be only partly collected. To collect the rest, resurrect the run.

To resurrect a run, open it and choose Actions > Resurrect; you can set a longer timeout there. It goes on from what it saved, so videos it already has are not saved again. If the run reached the maximum cost you set, raise that limit in the resurrect's options: a resurrected run keeps the run's own limit unless you change it there, and then saves nothing new.

The Run Summary record, in the run's Output tab, lists every hashtag the run started, how many videos it got, and why it ended (endReason). It gives each hashtag's name in full; when a run reaches its end, its status shortens a long name in the middle. It also gives totalVideos (the videos saved), targetVideos (the number you asked for, across all hashtags), completionRate (the first as a percentage of the second), hashtagsProcessed (the hashtags it lists), startedAt (when this attempt of the run began collecting) and finishedAt (when this attempt finished). If a run is cut off at once, finishedAt is null and hashtags still in progress are not listed, so the dataset can hold more videos than the record counts. A run that ends early may also stop waiting for a save that is still going on; its videos can then reach the dataset without being counted in the status or the record.

endReasonWhat it means
target_reachedThe hashtag reached the number you set.
ended_before_targetTikTok stopped showing new videos before that number.
no_results_availableTikTok says it has no hashtag of this name, or it listed no videos for it. When the run reaches its end, its status names each hashtag TikTok says does not exist, or, when the list is too long to show in full, the first ones and how many more.
temporary_unavailableTikTok did not show this hashtag's videos, or not all of them, at that moment. To try again later, resurrect the run.
interrupted_after_partialCollection of this hashtag stopped early, for example because the run was aborted. The videos saved so far are kept.
charge_limit_reachedThe run reached the maximum cost you set.
save_failedSome results could not be saved.
could_not_collectThis hashtag could not be collected in this run. To try again later, resurrect the run.

Input parameters

ParameterTypeRequiredDefaultDescription
hashtagsArray of stringsYes—Hashtag names to scrape (without #), up to 10 per run; an entry such as travel, food counts as two
maxItemsIntegerNo100Videos to collect per hashtag (50–100). If TikTok shows fewer for a hashtag, the run keeps what it found, and the Run Summary in the run's Output tab shows how many videos that hashtag got.

Hashtag names are cleaned before collecting: lower case, no spaces, no leading #, and İ written as i. A link to a hashtag page also works. Entries that end up the same, such as Travel and #travel, or İstanbul and istanbul, are collected once. hashtagSource shows the cleaned name; the hashtags field keeps each video's tags as TikTok has them.

Tips for best results

  • Start small — try with 1 hashtag and 50 videos first to verify the output format
  • Try again later — if a hashtag comes up short, TikTok may show more of its videos later. Resurrect the run to add them: a new run starts empty, so it saves its videos again, including ones you already have. For a hashtag TikTok says does not exist, start a new run with only the corrected name instead

FAQ

Q: Why did I get fewer videos than the maxItems I set? A: The hashtag's endReason in the Run Summary says why, and the table above explains each one. With ended_before_target, TikTok showed fewer videos for that hashtag than you asked for during that run. The run keeps every video it found and ends as Succeeded, and its status names up to six of the hashtags that came up short and the count each reached, unless the run also stopped early for another reason. You do not need to run it again to keep those videos. To try for more, resurrect the run: it adds only videos it does not have yet, if TikTok shows any. A lower number does not get more videos.

Q: Does this scraper work with hashtags in other languages? A: Yes. You can use hashtags in any language (e.g., comidamexicana, 台灣美食, 日本旅行). Enter them without the # symbol.

Q: Why did I get zero results for a hashtag? A: TikTok says it has no hashtag of that name, listed no videos for it, or did not show its videos at that moment. When the run reaches its end, its status names each hashtag TikTok says does not exist, or, when the list is too long to show in full, the first ones and how many more. The run's log names each one in full as soon as TikTok answers. For the other two, the hashtag's endReason in the Run Summary says which. When TikTok says it has no hashtag of that name, check the spelling and start a new run with only the corrected name: a new run that lists your other hashtags again saves their videos again. When it listed no videos (no_results_available) or did not show them (temporary_unavailable), resurrect the run later to try again. A hashtag can also have no videos because it could not be collected in that run (could_not_collect), because you aborted the run, or because it reached the maximum cost you set; the Run Summary record gives the reason for each hashtag it lists. A run in which no hashtag saved a video does not end as Succeeded.

Q: Why do some videos not show the hashtag in their description or hashtags? A: Many of the videos a hashtag's page lists, for some hashtags most of them, do not include that hashtag in their description or tags. The scraper returns every video the page lists, and hashtagSource names the hashtag each row came from. The hashtags field holds the tags TikTok lists for each video, which can be empty even when the description shows some.

Q: Can the same video appear more than once? A: A run lists each video once per hashtag. A video that appears under two of the hashtags you entered is listed once for each of them, and hashtagSource shows which hashtag each row came from.

Q: What happens if a run restarts? A: A run can restart, for example when you resurrect it or when Apify moves it to another server. It continues from what its dataset already holds: videos already saved are not saved again, hashtags that already have the full number are not collected again, and when the run reaches its end, the status and the Run Summary record count everything the run saved; only a run that ends early can leave out videos from a save that was still going on. To collect the same hashtags again, start a new run instead.

Q: How fresh is the data? A: The scraper collects data in real time from TikTok's public hashtag pages. Engagement statistics (views, likes, etc.) reflect the values at the time of collection.

Q: Can I collect content that requires a login? A: No. The scraper collects only what TikTok shows to visitors who are not logged in.

Q: What does the isAd field mean? A: This field indicates whether TikTok has marked the video as a promoted or sponsored post.

Q: Do the image links stay valid? A: The author avatar and video cover links are temporary links provided by TikTok and stop working after a while. If you need the images, download them soon after the run.

Disclaimer

This scraper collects what TikTok shows on its hashtag pages to visitors who are not logged in. It does not use a TikTok account and does not access private content.

  • Data accuracy — Engagement statistics and author information are provided by TikTok and may change over time. The scraper reports values as they appear at the time of collection.
  • Availability — TikTok may change its public page structure at any time, which could temporarily affect the scraper's ability to collect data.
  • Usage responsibility — Users are responsible for ensuring their use of collected data complies with applicable laws, regulations, and TikTok's Terms of Service.
  • No guarantees — The number of videos returned per hashtag is not guaranteed and depends on TikTok's content availability.

Built by futurizerush on Apify — browse more social media and lead-generation scrapers there.


Keywords: TikTok hashtag scraper, TikTok video scraper, TikTok trend research, TikTok engagement data, TikTok creator contact, social media analysis, OpenClaw, Claude Code, Gemini, Antigravity, Codex, ChatGPT