[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [TikTok LIVE account information](https://spiral.ai/integrations/opencode/tiktok-live-account-information)

# How to Use TikTok LIVE account information in opencode

Returns information about a specified TikTok account through the Webcast service. Use it to research a public broadcaster's account alongside its videos and discussions.

|  |  |
| --- | --- |
| Model | TikTok LIVE account information |
| 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 account information in opencode

- Use TikTok username to account IDs for @redbull, then TikTok LIVE account information for the resolved account; add the returned account data to this project's research view.
- Use TikTok LIVE account information to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from TikTok LIVE account information and tell me what changed since last week.
- Check TikTok LIVE account information and summarize what you find in three bullet points.
- Pull the newest data from TikTok LIVE account information and give me the result as a table.

## How to set up TikTok LIVE account information 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 LIVE account information**: 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-app-v3-fetch-webcast-user-info",
    "input": {
      "user_id": ""
    }
  }'
```

Then paste one of the prompts above: opencode finds TikTok LIVE account information on Spiral, shows the price and runs it.

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

## TikTok LIVE account information tools and prices

- [TikTok App · Get information of specified Webcast user](https://spiral.ai/tools/tikhub/tikhub/tiktok-app-v3-fetch-webcast-user-info) (TikHub): $0.0013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| user_id |  |  | User uid (optional, pure number) |
| sec_user_id |  |  | User sec_user_id |

## What can you do with TikTok LIVE account information in opencode?

Build a TikTok research view that connects public videos, discussions, and business account records. Use account IDs to connect account research and keep comments separate from replies.

### Prepare a brand campaign brief

Find campaign videos, examine comments and reply threads, resolve the brand's account IDs, review its broadcaster account information, and search both relationship directions for named public business accounts.

### Build a competitor research dossier

Research a public competitor's videos and discussions, identify its account records, review its broadcaster information, and check for named business accounts in its followers and following results.

### Research a public creator partnership

Find relevant videos and audience discussions, resolve the creator's handle, inspect broadcaster account information, and search for a prospective brand in both follower and following results.

### Prepare an agency account handoff

Assemble public account identifiers, broadcaster information, campaign search results, comment discussions, and targeted searches for business accounts in the client's followers and following results.

## Overview

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

## TikTok LIVE account information in other agents

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

## More opencode guides

- [TikTok Followers](https://spiral.ai/integrations/opencode/tiktok-followers)
- [TikTok LIVE categories](https://spiral.ai/integrations/opencode/tiktok-live-categories)
- [TikTok Explore videos](https://spiral.ai/integrations/opencode/tiktok-explore-videos)
- [TikTok LIVE gift catalog](https://spiral.ai/integrations/opencode/tiktok-live-gift-catalog)
- [TikTok Creative Center creator cards](https://spiral.ai/integrations/opencode/tiktok-creative-center-creator-cards)
- [TikTok LIVE messaging parameters](https://spiral.ai/integrations/opencode/tiktok-live-messaging-parameters)

## Questions about TikTok LIVE account information in opencode

**Can opencode use TikTok LIVE account information?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run TikTok LIVE account information like any built-in tool.

**How much does TikTok LIVE account information cost in opencode?**

$0.0013 per request. 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 TikHub account to use TikTok LIVE account information in opencode?**

No. Spiral runs TikTok LIVE account information 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 account information in opencode?**

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

**Does opencode wait while TikTok LIVE account information runs?**

TikTok LIVE account information runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What TikTok data is available?**

The service returns publicly available TikTok data and is read-only. These results support research into public content and accounts.

**How many comments should I request at once?**

For comment retrieval, the documentation recommends 30 or fewer per call.

**How do I collect more video comments?**

Continue with the cursor returned by the previous response. The video-comments documentation explicitly describes this pagination method.

**What does a username lookup return?**

It returns two TikTok account identifiers: user_id and sec_user_id.

