Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Social Media

How to Use TikTok hashtag analytics in VS Code

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.

Prompts to try with TikTok hashtag analytics in VS Code

Copy an example into VS Code, or ask in your own words.

Use TikTok hashtag analytics for the United States over 90 days. Save the returned hashtag name, popularity curve, audience age profile, and representative countries in a research JSON file.

TikTok hashtag analyticsVS Code
Try asking
  • Use TikTok hashtag analytics to look this up and give me the result as a table. Save the result in ./assets.

  • 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 VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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.

    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.

    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: VS Code finds TikTok hashtag analytics on Spiral, shows the price and runs it.

TikTok hashtag analytics providers and prices

Spiral runs TikTok hashtag analytics through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Ads · Get trending hashtag detail
tikhub/tiktok-ads-get-trends-hashtag-detail

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Time rangea whole number90

30/90 /Time range in days

Every API field of TikTok Ads · Get trending hashtag detail is on its tool page: open its card above.

What can you do with TikTok hashtag analytics in VS Code?

Build a research view that puts TikTok trend evidence and ad references beside a campaign brief. A coding agent can organize Creative Center responses in project files and show the evidence behind each proposed content idea.

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.

Questions about TikTok hashtag analytics in VS Code

Can VS Code use TikTok hashtag analytics?

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

How much does TikTok hashtag analytics cost in VS 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 VS Code plan is separate.

Do I need a TikHub account to use TikTok hashtag analytics in VS Code?

No. Spiral runs TikTok hashtag analytics 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 hashtag analytics in VS Code?

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

Does VS Code wait while TikTok hashtag analytics runs?

TikTok hashtag analytics runs in the background. VS Code 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.

Get started

Start using TikTok hashtag analytics in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options