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

VS Code · Social Media

How to Use TikTok Live Info in VS Code

Returns a TikTok LIVE room's title, status, likes, viewer count, cover image, and owner details. Use it to summarize a known broadcast or compare room snapshots during a public brand livestream.

Prompts to try with TikTok Live Info in VS Code

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

Use TikTok LIVE room details for @duolingo's current broadcast, if available, and add its title and counts to this project's dashboard.

TikTok Live InfoVS Code
Try asking
  • Use TikTok LIVE room details for @nike's current broadcast, if available, and save the returned room snapshot as JSON in this project.

  • Use TikTok LIVE room details for @ryanair's current broadcast, if available, and render its cover image and title in the existing broadcast component.

  • Use TikTok LIVE room details for @nasa's current broadcast, if available, and add the returned owner identity to this project's event view.

  • Use TikTok LIVE room details for @duolingo's current broadcast, if available, and compare its counts with this project's last saved snapshot of that room.

How to set up TikTok Live Info in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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.

    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 Info

    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": "scrapecreators",
        "model": "scrapecreators/tiktok-live",
        "input": {
          "room_id": "7523685855395842871",
          "user_id": "6742945285876515845"
        }
      }'

Then paste one of the prompts above: VS Code finds TikTok Live Info on Spiral, shows the price and runs it.

TikTok Live Info providers and prices

Spiral runs TikTok Live Info through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
TikTok · Live Info
scrapecreators/tiktok-live

What can you do with TikTok Live Info in VS Code?

Build a broadcast panel showing a public brand's room title, owner, status, and reported counts. Add saved snapshots to compare observations during a campaign.

Broadcast briefing

Summarize a public brand broadcast with its room title, owner, status, and reported counts.

Campaign observation log

Save room snapshots during a sponsored livestream for a report on the observations collected.

Audience threshold alerts

Flag a public business broadcast when its reported viewer count crosses a threshold you choose.

Broadcast title review

Compare a brand's returned room title with the wording approved for its campaign.

Concurrent broadcast comparison

Compare reported likes and viewers across selected public brand rooms observed during the same period.

Broadcast identity check

Match the returned owner identity to the public brand account expected in a campaign brief.

Questions about TikTok Live Info in VS Code

Can VS Code use TikTok Live Info?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run TikTok Live Info like any built-in tool.

How much does TikTok Live Info cost in VS Code?

Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a ScrapeCreators account to use TikTok Live Info in VS Code?

No. Spiral runs TikTok Live Info on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up TikTok Live Info in VS Code?

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

Does VS Code wait while TikTok Live Info runs?

TikTok Live Info runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

What information does a TikTok LIVE room lookup return?

The documented response describes one room: its title, status, like count, viewer count, cover URL, and owner ID, username, and display name.

How fresh are the room details?

ScrapeCreators says it fetches the latest available LIVE room information when you request it. That describes a lookup at request time, rather than a promised refresh interval.

Does this include private livestream information?

The endpoint uses TikTok's public live-room source. TikTok can refuse room access with HTTP 403, so the lookup does not promise access to every broadcast.

Can I reuse TikTok LIVE data commercially?

ScrapeCreators permits commercial use and redistribution of its output, but requires users to comply with third-party terms. TikTok's US terms separately prohibit automated extraction without written approval.

Get started

Start using TikTok Live Info in VS Code

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

Paste this into VS Code:

Set up VS Code

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