[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [TikTok search topic trends](https://spiral.ai/integrations/muse-code/tiktok-search-topic-trends)

# How to Use TikTok search topic trends in Muse Code

Returns a search topic's popularity by region and over time. Use it to compare geographic interest and timing after selecting a topic from TikTok creator search insights.

|  |  |
| --- | --- |
| Model | TikTok search topic trends |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.0013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok search topic trends in Muse Code

- Use TikTok search topic trends to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok search topic trends and tell me what changed since last week.
- Check TikTok search topic trends and summarize what you find in three bullet points.
- Pull the newest data from TikTok search topic trends and give me the result as a table.
- Check TikTok search topic trends every morning and tell me only when something changed.

## How to set up TikTok search topic trends in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 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 search topic trends**: 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-app-v3-fetch-creator-search-insights-trend",
    "input": {
      "query_id_str": "7555720035176562699"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds TikTok search topic trends on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## TikTok search topic trends tools and prices

- [TikTok App · Creator Search Insights Trend](https://spiral.ai/tools/tikhub/tikhub/tiktok-app-v3-fetch-creator-search-insights-trend) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| from_tab_path |  | TRENDING,TOPICS | From tab path |
| query_analysis_required |  | true | Whether query analysis is required |

## What can you do with TikTok search topic trends in Muse Code?

Build a TikTok research report in your project from retrieved search results, topic insights, or hashtag data. Your coding agent can turn the returned records into tables and translate supplied text for an editorial review.

### Prepare a multilingual product launch brief

Research a product category through keyword results, matching hashtags, hashtag details, and hashtag videos. Add search topics, their statistics, regional trends, and related videos; review public shopping creator information and translate selected text for the launch team.

### Build an editorial calendar for a retail category

Use search insights, topic statistics, and regional trends to propose subjects. Ground each proposal in keyword results, hashtag research, and related video examples; add potential shopping collaborators and translations of relevant text.

### Plan a seasonal retail campaign

Compare seasonal search topics using their statistics, geographic interest, and related videos. Combine keyword and hashtag research with public shopping creator information, then translate selected phrases for a campaign planning brief.

### Write a creator partnership brief

Combine a public shopping creator's storefront and audience counts with category keyword results and hashtag details and videos. Use search insights, topic statistics, regional trends, and related videos to suggest subjects, translating selected text for collaborators.

### Find subjects for a cooking series

Discover food search topics, inspect their search statistics and regional trends, and collect related popular videos as references for episode proposals.

## Overview

- [TikHub](https://spiral.ai/providers/tikhub)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## TikTok search topic trends in other agents

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

## More Muse Code guides

- [TikTok search topic statistics](https://spiral.ai/integrations/muse-code/tiktok-search-topic-statistics)
- [TikTok search topic videos](https://spiral.ai/integrations/muse-code/tiktok-search-topic-videos)
- [TikTok search suggestions](https://spiral.ai/integrations/muse-code/tiktok-search-suggestions)
- [TikTok shopping creator information](https://spiral.ai/integrations/muse-code/tiktok-shopping-creator-information)
- [TikTok search results](https://spiral.ai/integrations/muse-code/tiktok-search-results)
- [TikTok short share link](https://spiral.ai/integrations/muse-code/tiktok-short-share-link)

## Questions about TikTok search topic trends in Muse Code

**Can Muse Code use TikTok search topic trends?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run TikTok search topic trends like any built-in tool.

**How much does TikTok search topic trends cost in Muse Code?**

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

**Do I need a TikHub account to use TikTok search topic trends in Muse Code?**

No. Spiral runs TikTok search topic trends on its own TikHub account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok search topic trends in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while TikTok search topic trends runs?**

TikTok search topic trends runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does TikHub return private TikTok content?**

TikHub's privacy policy says it does not access or store private, restricted, or password-protected platform content. Public availability is the access boundary.

**How fresh is TikHub's data?**

TikHub describes repeat requests as fresh, real-time retrievals. Its terms still disclaim guarantees that the returned data is current.

**Does TikHub guarantee complete or accurate results?**

No. TikHub's terms explicitly disclaim guarantees that retrieved data is accurate, complete, or current.

**Can retrieved TikTok content be reused freely?**

TikHub's terms say retrieved content may carry third-party intellectual property rights. Retrieval does not establish permission to republish a creator's work.

**Does TikHub document every returned data field?**

No. TikHub says its responses vary by platform and its documentation describes endpoints and parameters rather than every payload key.

