[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [TikTok liked videos](https://spiral.ai/integrations/muse-code/tiktok-liked-videos)

# How to Use TikTok liked videos in Muse Code

Returns videos liked by a TikTok account whose likes list is public. Use it to research a brand's public content selections; retrieval uses a fixed page size of 20.

|  |  |
| --- | --- |
| Model | TikTok liked 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 liked videos in Muse Code

- Use TikTok liked videos to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok liked videos and tell me what changed since last week.
- Check TikTok liked videos and summarize what you find in three bullet points.
- Pull the newest data from TikTok liked videos and give me the result as a table.
- Check TikTok liked videos every morning and tell me only when something changed.

## How to set up TikTok liked videos in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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 liked 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-user-like",
    "input": {
      "secUid": "MS4wLjABAAAAq1iRXNduFZpY301UkVpJ1eQT60_NiWS9QQSeNqmNQEDJp0pOF8cpleNEdiJx5_IU"
    }
  }'
```

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

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

## TikTok liked videos tools and prices

- [TikTok Web · Get user likes](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-fetch-user-like) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| count |  | 20 | Number per page |
| cursor |  | 0 | Page cursor |
| coverFormat |  | 2 | Cover format |
| post_item_list_request_type |  | 0 | Sort type |

## What can you do with TikTok liked videos in Muse 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.

### 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.

### Find public collaboration candidates

Review business and creator accounts appearing in a brand's follower and following lists, plus its publicly liked content. Use guest sessions where supported during collection, then prepare a shortlist for manual editorial review.

### Prepare a creator event briefing

Collect a public creator's LIVE details and room information alongside publicly liked content and business or creator account connections. Give an event producer concrete material for interview questions and collaboration research.

### Create a brand content reference list

Use a brand's public likes and following list to find content and accounts worth reviewing. Add public business or creator accounts from its followers, keeping the reference list focused on published work.

## Overview

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

## TikTok liked videos in other agents

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

## More Muse Code guides

- [TikTok keyword videos](https://spiral.ai/integrations/muse-code/tiktok-keyword-videos)
- [TikTok live audience rankings](https://spiral.ai/integrations/muse-code/tiktok-live-audience-rankings)
- [TikTok keyword search link](https://spiral.ai/integrations/muse-code/tiktok-keyword-search-link)
- [TikTok live daily rankings](https://spiral.ai/integrations/muse-code/tiktok-live-daily-rankings)
- [TikTok keyword search](https://spiral.ai/integrations/muse-code/tiktok-keyword-search)
- [TikTok live product list](https://spiral.ai/integrations/muse-code/tiktok-live-product-list)

## Questions about TikTok liked videos in Muse Code

**Can Muse Code use TikTok liked videos?**

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

**How much does TikTok liked videos cost in Muse 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 Muse Code plan is separate.

**Do I need a TikHub account to use TikTok liked videos in Muse Code?**

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

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while TikTok liked videos runs?**

TikTok liked videos runs in the background. Muse 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.

