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

# How to Use TikTok hashtag videos in Claude Code

Returns a paginated list of videos associated with a TikTok hashtag. Use it to collect examples from a specific hashtag rather than a keyword search.

|  |  |
| --- | --- |
| Model | TikTok hashtag videos |
| 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 hashtag videos in Claude Code

- Use TikTok hashtag videos for 'BookTok' and implement pagination in this project's research view.
- Use TikTok hashtag videos to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok hashtag videos and tell me what changed since last week.
- Check TikTok hashtag videos and summarize what you find in three bullet points.
- Pull the newest data from TikTok hashtag videos and give me the result as a table.

## How to set up TikTok hashtag videos 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 hashtag videos**: 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-web-fetch-tag-post",
    "input": {
      "challengeID": "7551"
    }
  }'
```

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

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

## TikTok hashtag videos tools and prices

- [TikTok Web · Tag Post](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-fetch-tag-post) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| count |  | 30 | Number per page |
| cursor |  | 0 | Page cursor |

## What can you do with TikTok hashtag videos in Claude Code?

Build a TikTok research view for videos, hashtags, public brand connections, and LIVE information. A coding agent can adapt retrieved responses to your project's data model and handle TikTok pagination and guest-session limits.

### Research a content topic

Explore BookTok through daily search terms, hashtag details, and associated videos. Use keyword search to broaden the examples and a consistent guest identity to support collection with fewer duplicates where supported.

### Build an editorial shortlist

Find TikTok videos and hashtags relevant to a publisher's next reading campaign. Compare the collected examples with daily trending searches, using a consistent guest identity during supported collection.

### Prepare a brand campaign brief

Combine campaign-related videos, hashtags, search trends, and brand LIVE information. Add public likes and business or creator accounts found in follower and following lists; use guest sessions to support consistent collection where applicable.

### Compare public brand activity

Prepare an internal comparison of Duolingo and Ryanair using relevant videos, hashtags, daily search topics, public content selections, business account connections, and LIVE details. Keep guest identity consistent during supported collection and distinguish observed results from conclusions about brand strategy.

## Overview

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

## TikTok hashtag videos in other agents

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

## More Claude Code guides

- [TikTok hashtag search](https://spiral.ai/integrations/claude-code/tiktok-hashtag-search)
- [TikTok home feed videos](https://spiral.ai/integrations/claude-code/tiktok-home-feed-videos)
- [TikTok hashtag details](https://spiral.ai/integrations/claude-code/tiktok-hashtag-details)
- [TikTok keyword search](https://spiral.ai/integrations/claude-code/tiktok-keyword-search)
- [TikTok hashtag analytics](https://spiral.ai/integrations/claude-code/tiktok-hashtag-analytics)
- [TikTok keyword search link](https://spiral.ai/integrations/claude-code/tiktok-keyword-search-link)

## Questions about TikTok hashtag videos in Claude Code

**Can Claude Code use TikTok hashtag videos?**

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

**How much does TikTok hashtag videos 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 hashtag videos in Claude Code?**

No. Spiral runs TikTok hashtag videos 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 videos in Claude Code?**

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

**Does Claude Code wait while TikTok hashtag videos runs?**

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

**How fresh is the TikTok data?**

TikHub describes repeat API requests as fresh, real-time retrieval rather than cached results. That describes retrieval freshness, not a guarantee that every TikTok value updates immediately.

**Does a page of results contain every matching TikTok record?**

No. TikHub says paginated endpoints frequently return fewer items than requested, so a short page alone does not establish that collection is complete.

**Does this cover private TikTok content?**

TikHub states that its data access covers only publicly available information. Private content falls outside that stated coverage.

**Is TikTok data guaranteed to be accurate and complete?**

No. TikHub's terms do not warrant that retrieved data is accurate, complete, or current.

**Can I freely republish retrieved TikTok content?**

Retrieval does not establish unrestricted reuse rights. TikHub's terms state that accessed content may carry third-party intellectual property rights.

