[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [TikTok live room status batch](https://spiral.ai/integrations/codex/tiktok-live-room-status-batch)

# How to Use TikTok live room status batch in Codex

Returns online status for each of up to 50 TikTok LIVE rooms in one call. Use it to check a roster of public brand or creator broadcasts together.

|  |  |
| --- | --- |
| Model | TikTok live room status batch |
| Available through | TikHub |
| Category | Social Media |
| Price | $0.013 per request. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with TikTok live room status batch in Codex

- Use TikTok live room status batch for the current rooms behind https://www.tiktok.com/@qvc/live and https://www.tiktok.com/@elfyeah/live, resolving their IDs first, and render a status row for each in this project.
- Use TikTok live room status batch to check the current rooms for @qvc and @tartecosmetics after resolving their public LIVE links, then add the results to our internal launch checklist.
- Use TikTok live room status batch 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 status batch and tell me what changed since last week.
- Check TikTok live room status batch and summarize what you find in three bullet points.

## How to set up TikTok live room status batch in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

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

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

1. **Send Codex 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 status batch**: 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-check-live-room-online-batch",
    "input": {
      "room_ids": [
        "7494491933781003054",
        "7494514925034113835",
        "7494520590523517739"
      ]
    }
  }'
```

Then paste one of the prompts above: Codex finds TikTok live room status batch on Spiral, shows the price and runs it.

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

## TikTok live room status batch tools and prices

- [TikTok App · Batch check if live rooms are online](https://spiral.ai/tools/tikhub/tikhub/tiktok-app-v3-check-live-room-online-batch) (TikHub): $0.013 per request.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| room_ids |  | ["7494491933781003054","7494514925034113835","7494520590523517739"] | List of TikTok live room IDs |

## What can you do with TikTok live room status batch in Codex?

Build an internal campaign dashboard that shows whether public TikTok LIVE rooms are online. A coding agent can connect returned statuses to the project's broadcast roster and scheduled checks.

### Confirm a broadcast launch

Check a public brand room at the planned launch time so the production team can confirm whether the broadcast is online.

### Prepare a staff handoff

Give the incoming commerce or community team a list of public campaign rooms currently online.

### Build an internal broadcast board

Show the latest observed online status beside each approved brand or creator LIVE link in a campaign dashboard.

### Flag broadcasts for promotion

Identify which planned public broadcasts are online before the marketing team publishes a LIVE announcement.

### Review LIVE promotion after a broadcast

Flag campaign rooms observed offline so staff can review announcements that still invite customers to watch live.

### Compare observations with a campaign schedule

Compare status checks with planned broadcast times to identify sessions that need an operations review. Report the observed status at each check.

## Overview

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

## TikTok live room status batch in other agents

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

## More Codex guides

- [TikTok live room product list](https://spiral.ai/integrations/codex/tiktok-live-room-product-list)
- [TikTok live status](https://spiral.ai/integrations/codex/tiktok-live-status)
- [TikTok live room details](https://spiral.ai/integrations/codex/tiktok-live-room-details)
- [TikTok location search](https://spiral.ai/integrations/codex/tiktok-location-search)
- [TikTok live product list](https://spiral.ai/integrations/codex/tiktok-live-product-list)
- [TikTok music charts](https://spiral.ai/integrations/codex/tiktok-music-charts)

## Questions about TikTok live room status batch in Codex

**Can Codex use TikTok live room status batch?**

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run TikTok live room status batch like any built-in tool.

**How much does TikTok live room status batch cost in Codex?**

$0.013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

**Do I need a TikHub account to use TikTok live room status batch in Codex?**

No. Spiral runs TikTok live room status batch 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 status batch in Codex?**

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

**Does Codex wait while TikTok live room status batch runs?**

TikTok live room status batch runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

**What does a TikTok LIVE status check tell me?**

It tells you whether the specified live room is online. The batch check returns that status separately for each requested room.

**How many TikTok LIVE rooms can I check together?**

TikTok live room status checks one room. TikTok live room status batch supports up to 50 room IDs per call.

**How fresh are the status results?**

TikHub says every retrieval request returns fresh, real-time data, even when the request repeats identical parameters.

**Can these checks access private TikTok broadcasts?**

TikHub's terms exclude private, restricted, and password-protected content. These checks should be used for publicly accessible broadcasts.

**Does TikHub automatically watch rooms and send alerts?**

TikHub provides retrieval endpoints. Its FAQ says scheduling and alerting must be built on top of those endpoints.

