[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [TikTok ad performance percentiles](https://spiral.ai/integrations/claude-code/tiktok-ad-performance-percentiles)

# How to Use TikTok ad performance percentiles in Claude Code

Returns an ad's performance percentiles and industry average comparisons. Use it to assess performance relative to other ads in the industry before choosing creative references.

|  |  |
| --- | --- |
| Model | TikTok ad performance percentiles |
| 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 ad performance percentiles in Claude Code

- Use TikTok ad performance percentiles for Creative Center ad 7213258221116751874 and render the returned peer comparisons in this project's ad report.
- Use TikTok ad performance percentiles to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok ad performance percentiles and tell me what changed since last week.
- Check TikTok ad performance percentiles and summarize what you find in three bullet points.
- Pull the newest data from TikTok ad performance percentiles and give me the result as a table.

## How to set up TikTok ad performance percentiles in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude 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 ad performance percentiles**: 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-ad-percentile",
    "input": {
      "material_id": "<material_id>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds TikTok ad performance percentiles on Spiral, shows the price and runs it.

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

## TikTok ad performance percentiles tools and prices

- [TikTok Ads · Get ad percentile data](https://spiral.ai/tools/tikhub/tikhub/tiktok-ads-get-ad-percentile) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cookie |  | — |  |
| metric |  | ctr_percentile | Analysis metric (ctr_percentile, time_attr_conversion_rate_percentile, click_cnt_percentile, time_attr_convert_cnt_percentile, show_cnt_percentile) |
| period_type |  | 180 | Time period (days) |

## What can you do with TikTok ad performance percentiles in Claude 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.

### Review an ad before planning a recut

Pair the ad's creative and offer with its engagement timeline and keyframe findings. Use industry percentiles to place the example in context before proposing scenes to shorten or reorder.

### Prepare a creative review meeting

Bring featured ad cases, industry comparisons, and specific retention moments into the discussion. Separate observations about the returned performance data from proposed explanations that the team still needs to test.

## Overview

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

## TikTok ad performance percentiles in other agents

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

## More Claude Code guides

- [TikTok ad keyframe analysis](https://spiral.ai/integrations/claude-code/tiktok-ad-keyframe-analysis)
- [TikTok ad search](https://spiral.ai/integrations/claude-code/tiktok-ad-search)
- [TikTok ad engagement timeline](https://spiral.ai/integrations/claude-code/tiktok-ad-engagement-timeline)
- [TikTok ad search suggestions](https://spiral.ai/integrations/claude-code/tiktok-ad-search-suggestions)
- [TikTok ad details](https://spiral.ai/integrations/claude-code/tiktok-ad-details)
- [TikTok audience countries](https://spiral.ai/integrations/claude-code/tiktok-audience-countries)

## Questions about TikTok ad performance percentiles in Claude Code

**Can Claude Code use TikTok ad performance percentiles?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run TikTok ad performance percentiles like any built-in tool.

**How much does TikTok ad performance percentiles cost in Claude 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 Claude Code plan is separate.

**Do I need a TikHub account to use TikTok ad performance percentiles in Claude Code?**

No. Spiral runs TikTok ad performance percentiles 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 ad performance percentiles in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while TikTok ad performance percentiles runs?**

TikTok ad performance percentiles runs in the background. Claude 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.

