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

Codex · Social Media

How to Use TikTok comment replies in Codex

Returns replies to a selected comment on a TikTok video. Use it to understand the discussion beneath a question or claim after finding the original comment.

Prompts to try with TikTok comment replies in Codex

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

Use TikTok comment replies to look this up and give me the result as a table. Save the result in ./assets.

TikTok comment repliesCodex
Try asking
  • Pull the latest numbers from TikTok comment replies and tell me what changed since last week.

  • Check TikTok comment replies and summarize what you find in three bullet points.

  • Pull the newest data from TikTok comment replies and give me the result as a table.

  • Check TikTok comment replies every morning and tell me only when something changed.

How to set up TikTok comment replies 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 comment replies

    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-web-fetch-post-comment-reply",
        "input": {
          "item_id": "7304809083817774382",
          "comment_id": "7304877760886588191"
        }
      }'

Then paste one of the prompts above: Codex finds TikTok comment replies on Spiral, shows the price and runs it.

TikTok comment replies providers and prices

Spiral runs TikTok comment replies through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Web · Get video comment replies
tikhub/tiktok-web-fetch-post-comment-reply

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Counta whole number20

Number per page

Cursora whole number0

Page cursor

Every API field of TikTok Web · Get video comment replies is on its tool page: open its card above.

What can you do with TikTok comment replies in Codex?

Build an internal TikTok research view that turns returned categories, search matches, or post data into reviewable records. A coding agent can add the selected data to your project’s existing reports and interfaces.

Review a published campaign video

Inspect a brand video and its metadata, read TikTok’s AI overview when available, and summarize audience comments with relevant reply threads for an internal campaign review.

Turn product questions into a help article

Review an owned product demonstration, its metadata, and its AI article. Group questions from comments and replies into a draft help article that answers what viewers actually asked.

Organize an internal video reference library

Describe selected public brand videos using post data, media review, and available AI articles. Add topic labels drawn from audience comments and replies so editors can find examples by question.

Outline a follow-up tutorial

Review a public tutorial’s media, metadata, and AI article, then inspect comments and replies for confusing steps. Draft a follow-up outline tied to the questions found.

Questions about TikTok comment replies in Codex

Can Codex use TikTok comment replies?

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

How much does TikTok comment replies 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 comment replies in Codex?

No. Spiral runs TikTok comment replies 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 comment replies in Codex?

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

Does Codex wait while TikTok comment replies runs?

TikTok comment replies runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Can this data include private TikTok content?

TikHub says it accesses only publicly available data. Private or restricted content falls outside that stated coverage.

Is the TikTok data guaranteed to be complete and current?

TikHub expressly disclaims guarantees about data accuracy, completeness, reliability, and timeliness. A successful response does not establish complete TikTok coverage.

Why can TikTok discovery results differ between searches?

TikTok says search results and suggested terms can depend on previous interactions, language, location, and how well content matches the query. Results should therefore be read as a discovery view rather than a platform-wide ranking.

Does public TikTok content show every audience comment?

No. TikTok lets creators filter all comments, keeping them hidden until approved, so visible discussions can exclude submitted feedback.

Does access grant permission to republish TikTok content?

TikHub’s terms say retrieved content may remain subject to third-party intellectual property rights. Data access alone does not establish republication rights.

Get started

Start using TikTok comment replies 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