# YouTube & TikTok Tags Generator: Shorts Viral SEO (`dev00/viral-tags-generator`) Actor

AI-powered viral tags and hashtag generator for YouTube Shorts, TikTok, and Reels. Categorizes primary, longtail, and trending tags with character counts.

- **URL**: https://apify.com/dev00/viral-tags-generator.md
- **Developed by:** [dev00](https://apify.com/dev00) (community)
- **Stats:** 1 total users, 0 monthly users, 77.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 operational query events

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## YouTube & TikTok Tags Generator: Shorts Viral SEO

[![Rating](https://img.shields.io/badge/Rating-★★★★★-yellow)](#)
[![Speed](https://img.shields.io/badge/Speed-~250ms%20Ultra--Fast-brightgreen)](#)
[![Pricing](https://img.shields.io/badge/Pricing-🔥%20Competitive-red)](#)
[![Compliance](https://img.shields.io/badge/Status-100%25%20Operational-brightgreen)](#)

### ⚡ Overview & Capabilities

The **YouTube & TikTok Tags Generator: Shorts Viral SEO** is a high-performance Apify Actor engineered for automated video creators, YouTube automation channels, marketing agencies, and programmatic SEO teams. With a single request containing any video topic or title, the Actor generates structured, high-ranking keyword tags grouped into strategic algorithmic tiers: primary core tags, high-converting long-tail phrases, viral trending keywords, and pre-formatted social media hashtags.

Built on Cloudflare edge routing, this Actor provides lightning-fast execution (~200ms – 400ms) with zero proxy headaches or scraper failures.

***

### 📊 Market Comparison

| Solution | Price per Generation | Structured Categorization | Hashtags & Chars | Real-Time Edge |
| :--- | :--- | :--- | :--- | :--- |
| **YouTube & TikTok Tags Generator: Shorts Viral SEO** | **$0.004 / run** | **Yes (Primary, Longtail, Trends)** | **Pre-Computed & Validated** | **Yes (~250ms)** |
| VidIQ | $0.02 – $0.05 / run | Basic flat list | Manual checking | No (Slow server) |

***

### 💡 Common Use Cases

- **YouTube Shorts & TikTok Viral Optimization:** Generate high-velocity tags and hashtags directly before uploading.
- **Scheduled Content Automation:** Trigger runs via Apify API or webhooks from Make, Zapier, n8n, or Python scripts.
- **A/B Metadata Testing:** Test different generation styles (`balanced`, `trending`, `longtail`, `broad`) to maximize organic impressions.
- **Bulk Channel Management:** Process batches of hundreds of video titles in a single automated dataset run.

***

### 📥 Input Parameters

| Field | Type | Description | Default | Allowed Values |
| :--- | :--- | :--- | :--- | :--- |
| `title` | String | Target video title, topic, or search query. | **Required** | Any text |
| `niche` | String | Channel category / niche. | `gaming` | `gaming`, `technology`, `education`, `finance`, `lifestyle`, `fitness`, `food`, etc. |
| `style` | String | Optimization formula style. | `balanced` | `balanced`, `trending`, `longtail`, `broad` |
| `count` | Integer | Quantity of tags to generate. | `30` | `15`, `20`, `30` |

***

### 📤 Output Dataset Format

Every run outputs clean, validated JSON directly into the Apify Dataset:

```json
{
  "success": true,
  "title": "Minecraft hardcore survival",
  "niche": "gaming",
  "style": "balanced",
  "tags": {
    "primary": ["minecraft hardcore", "hardcore survival", "minecraft survival", "minecraft", "gaming"],
    "secondary": ["mc hardcore", "minecraft gameplay", "hardcore series", "survival minecraft"],
    "longtail": ["minecraft hardcore season", "how to survive minecraft hardcore"],
    "trending": ["gaming video", "video game", "pc gaming"],
    "total_chars": 375,
    "hashtags": ["#minecrafthardcore", "#hardcoresurvival", "#minecraftsurvival", "#minecraft", "#gaming"]
  },
  "all_tags": ["minecraft hardcore", "hardcore survival", "minecraft survival", "minecraft", "gaming", "survival game"],
  "total_tags": 22,
  "hashtags": ["#minecrafthardcore", "#hardcoresurvival", "#minecraftsurvival", "#minecraft", "#gaming"],
  "total_chars": 375,
  "generated_at": "2026-10-09T20:04:07.272063"
}
```

***

### 💰 Transparent Pay-Per-Event (PPE) Pricing

- **Free Users:** **$0.10** per run.
- **Paid Apify Members:** Fixed unit rate of **$0.004** per generation.
- **Platform Compute:** Billed directly to user (`isPPEPlatformUsagePaidByUser: true`). Developer is never billed for platform usage.

***

### 🚀 How To Run via Apify API (Node.js)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('dev00/viral-tags-generator').call({
    title: 'Top 10 AI productivity tools 2026',
    niche: 'technology',
    style: 'trending',
    count: 30
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

***

### ❓ Frequently Asked Questions (FAQ)

#### 1. Does the Actor enforce YouTube's character limit?

Yes! YouTube limits tags to 500 characters. The Actor calculates and returns `total_chars` so you can verify length instantly.

#### 2. Can I run this on a recurring schedule?

Yes! Use Apify Tasks and Apify Schedules to run daily or weekly tag refreshes automatically.

#### 3. Are hashtags included?

Yes! Pre-formatted hashtags with `#` are automatically provided for your video description and comments.

#### 4. What is the response latency?

Average latency is ~200ms – 400ms globally from the edge.

***

### 🏷️ Search Keywords

`youtube shorts`, `tiktok tags`, `viral hashtags`, `video seo`, `reels tags`, `viral-tags-generator`, `apify actor`, `cloud scraper`, `automation`

# Actor input Schema

## `title` (type: `string`):

Video title, concept, or search query to generate tags for.

## `niche` (type: `string`):

Target video category.

## `style` (type: `string`):

Tag generation optimization style.

## `count` (type: `integer`):

Quantity of tags to generate (15, 20, or 30).

## Actor input object example

```json
{
  "title": "Minecraft hardcore survival",
  "niche": "gaming",
  "style": "balanced",
  "count": 30
}
```

# Actor output Schema

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

No description

## `keyValueStoreResult` (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 = {
    "title": "Minecraft hardcore survival",
    "count": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("dev00/viral-tags-generator").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 = {
    "title": "Minecraft hardcore survival",
    "count": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("dev00/viral-tags-generator").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 '{
  "title": "Minecraft hardcore survival",
  "count": 30
}' |
apify call dev00/viral-tags-generator --silent --output-dataset

```

## MCP server setup

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

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/b5JuBqhmodrmrcezp/builds/XubUBiR5tEH5iTHDY/openapi.json
