[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [TikTok trending video details](https://spiral.ai/integrations/muse-code/tiktok-trending-video-details)

# How to Use TikTok trending video details in Muse Code

Returns a ranked video's metrics, author profile, content labels, and top comments. Use it to investigate a selected video's appeal after finding it in Creative Center's Top Contents ranking.

|  |  |
| --- | --- |
| Model | TikTok trending video details |
| 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 trending video details in Muse Code

- Scrape https://example.com/pricing with TikTok trending video details and turn it into a comparison table. Save the result in ./assets.
- Crawl the docs at https://docs.example.com with TikTok trending video details and summarize each section.
- Pull the latest posts from this blog with TikTok trending video details and list their titles and dates.
- Scrape the job listings at https://example.com/careers with TikTok trending video details and give me a CSV.
- Scrape the changelog at https://example.com/changelog with TikTok trending video details and list this month's changes.

## How to set up TikTok trending video details 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 trending video details**: 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-top-contents-item-detail",
    "input": {
      "item_id": "<item_id>",
      "period_end_timestamp": 1785024000
    }
  }'
```

Then paste one of the prompts above: Muse Code finds TikTok trending video details on Spiral, shows the price and runs it.

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

## TikTok trending video details tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cookie |  | — | Custom Cookie string (optional) |
| country_code |  | US | Country code of the ranking |
| period_dimension |  | 3 | 3/5 /Period dimension |

## What can you do with TikTok trending video details in Muse Code?

Build a creative review panel that puts TikTok references beside retention findings and industry comparisons. A coding agent can turn returned data into project tables and charts while preserving the distinction between ads, ranked videos, and creator cards.

### Prepare a seasonal campaign brief

Expand product vocabulary with search suggestions, collect featured and similar ads, and inspect their offers and performance. Add ranked video examples and creator context, then use retention timelines, keyframes, and percentiles to explain which references deserve an editor's attention.

### Review competitors' creative references

Use search phrases, featured cases, and similar ads to build a review shortlist. Examine brand offers, peer comparisons, and attention patterns, then compare those references with ranked videos, top comments, and public creator performance.

### Build an editor's reference library

Organize ad examples by offer and industry, supported by suggested search phrases and related creatives. Include engagement timelines, keyframe findings, and percentile comparisons alongside ranked videos, audience reactions, and creator context.

### Compare paid creative with trending content

Study ranked videos, comments, and creator performance alongside featured and recommended ads. Use search suggestions to broaden the subject, ad details to identify offers, and performance analyses to choose questions for the next creative test.

### Assess creators behind ranked videos

Start with ranked videos, inspect their metrics and top comments, and review the associated public creator cards. Compare audience profiles, follower growth, and recent posts when preparing a campaign shortlist.

## Overview

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

## TikTok trending video details in other agents

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

## More Muse Code guides

- [TikTok trending posts](https://spiral.ai/integrations/muse-code/tiktok-trending-posts)
- [TikTok trending video rankings](https://spiral.ai/integrations/muse-code/tiktok-trending-video-rankings)
- [TikTok trending hashtags](https://spiral.ai/integrations/muse-code/tiktok-trending-hashtags)
- [TikTok user ID lookup](https://spiral.ai/integrations/muse-code/tiktok-user-id-lookup)
- [TikTok top search posts](https://spiral.ai/integrations/muse-code/tiktok-top-search-posts)
- [TikTok username lookup](https://spiral.ai/integrations/muse-code/tiktok-username-lookup)

## Questions about TikTok trending video details in Muse Code

**Can Muse Code use TikTok trending video details?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run TikTok trending video details like any built-in tool.

**How much does TikTok trending video details 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 trending video details in Muse Code?**

No. Spiral runs TikTok trending video details 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 trending video details 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 trending video details runs?**

TikTok trending video details runs in the background. Muse Code starts the run, checks on it and gives you the json when it's ready.

**Does Creative Center cover every TikTok ad and video?**

No. TikHub describes the dataset as a selection of popular records and explicitly warns that it may be incomplete.

**What do the ad analysis tools measure?**

They examine different aspects of creative performance: keyframe analysis identifies retention and drop-off moments, engagement timelines summarize attention over time, and percentiles compare an ad with industry peers.

**What extra context is available beyond the video itself?**

Ad details include the brand, landing page, target countries, and engagement data. For ranked videos, the detail response adds top comments and author information.

**Do search suggestions show keyword search volume?**

The documented response is a list of suggested phrases. It does not document a search-volume series, so suggestions are useful for expanding research rather than measuring demand.

**Can Creative Center help assess public creators?**

Creator cards document audience profiles, follower growth, overall performance, and recent posts. These provide context about creators behind ranked videos.

