[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [TikTok TikToks using Song](https://spiral.ai/integrations/opencode/tiktok-tiktoks-using-song)

# How to Use TikTok TikToks using Song in opencode

Returns TikTok videos using a specific sound, with captions, author details, media information, and engagement counts. Use it to compare posts attached to that sound and research caption themes or campaign participation.

|  |  |
| --- | --- |
| Model | TikTok TikToks using Song |
| 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 TikToks using Song in opencode

- Use TikTok videos using a sound for 7439295283975702544 and add a table to this project's dashboard with video links, captions, views, likes, comments, and shares.
- Use TikTok videos using a sound for 7370375686554782506, fetch up to three pages, and export distinct video IDs, captions, posting times, and engagement counts to CSV.
- Use TikTok videos using a sound for 7439295283975702544 and add a report that ranks returned posts by shares per 1,000 views, excluding records with zero views.
- Use TikTok videos using a sound for 7370375686554782506 and compare the returned video IDs with this project's approved campaign list. Show matched posts and their engagement counts.
- Use TikTok videos using a sound for 7439295283975702544 and build a caption-theme report in this repository, with supporting video links for each theme.

## How to set up TikTok TikToks using Song in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

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

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 TikToks using Song**: 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-song-videos",
    "input": {
      "clipId": "7439295283975702544"
    }
  }'
```

Then paste one of the prompts above: opencode finds TikTok TikToks using Song on Spiral, shows the price and runs it.

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

## TikTok TikToks using Song tools and prices

- [TikTok · TikToks using Song](https://spiral.ai/tools/scrapecreators/scrapecreators/tiktok-song-videos) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| clipId |  | — | This is clipId. Can be found on a url like so: https://www.tiktok.com/music/That%27s-Who-I-Praise-7370375686554782506, where 7370375686554782506 is the clipId |
| cursor |  | — | The cursor to get the next page of results. |

## What can you do with TikTok TikToks using Song in opencode?

Build a sound report that lists TikTok posts alongside captions and engagement counts. A coding agent can add pagination, match video IDs across collections, and calculate comparisons in your project's reporting code.

### Review campaign participation

Collect posts attached to a campaign sound and match their video IDs against an approved list of public brand and creator posts. Report matches within the collected results.

### Compare engagement within a sound

Rank returned videos by views, likes, comments, or shares to choose examples for a music team's performance review.

### Research caption themes

Group captions and hashtags from videos using a sound. Use the recurring themes to prepare a creative brief with links to supporting posts.

### Find brand mentions in sound usage

Search returned captions for a brand or product name and review the matching posts with their engagement counts.

### Measure changes in observed posts

Compare repeated collections by video ID to identify newly encountered posts and engagement changes on posts seen before.

### Prepare a label's weekly sound report

Summarize the collected videos for a release's selected sound, including leading posts, caption themes, and the number of distinct videos reviewed.

## Overview

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

## TikTok TikToks using Song in other agents

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

## More opencode guides

- [TikTok Search by Hashtag](https://spiral.ai/integrations/opencode/tiktok-search-by-hashtag)
- [TikTok Top Ads Spotlight](https://spiral.ai/integrations/opencode/tiktok-top-ads-spotlight)
- [TikTok Search Users](https://spiral.ai/integrations/opencode/tiktok-search-users)
- [TikTok account LIVE details](https://spiral.ai/integrations/opencode/tiktok-account-live-details)
- [TikTok Search Suggestions ScrapeCreators](https://spiral.ai/integrations/opencode/tiktok-search-suggestions-scrapecreators)
- [TikTok account country](https://spiral.ai/integrations/opencode/tiktok-account-country)

## Questions about TikTok TikToks using Song in opencode

**Can opencode use TikTok TikToks using Song?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok TikToks using Song like any built-in tool.

**How much does TikTok TikToks using Song cost in opencode?**

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

**Do I need a ScrapeCreators account to use TikTok TikToks using Song in opencode?**

No. Spiral runs TikTok TikToks using Song 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 TikToks using Song in opencode?**

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

**Does opencode wait while TikTok TikToks using Song runs?**

TikTok TikToks using Song runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does this cover every upload of a song?**

The lookup covers videos associated with one TikTok sound. Keep the report scoped to that sound rather than presenting it as every use of the song across TikTok.

**How many videos does one request return?**

ScrapeCreators observed 13 videos on one page and 12 on the next in its October 23, 2026 test. Both pages indicated more results, so those numbers are examples rather than a fixed page-size guarantee; additional results use cursor pagination.

**Which engagement numbers are available?**

The documented video records include views, likes, comments, and shares. These are video-level counts, which let you compare returned posts using the same sound.

**How fresh is the data?**

ScrapeCreators says live TikTok requests fetch the latest information available at request time. Its homepage also distinguishes live source retrieval on cache misses from cached responses.

**Can it retrieve private TikTok content?**

ScrapeCreators describes its source data as publicly available. Plan sound research around public posts rather than private account content.

