Spiral gives your agent every tool with one account. Browse the tools →

Codex · Social Media

How to Use TikTok LIVE account information in Codex

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.

Prompts to try with TikTok LIVE account information in Codex

Copy an example into Codex, or ask in your own words.

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.

TikTok LIVE account informationCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    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.

    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.

    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.

    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: Codex finds TikTok LIVE account information on Spiral, shows the price and runs it.

TikTok LIVE account information providers and prices

Spiral runs TikTok LIVE account information through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok App · Get information of specified Webcast user
tikhub/tiktok-app-v3-fetch-webcast-user-info

What can you do with TikTok LIVE account information in Codex?

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.

Questions about TikTok LIVE account information in Codex

Can Codex use TikTok LIVE account information?

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

How much does TikTok LIVE account information cost in Codex?

$0.0013 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 account information in Codex?

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 Codex?

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

Does Codex wait while TikTok LIVE account information runs?

TikTok LIVE account information runs in the background. Codex 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.

Get started

Start using TikTok LIVE account information in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options