[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [TikTok LIVE room ID](https://spiral.ai/integrations/muse-code/tiktok-live-room-id)

# How to Use TikTok LIVE room ID in Muse Code

Extracts a TikTok LIVE room ID from a short or full LIVE link. Use it to identify the room referenced in a public broadcast brief.

|  |  |
| --- | --- |
| Model | TikTok LIVE room ID |
| 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 LIVE room ID in Muse Code

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

## How to set up TikTok LIVE room ID 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 LIVE room ID**: 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-get-live-room-id",
    "input": {
      "live_room_url": "https://www.tiktok.com/@maksukaracun/live"
    }
  }'
```

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

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

## TikTok LIVE room ID tools and prices

- [TikTok Web · Extract live room ID from live room link](https://spiral.ai/tools/tikhub/tikhub/tiktok-web-get-live-room-id) (TikHub): $0.0013 per request.

## What can you do with TikTok LIVE room ID in Muse Code?

Build a TikTok research importer that handles content lists and identifier responses correctly. A coding agent can inspect actual responses, adapt your project's parsers, and keep account, video, collection, and LIVE room records distinct.

### Resolve links in a campaign brief

Convert public creator profile links, individual video links, and LIVE links into their corresponding TikTok identifiers for an internal campaign record.

### Create TikTok response fixtures

Collect actual responses for an internal parser test suite: account profiles, content lists, extracted identifiers, generated email hashes, and web device ID responses.

### Debug a TikTok data importer

Inspect the actual response at each failing stage: link resolution, hash generation, web device ID generation, profile retrieval, or content-list retrieval. Use those responses to locate the parser or identifier mismatch.

### Prepare identifiers for request development

Generate email hashes and web device IDs for internal TikTok request experiments. Resolve public profile, video, and LIVE links into the corresponding account, video, and room identifiers.

### Build an internal TikTok identifier inspector

Give developers a place to inspect generated email hashes, web device ID responses, and identifiers extracted from public account, video, or LIVE links.

## Overview

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

## TikTok LIVE room ID in other agents

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

## More Muse Code guides

- [TikTok LIVE messaging parameters](https://spiral.ai/integrations/muse-code/tiktok-live-messaging-parameters)
- [TikTok LIVE room lookup](https://spiral.ai/integrations/muse-code/tiktok-live-room-lookup)
- [TikTok LIVE gift catalog](https://spiral.ai/integrations/muse-code/tiktok-live-gift-catalog)
- [TikTok LIVE room status](https://spiral.ai/integrations/muse-code/tiktok-live-room-status)
- [TikTok LIVE categories](https://spiral.ai/integrations/muse-code/tiktok-live-categories)
- [TikTok LIVE room status in bulk](https://spiral.ai/integrations/muse-code/tiktok-live-room-status-in-bulk)

## Questions about TikTok LIVE room ID in Muse Code

**Can Muse Code use TikTok LIVE room ID?**

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

**How much does TikTok LIVE room ID 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 LIVE room ID in Muse Code?**

No. Spiral runs TikTok LIVE room ID 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 LIVE room ID 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 LIVE room ID runs?**

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

**Can TikHub retrieve private TikTok content?**

TikHub states that it accesses only publicly available data. Its documented scope excludes private, restricted, and password-protected content.

**Does TikHub guarantee that TikTok data is complete and current?**

TikHub disclaims guarantees of data accuracy, completeness, reliability, and timeliness. A returned content list therefore carries no guarantee of complete historical coverage or immediate updates.

**How many TikTok posts can one page contain?**

TikTok creator posts returns up to 15 posts per page, ordered newest first. The deprecated sorting setting does not change that order.

**Can I request larger pages of TikTok reposts?**

TikTok creator reposts uses a fixed page size of 20. TikHub explicitly says that this size cannot be changed.

**What use does TikHub's license permit?**

TikHub's service license specifies lawful internal business purposes. TikTok's U.S. terms separately prohibit automated scripts that collect information from or interact with its services.

