[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [TikTok hashtag analytics](https://spiral.ai/integrations/n8n/tiktok-hashtag-analytics)

# How to Use TikTok hashtag analytics in n8n

Returns a trending hashtag's popularity curve, related videos, audience age profile, and representative countries from Creative Center. Use it to assess audience fit and momentum before choosing a content topic.

|  |  |
| --- | --- |
| Model | TikTok hashtag analytics |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with TikTok hashtag analytics in n8n

- Every Friday, use TikTok hashtag analytics for the United States over 90 days. Report the returned hashtag name, popularity curve, age profile, and representative countries; compare only reports for the same hashtag.
- Every Monday at 9am: use TikTok hashtag analytics to look this up and give me the result as a table.
- Pull the latest numbers from TikTok hashtag analytics and tell me what changed since last week.
- Check TikTok hashtag analytics and summarize what you find in three bullet points.
- Pull the newest data from TikTok hashtag analytics and give me the result as a table.

## How to set up TikTok hashtag analytics in n8n

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send n8n this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run TikTok hashtag analytics in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds TikTok hashtag analytics, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run TikTok hashtag analytics**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "tikhub",
    "model": "tikhub/tiktok-ads-get-trends-hashtag-detail",
    "input": {
      "hashtag_id": "<hashtag_id>"
    }
  }'
```

Then paste one of the prompts above: n8n finds TikTok hashtag analytics on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## TikTok hashtag analytics tools and prices

- [TikTok Ads · Get trending hashtag detail](https://spiral.ai/tools/tikhub/tikhub/tiktok-ads-get-trends-hashtag-detail) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cookie |  | — | Custom Cookie string (optional) |
| time_range |  | 90 | 30/90 /Time range in days |
| country_code |  | US | Country code |

## What can you do with TikTok hashtag analytics in n8n?

Produce a recurring TikTok research digest that highlights changes in the Creative Center results you collect. A scheduled agent can compare successive responses and turn new trend evidence or ad examples into a weekly review.

### Product launch research

Prepare a skincare launch brief with hashtag rankings, audience context, and relevant ad examples. Separate the observed data from proposed messages to test.

### Seasonal content planning

Plan holiday content using trending topics, their popularity curves, and seasonal ad descriptions. Turn the findings into original concepts with a clear reference for each idea.

### Agency research briefs

Build a client briefing that brings together category trends, hashtag audience summaries, and public advertiser examples. Explain which evidence supports each proposed content direction.

### Creative test planning

Create a backlog of content hypotheses from hashtag momentum, audience profiles, and ad messaging. Give each hypothesis an observed reference and a proposed test.

### Market-specific topic selection

Compare hashtag rankings across markets, then use audience age and representative-country summaries to assess topic fit for a regional content plan.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## TikTok hashtag analytics in other agents

- [Amp](https://spiral.ai/integrations/amp/tiktok-hashtag-analytics)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/tiktok-hashtag-analytics)
- [Claude](https://spiral.ai/integrations/claude-desktop/tiktok-hashtag-analytics)
- [Claude Code](https://spiral.ai/integrations/claude-code/tiktok-hashtag-analytics)
- [Cline](https://spiral.ai/integrations/cline/tiktok-hashtag-analytics)
- [Codex](https://spiral.ai/integrations/codex/tiktok-hashtag-analytics)
- [Cursor](https://spiral.ai/integrations/cursor/tiktok-hashtag-analytics)
- [Devin](https://spiral.ai/integrations/devin/tiktok-hashtag-analytics)
- [dots](https://spiral.ai/integrations/dots/tiktok-hashtag-analytics)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/tiktok-hashtag-analytics)
- [Gemini](https://spiral.ai/integrations/gemini/tiktok-hashtag-analytics)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/tiktok-hashtag-analytics)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/tiktok-hashtag-analytics)
- [goose](https://spiral.ai/integrations/goose/tiktok-hashtag-analytics)
- [Grok](https://spiral.ai/integrations/grok/tiktok-hashtag-analytics)
- [Grok Build](https://spiral.ai/integrations/grok-build/tiktok-hashtag-analytics)
- [Hermes](https://spiral.ai/integrations/hermes/tiktok-hashtag-analytics)
- [Instinct](https://spiral.ai/integrations/instinct/tiktok-hashtag-analytics)
- [Manus](https://spiral.ai/integrations/manus/tiktok-hashtag-analytics)
- [Muse](https://spiral.ai/integrations/muse/tiktok-hashtag-analytics)
- [Muse Code](https://spiral.ai/integrations/muse-code/tiktok-hashtag-analytics)
- [Notion](https://spiral.ai/integrations/notion/tiktok-hashtag-analytics)
- [OpenClaw](https://spiral.ai/integrations/openclaw/tiktok-hashtag-analytics)
- [opencode](https://spiral.ai/integrations/opencode/tiktok-hashtag-analytics)
- [Perplexity](https://spiral.ai/integrations/perplexity/tiktok-hashtag-analytics)
- [Raycast](https://spiral.ai/integrations/raycast/tiktok-hashtag-analytics)
- [VS Code](https://spiral.ai/integrations/vscode/tiktok-hashtag-analytics)
- [Windsurf](https://spiral.ai/integrations/windsurf/tiktok-hashtag-analytics)
- [Zapier](https://spiral.ai/integrations/zapier/tiktok-hashtag-analytics)

## More n8n guides

- [TikTok guest session](https://spiral.ai/integrations/n8n/tiktok-guest-session)
- [TikTok hashtag details](https://spiral.ai/integrations/n8n/tiktok-hashtag-details)
- [TikTok gift names in bulk](https://spiral.ai/integrations/n8n/tiktok-gift-names-in-bulk)
- [TikTok hashtag search](https://spiral.ai/integrations/n8n/tiktok-hashtag-search)
- [TikTok gift name lookup](https://spiral.ai/integrations/n8n/tiktok-gift-name-lookup)
- [TikTok hashtag videos](https://spiral.ai/integrations/n8n/tiktok-hashtag-videos)

## Questions about TikTok hashtag analytics in n8n

**Can n8n use TikTok hashtag analytics?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run TikTok hashtag analytics like any built-in tool.

**How much does TikTok hashtag analytics cost in n8n?**

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

**Do I need a TikHub account to use TikTok hashtag analytics in n8n?**

You need no TikHub account. n8n uses one Spiral API key for every tool, and Spiral runs TikTok hashtag analytics on its own TikHub account.

**How long does it take to set up TikTok hashtag analytics in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while TikTok hashtag analytics runs?**

TikTok hashtag analytics runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**What public data does TikTok Creative Center cover?**

Creative Center provides public trend information and ad examples. Its hashtag rankings include views and post counts, while ad search includes advertiser names, landing pages, and engagement counts.

**Does Creative Center show every TikTok advertiser?**

Top Ads only includes creatives authorized by advertisers for display in Creative Center. A missing advertiser or campaign therefore does not establish that it has never advertised on TikTok.

**What audience information does Creative Center provide for hashtags?**

Hashtag analytics provides an audience age profile and representative countries alongside the popularity curve and related videos. These are audience summaries for a hashtag, rather than individual viewer records.

**How many ad examples can a search return at once?**

Ad search documents a maximum of 50 results per page, with 20 as the default. That is a page limit, not the size of TikTok's advertising inventory.

**Can I download Creative Center ads to reuse in my campaign?**

TikTok says Top Ads creatives are watermarked and unavailable for download for copyright reasons. Use the examples to inform an original creative brief; their public display does not establish permission to reuse them.

