# Tiktok Hashtags Trends (`mina_safwat/tiktok-hashtags-trends`) Actor

Scrapes current trending TikTok hashtags.

- **URL**: https://apify.com/mina_safwat/tiktok-hashtags-trends.md
- **Developed by:** [Mina](https://apify.com/mina_safwat) (community)
- **Categories:** Social media, Developer tools, SEO tools
- **Features:** Limited permissions
- **Stats:** 60 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 hashtags

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

## TikTok Hashtags Trends

Pull the currently trending TikTok hashtags with their post counts, view counts and rank — structured, export-ready, no account needed.

### What does TikTok Hashtags Trends do?

It reads TikTok's public trending-hashtag ranking and returns each hashtag as its own row: rank, hashtag, number of posts, number of views, and a direct link to the hashtag feed. Results can be exported to JSON, CSV, Excel, XML or an HTML table, or pulled straight from the API.

Trending hashtags shift constantly, so the Actor is most useful on a schedule — run it daily and you build a time series of what is rising and falling.

### Why use it?

- **Content planning** — see which hashtags are trending before you post
- **Social listening** — track which topics are gaining traction week over week
- **Campaign research** — find high-volume hashtags relevant to a brand or niche
- **Trend monitoring** — schedule daily runs and keep a historical record

### How to use it

1. Open the Actor.
2. Optionally set **limit** and choose a proxy country.
3. Click **Start**, then open the **Output** tab when the run finishes.

To track trends over time, use **Schedules** in Apify Console to run it daily and append to the same dataset.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `limit` | integer | no | Maximum hashtags to return. Defaults to 10. See the note on availability below. |
| `proxyConfiguration` | object | no | Proxy settings. Use a residential proxy with a country to get that country's ranking. |

```json
{
    "limit": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US"
    }
}
```

#### How many hashtags you get

TikTok shows a **free preview of 3 hashtags** to visitors who are not signed in, and gates the rest behind a login. This Actor scrapes only what is publicly available, so a run returns **up to 3 hashtags** even if you set a higher `limit`.

When fewer hashtags are available than you asked for, the run log says so explicitly, for example:

```
Ranking exposes 3 hashtag(s) without an account; 10 were requested.
```

The ranking is region-specific, so running with different proxy countries gives you different top-3 sets.

### Output

One row per hashtag:

```json
{
    "rank": 1,
    "hashtag": "#livemonetization",
    "num_of_posts": 34600,
    "num_of_views": 29700000,
    "permalink": "https://www.tiktok.com/tag/livemonetization"
}
```

| Field | Type | Description |
|---|---|---|
| `rank` | number | Position in the trending ranking |
| `hashtag` | string | The hashtag, including `#` |
| `num_of_posts` | number | Posts using the hashtag, expanded from compact form (`34.6K` → `34600`) |
| `num_of_views` | number | Views, expanded the same way (`29.7M` → `29700000`) |
| `permalink` | string | Direct link to the hashtag feed on TikTok |

### Dataset views

**Overview** — rank, hashtag, number of posts, number of views and permalink in a sortable table, ready to export.

### Cost estimation

Billing is one dataset item per hashtag.

| Runs | Hashtags per run | Dataset items |
|---|---|---|
| 1 | 3 | 3 |
| 30 (daily for a month) | 3 | 90 |
| 30 across 5 countries | 3 | 450 |

### Tips

- **Schedule it.** A single run is a snapshot; daily runs turn it into a trend line.
- **Vary the proxy country** to build a picture of what is trending in each market.
- Use `permalink` to jump straight to a hashtag's feed and check whether the content fits your brand.

### FAQ

**Why do I only get 3 hashtags?**
That is all TikTok exposes publicly. Going deeper requires a logged-in session, which this Actor deliberately does not use.

**Does the run fail if nothing is found?**
Yes, on purpose. If the ranking cannot be read, the run fails with a clear message rather than finishing "successfully" with an empty dataset.

**Are the counts exact?**
They are TikTok's own published figures, expanded from compact notation. `34.6K` becomes `34600`, so precision is limited to what TikTok displays.

**Do I need a proxy?**
Not required, but a residential proxy gives more reliable access and lets you target a specific country's ranking.

### Disclaimer

This Actor collects publicly visible information only and does not sign in, bypass any login, or access private data. You are responsible for ensuring your use of the output complies with applicable laws and TikTok's terms.

### SEO Keywords

tiktok trending hashtags, tiktok hashtag scraper, tiktok trends api, trending hashtag research, tiktok marketing research, viral hashtag tracker, tiktok content strategy data, social media trend monitoring

# Actor input Schema

## `limit` (type: `integer`):

Limit the number of items to scrape.

## `proxyConfiguration` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "limit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mina_safwat/tiktok-hashtags-trends").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 = { "proxyConfiguration": { "useApifyProxy": True } }

# Run the Actor and wait for it to finish
run = client.actor("mina_safwat/tiktok-hashtags-trends").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 '{
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call mina_safwat/tiktok-hashtags-trends --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mina_safwat/tiktok-hashtags-trends"
        }
    }
}
```

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/2YLw82PGdgQSqRUeR/builds/BeqPUfeiBrqXAnLxA/openapi.json
