# Viral Video Finder (`deepmine/viral-video-finder`) Actor

Viral video finder for TikTok, Instagram Reels and YouTube Shorts: type a keyword and get one list of the videos taking off, ranked by views per day, with creator, followers, likes, comments and date. $0.99 per 1,000 videos on Starter. For trend research.

- **URL**: https://apify.com/deepmine/viral-video-finder.md
- **Developed by:** [DeepMine](https://apify.com/deepmine) (community)
- **Categories:** Social media, Videos, Marketing
- **Features:** Limited permissions
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.69 / 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.
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

## Viral Video Finder: TikTok, Reels & Shorts

**Viral video finder: type a keyword, get the videos taking off on TikTok, Instagram Reels and YouTube Shorts in one list, ranked by views per day.**

| Platform | Creator | Caption | Views/day | Views | Likes | Comments | Followers | Posted |
|---|---|---|---:|---:|---:|---:|---:|---|
| Instagram | [whereissuchitr](https://www.instagram.com/reel/Def7peKhSU_/) | India Fastest Healthy Jhalmuri😍 Save this post for… | 1,002,703 | 18,796,174 | 548,942 | 2,027 | 654,202 | Oct 15 |
| TikTok | [oyofoods](https://www.tiktok.com/@oyofoods/video/7698077057510624544) | #indianstreetfoods #fyp #streetfoodindia #diltyfoo… | 616,053 | 9,300,000 | 253,200 | 7,247 | 25,400 | Oct 18 |
| YouTube | [SafiFoods](https://www.youtube.com/shorts/PBNzOJD6S6w) | Pakistan Most Viral Dry Fruit 4mix Shake | Heavy E… | 130,103 | 130,103 | 2,304 | 27 | 369,000 | Nov 2 |

<sub>Collected November 2, 2026, keyword "street food", last 90 days.</sub>

**$0.99 per 1,000 videos on Starter** ($1.19 Free, $0.85 Scale, $0.69 Business). The prefilled run (60 videos) costs about $0.06. Videos your filters leave out are free.

### What it does

Most tools search one platform and sort by total views, so a three-year-old hit beats the video that took off this week. This Actor searches all three short-video platforms for your keyword, works out each video's views per day, and returns one list with one row shape, each platform's videos ranked best first. Use it to find viral TikTok videos, Reels and Shorts in a niche before you plan content.

Good for:

- spotting what is taking off in your niche this week, on every platform at once
- finding creators with small followings and big videos
- building swipe files of hooks and formats for clients

### Input

| Field | What it does |
|---|---|
| 🔍 Keywords (`keywords`) | Topics, one per line. Each one runs on every platform you pick. |
| 📱 Platforms (`platforms`) | TikTok, Instagram Reels, YouTube Shorts. All three by default. |
| 📊 Max videos per platform (`maxPerPlatform`) | Per keyword, the best first. 20 with 3 platforms is up to 60 rows a keyword. A logged-out TikTok search ends at about 150-250 videos. |
| 👁️ Minimum views (`minViews`) | Keeps only videos with at least this many views. |
| 📅 Posted in the last (`maxAgeDays`) | Keeps only videos this recent, in days. |
| 🏆 Sort by (`sortBy`) | Views per day (default), most views, most likes or newest. It decides which videos are picked as well as their order. |

```json
{
  "keywords": ["street food"],
  "platforms": ["tiktok", "instagram", "youtube"],
  "maxPerPlatform": 20,
  "maxAgeDays": 90,
  "sortBy": "viewsPerDay"
}
```

### Output

One row per video, each platform's best first. The Overview view shows cover, platform, creator, caption, link, views per day, views, likes, comments, followers, date and keyword. The Stats view holds the numbers, Sound & subtitles the sound and caption tracks, Creators the creator's profile.

| Field | Meaning |
|---|---|
| `platform` | TikTok, Instagram or YouTube |
| `url` | The video's page |
| `creator` | The creator's handle |
| `followers` | Followers (subscribers on YouTube) |
| `caption` | The full caption (the title on YouTube) |
| `views` | TikTok plays, Instagram plays, YouTube views |
| `likes` | Likes; null when the creator hides them |
| `comments` | Comments |
| `shares` | TikTok only: Instagram shows share counts only to signed-in viewers, YouTube shows none |
| `postedAt` | When it was posted, UTC |
| `viewsPerDay` | Views divided by days since posting, counting at least one day |
| `videoUrl` | Direct file link on TikTok and Instagram (signed, expires within days). YouTube gives none |
| `keyword` | The keyword that found it |
| `rank` | The video's place on its platform in this run, 1 = best by your sort |
| `cover` | Cover image (TikTok and Instagram links are signed and expire within days) |
| `captionSnippet` | The caption's first 50 characters |
| `creatorName`, `creatorUrl` | Display name and profile link |
| `durationSeconds` | Length |
| `saves` | Saves (bookmarks). TikTok only: Instagram shows saves only to signed-in viewers |
| `hashtags` | Hashtags in the caption |
| `isVerified` | The creator is verified |
| `reposts` | Reposts (TikTok) |
| `soundTitle`, `soundArtist`, `soundUrl` | The sound or song, who made it, and its page with the other videos using it |
| `soundIsOriginal`, `soundAlbum`, `soundDuration`, `soundCover`, `soundId` | The creator's own sound or a song, the album, length, cover and id |
| `hasSubtitles`, `subtitleLanguages`, `subtitles` | TikTok's subtitle tracks: language, source (auto, translated or creator) and the WebVTT file link |
| `description` | The full description (YouTube) |
| `mentions`, `collaborators`, `taggedUsers` | Mentioned accounts, collab partners and tagged accounts |
| `isPaidPartnership`, `isAd`, `isAiGenerated` | Paid partnership or paid promotion, TikTok's ad and AI-generated labels |
| `placeName`, `placeAddress`, `placeCity`, `latitude`, `longitude` | The tagged place |
| `width`, `height`, `definition`, `category` | Video size, TikTok's rendition and YouTube's category |
| `creatorAvatar`, `creatorBio`, `creatorFollowing`, `creatorLikes`, `creatorVideos`, `creatorId` | The creator's picture, bio, following, total likes, video count and id |
| `videoId`, `id` | The platform's id, and `platform:videoId`, unique across platforms |
| `scrapedAt` | When this run read it, UTC |

Export the list as CSV, Excel or JSON from the Output tab, or schedule the run to catch new videos as they take off.

### How it works

The run reads each platform's public search without a login, picks the best videos per keyword, and writes a platform's rows as soon as that platform is read, so the first rows show up while the slower platforms are still reading. A video two keywords find is one row, charged once.

- **TikTok:** the keyword's search results, read about five videos deep for each row you ask for.
- **Instagram Reels:** the keyword's public topic page, then up to seven of its related searches if it runs short. Only reels that name your keyword go out, so a narrow keyword or date filter can give fewer rows than you asked for. Instagram has no topic for some phrases: the status message names them.
- **YouTube Shorts:** the keyword's Shorts search, read about two videos deep for each row you ask for.

If one platform fails, the run still delivers the other two and says so in its status message. It fails only if every platform did.

### Related Actors

- [TikTok Video Search](https://apify.com/deepmine/tiktok-video-search)
- [Instagram Reels Search](https://apify.com/deepmine/instagram-reels-search)
- [YouTube Shorts Scraper](https://apify.com/deepmine/youtube-shorts-scraper)

### Feedback

Found a bug or want a field? Open an issue on the Issues tab. If this Actor helped you, please leave a review on the Store: it helps other buyers find it.

# Actor input Schema

## `keywords` (type: `array`):

Topics to search on each platform, one per line, e.g. street food. Each keyword runs on every platform you pick.

## `platforms` (type: `array`):

Where to search. Empty = all three.

## `maxPerPlatform` (type: `integer`):

Videos per keyword on each platform, the best first. 20 with 3 platforms = up to 60 rows a keyword. A TikTok search ends at about 150-250 videos. You pay per video.

## `minViews` (type: `integer`):

Keep only videos with at least this many views, e.g. 100000. Empty = no limit. Videos left out are not charged.

## `maxAgeDays` (type: `integer`):

Keep only videos this recent, e.g. 30. Empty = any age. Videos left out are not charged.

## `sortBy` (type: `string`):

Which videos count as best: they're picked and listed in this order. Views per day finds what is taking off now, not just what is old and big.

## Actor input object example

```json
{
  "keywords": [
    "street food"
  ],
  "platforms": [
    "tiktok",
    "instagram",
    "youtube"
  ],
  "maxPerPlatform": 20,
  "maxAgeDays": 90,
  "sortBy": "viewsPerDay"
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "keywords": [
        "street food"
    ],
    "platforms": [
        "tiktok",
        "instagram",
        "youtube"
    ],
    "maxPerPlatform": 20,
    "maxAgeDays": 90,
    "sortBy": "viewsPerDay"
};

// Run the Actor and wait for it to finish
const run = await client.actor("deepmine/viral-video-finder").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 = {
    "keywords": ["street food"],
    "platforms": [
        "tiktok",
        "instagram",
        "youtube",
    ],
    "maxPerPlatform": 20,
    "maxAgeDays": 90,
    "sortBy": "viewsPerDay",
}

# Run the Actor and wait for it to finish
run = client.actor("deepmine/viral-video-finder").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 '{
  "keywords": [
    "street food"
  ],
  "platforms": [
    "tiktok",
    "instagram",
    "youtube"
  ],
  "maxPerPlatform": 20,
  "maxAgeDays": 90,
  "sortBy": "viewsPerDay"
}' |
apify call deepmine/viral-video-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,deepmine/viral-video-finder"
        }
    }
}
```

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/GHznwKRNNazn8DIdY/builds/MSg0EvlFihv7lSwYt/openapi.json
