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

# How to Use TikTok collection videos in Claude Code

Fetch videos saved in a public TikTok collection, including captions, authors, engagement counts, and video metadata. Use it to analyze a curated selection of posts rather than a creator's full upload feed.

|  |  |
| --- | --- |
| Model | TikTok collection videos |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok collection videos in Claude Code

- Use TikTok collection videos for https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258 and build a table in this project of @miotravelapp posts, showing captions, video IDs, durations, and views.
- Use TikTok collection videos for https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258 and add a CSV export of @miotravelapp video captions and all five engagement counts.
- Use TikTok collection videos for https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258 and create a project report comparing duration, views, and saves for returned @miotravelapp posts.
- Use TikTok collection videos for https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258 and add caption search for returned @miotravelapp videos to this project's reference library.
- Use TikTok collection videos for https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258 and implement pagination in our importer, retaining @miotravelapp video IDs so repeated imports do not duplicate posts.

## How to set up TikTok collection 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 collection 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": "scrapecreators",
    "model": "scrapecreators/tiktok-collection-videos",
    "input": {
      "url": "https://www.tiktok.com/@kibblemaster808/collection/Want-to-go-7665668414573546258"
    }
  }'
```

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

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

## TikTok collection videos tools and prices

- [TikTok · Collection Videos](https://spiral.ai/tools/scrapecreators/scrapecreators/tiktok-collection-videos) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cursor |  | — | Cursor to get more videos. Use max_cursor from the previous response. |

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

Build a searchable reference library from public TikTok collections of business and creator videos. Your coding agent can turn captions, video IDs, durations, and engagement counts into project features and comparison reports.

### Build a content reference inventory

Turn a public collection of business or creator posts into a searchable inventory of video IDs, captions, authors, and durations.

### Rank a curated campaign selection

Compare views, likes, shares, and saves across campaign videos saved in a public collection. Keep the comparison scoped to those selected posts.

### Review caption themes

Group captions from collected brand videos by topic, product mention, or call to action to prepare a content planning brief.

### Plan video lengths

Compare durations and public engagement counts within a collection of creator examples to choose lengths worth testing.

### Refresh a business content reading list

Compare successive collection inventories by video ID and surface newly returned business or creator posts for editorial review.

### Compare engagement over time

Save repeated measurements of selected campaign videos and calculate changes in views, likes, shares, and saves between observations.

## Overview

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

## TikTok collection videos in other agents

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

## More Claude Code guides

- [TikTok collection contents](https://spiral.ai/integrations/claude-code/tiktok-collection-contents)
- [TikTok comment keywords](https://spiral.ai/integrations/claude-code/tiktok-comment-keywords)
- [TikTok audience countries](https://spiral.ai/integrations/claude-code/tiktok-audience-countries)
- [TikTok comment replies](https://spiral.ai/integrations/claude-code/tiktok-comment-replies)
- [TikTok ad search suggestions](https://spiral.ai/integrations/claude-code/tiktok-ad-search-suggestions)
- [TikTok connected accounts](https://spiral.ai/integrations/claude-code/tiktok-connected-accounts)

## Questions about TikTok collection videos in Claude Code

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

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

**How much does TikTok collection videos cost in Claude Code?**

Up to $0.0013 per run. 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 ScrapeCreators account to use TikTok collection videos in Claude Code?**

No. Spiral runs TikTok collection videos on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

**How long does it take to set up TikTok collection videos in Claude Code?**

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

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

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

**Which TikTok videos does this retrieve?**

It retrieves videos saved in a public TikTok collection. Its coverage is the selected collection, rather than every upload from an account.

**Can a collection require multiple requests?**

Yes. The response includes a continuation value and an indication of whether more results remain; use that continuation to retrieve additional pages.

**Which engagement counts are returned?**

The documented response includes five counts for each video: views, likes, comments, shares, and saves.

**What information comes with each video?**

The documented objects include the caption, author identifiers, creation timestamp, and video ID. Video metadata includes duration, image dimensions, and a cover image URL.

**Does access to public collection data include permission to reuse it?**

ScrapeCreators permits commercial reuse and redistribution under its own terms, while leaving source terms and legal compliance to the user. TikTok's US terms separately prohibit automated scripts that collect information from its services.

