[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [TikTok video download and details](https://spiral.ai/integrations/codex/tiktok-video-download-and-details)

# How to Use TikTok video download and details in Codex

Fetch a public TikTok video's media, caption, engagement counts, author, and music details from its link. Use it to review a specific post or refresh campaign results without searching a creator's feed.

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

## Prompts to try with TikTok video download and details in Codex

- Use TikTok video download and details for https://www.tiktok.com/@stoolpresidente/video/7463250363559218474 and add its caption and engagement counts to this project's campaign report.
- Use TikTok video download and details for https://www.tiktok.com/@stoolpresidente/video/7499229683859426602 and create a CSV row with the post link, caption, plays, likes, comments, shares, and saves.
- Use TikTok video download and details for https://www.tiktok.com/@stoolpresidente/video/7463250363559218474 and add its returned music information to the project's creative research notes.
- Use TikTok video download and details for https://www.tiktok.com/@stoolpresidente/video/7499229683859426602 and compare the returned caption with the approved wording in this project's campaign brief.
- Use TikTok video download and details for https://www.tiktok.com/@stoolpresidente/video/7463250363559218474 and show the returned media links and watermark status in the project's post review screen.

## How to set up TikTok video download and details in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 video download and 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": "scrapecreators",
    "model": "scrapecreators/tiktok-video",
    "input": {
      "url": "https://www.tiktok.com/@user/video/7517114944362499342"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/codex

## TikTok video download and details tools and prices

- [TikTok video download](https://spiral.ai/tools/scrapecreators/scrapecreators/tiktok-video) (ScrapeCreators): Up to $0.0013 per run.

## What can you do with TikTok video download and details in Codex?

Build a campaign report that joins TikTok post captions with plays, likes, shares, and saves. A coding agent can connect returned post records to the project's existing reporting files.

### Campaign post reporting

Refresh known campaign links and put plays, likes, comments, shares, and saves into a post-level results table.

### Creative review briefs

Bring a public brand or creator post's caption, media, and music details into a brief for a creative reviewer.

### Engagement change alerts

Compare repeated observations of selected public campaign posts and flag increases in shares or saves.

### Caption checks

Compare a published brand post's description against approved campaign wording, preserving available line breaks for review.

### Music reference lists

Collect the music information attached to selected public posts for a campaign research sheet.

### Campaign record reconciliation

Look up known post links directly when a creator's feed omits them, and retain the previous record after a failed lookup.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Codex guides](https://spiral.ai/integrations/codex)

## TikTok video download and details in other agents

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

## More Codex guides

- [TikTok video details with region from a share link](https://spiral.ai/integrations/codex/tiktok-video-details-with-region-from-a-share-link)
- [TikTok video metadata](https://spiral.ai/integrations/codex/tiktok-video-metadata)
- [TikTok video details from a share link](https://spiral.ai/integrations/codex/tiktok-video-details-from-a-share-link)
- [TikTok video metrics](https://spiral.ai/integrations/codex/tiktok-video-metrics)
- [TikTok video details by country](https://spiral.ai/integrations/codex/tiktok-video-details-by-country)
- [TikTok video search](https://spiral.ai/integrations/codex/tiktok-video-search)

## Questions about TikTok video download and details in Codex

**Can Codex use TikTok video download and details?**

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

**How much does TikTok video download and details cost in Codex?**

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 Codex plan is separate.

**Do I need a ScrapeCreators account to use TikTok video download and details in Codex?**

No. Spiral runs TikTok video download and details 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 video download and details in Codex?**

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

**Does Codex wait while TikTok video download and details runs?**

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

**Does this retrieve a creator's entire TikTok feed?**

It retrieves one public video or slideshow by its link. A creator's feed is a separate resource, and a known post can still be retrievable even when that feed omits it.

**Which TikTok engagement numbers are returned?**

The documented response includes plays, likes, comment count, shares, and saves. The comment count is a counter, not the text of those comments.

**Are the engagement counts always newly collected?**

A cached response contains counts from an earlier scrape. Its cached_at timestamp tells you when that copy was collected.

**Does an unavailable TikTok link mean the post was deleted?**

One failed lookup is insufficient evidence of deletion. ScrapeCreators documents cases where a country-blocked TikTok web page still yielded public metadata through the video lookup.

**Is a download without a watermark guaranteed?**

No. TikTok must return a suitable download URL, or a playback URL explicitly marked as having no watermark.

