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

# How to Use TikTok Explore videos in Muse Code

Returns video data from TikTok Explore by category. Use it to find examples within a subject area when you do not have a specific search phrase.

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

- Use TikTok Explore videos to retrieve food examples and add the actual returned video data to this project's internal review screen.
- Use TikTok Explore videos to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok Explore videos and tell me what changed since last week.
- Check TikTok Explore videos and summarize what you find in three bullet points.
- Pull the newest data from TikTok Explore videos and give me the result as a table.

## How to set up TikTok Explore 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 Explore 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-explore-post",
    "input": {
      "count": 16
    }
  }'
```

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

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

## TikTok Explore videos tools and prices

- [TikTok Web · Get explore video data](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-fetch-explore-post) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| count |  | 16 | Number per page |
| categoryType |  | 120 | Video category |

## What can you do with TikTok Explore videos in Muse Code?

Build an internal TikTok research view using discovery results, public LIVE status, messaging parameters, or gift reference data. A coding agent can work with actual responses to implement pagination, batch limits, and empty-room handling.

### Prepare a brand's content brief

Search for LEGO, review Explore examples in the relevant category, and compare them with home feed recommendations. Use the returned video data to assemble examples for an internal creative brief.

### Compare discovery routes

Compare keyword results for espresso with food Explore results and a home feed sample. Identify which examples each route surfaces without treating their combined results as a complete TikTok inventory.

### Build a recurring editorial shortlist

Collect search results for Nintendo Switch, gaming Explore results, and home feed recommendations on a recurring schedule. Keep the returned examples organized by discovery route for an editor to review.

### Review a product category before a campaign

Gather running shoe search results, sports Explore examples, and a home feed sample. Give a campaign team a concrete set of TikTok examples to examine before choosing creative concepts.

## Overview

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

## TikTok Explore videos in other agents

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

## More Muse Code guides

- [TikTok Creative Center creator cards](https://spiral.ai/integrations/muse-code/tiktok-creative-center-creator-cards)
- [TikTok Followers](https://spiral.ai/integrations/muse-code/tiktok-followers)
- [TikTok Comments](https://spiral.ai/integrations/muse-code/tiktok-comments)
- [TikTok LIVE account information](https://spiral.ai/integrations/muse-code/tiktok-live-account-information)
- [TikTok Comment Replies ScrapeCreators](https://spiral.ai/integrations/muse-code/tiktok-comment-replies-scrapecreators)
- [TikTok LIVE categories](https://spiral.ai/integrations/muse-code/tiktok-live-categories)

## Questions about TikTok Explore videos in Muse Code

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

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

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

No. Spiral runs TikTok Explore 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 Explore 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 Explore videos runs?**

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

**Can TikHub return private TikTok content?**

TikHub's privacy policy excludes private, restricted, and password-protected content from the platforms it supports.

**Is every TikTok response newly fetched?**

TikHub says it may cache and store publicly available data returned through its API. A response should therefore not be described as a guaranteed fresh read from TikTok.

**Does TikHub guarantee accurate, complete, or current TikTok data?**

No. TikHub's terms expressly disclaim a guarantee that delivered data is accurate, complete, or current.

**Does access include permission to reuse TikTok content?**

TikHub's terms require users to respect content creators' intellectual property rights. Retrieving content does not remove that requirement.

**Do TikTok discovery results represent all eligible content?**

TikTok describes its recommendation systems as selecting and ranking content from a larger eligible collection. Recommendation results are a selected view, so they should not be presented as a complete inventory.

