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

Claude · Social Media

How to Use TikTok video ID from link in Claude

Extracts one TikTok video's ID from its link. Use it to turn a public campaign or creator video URL into an identifier for your content records.

Prompts to try with TikTok video ID from link in Claude

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

Use TikTok video ID from link for https://www.tiktok.com/@owlcitymusic/video/7218694761253735723 and give me the extracted identifier.

TikTok video ID from linkClaude
Try asking
  • Use TikTok video ID from link to look this up and give me the result as a table.

  • Pull the latest numbers from TikTok video ID from link and tell me what changed since last week.

  • Check TikTok video ID from link and summarize what you find in three bullet points.

  • Pull the newest data from TikTok video ID from link and give me the result as a table.

How to set up TikTok video ID from link in Claude

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

Use the Claude connector

  1. Add Spiral to Claude

    Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

    https://api.spiral.ai/mcp
  2. Keep the detected sign-in and click Add

    Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

  3. Click Connect

    The connector page opens. Connect takes you to Spiral in your browser.

Use the Spiral skill

  1. Send Claude 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 video ID from link

    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-get-aweme-id",
        "input": {
          "url": "https://www.tiktok.com/@owlcitymusic/video/7218694761253735723"
        }
      }'

Then paste one of the prompts above: Claude finds TikTok video ID from link on Spiral, shows the price and runs it.

TikTok video ID from link providers and prices

Spiral runs TikTok video ID from link through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Web · Extract single video id
tikhub/tiktok-web-get-aweme-id

What can you do with TikTok video ID from link in Claude?

Prepare a TikTok brand brief from returned profile information and content lists. A chat app can compare an account's published posts, playlist organization, and reposts, or extract identifiers from links supplied in the brief.

Resolve links in a campaign brief

Convert public creator profile links, individual video links, and LIVE links into their corresponding TikTok identifiers for an internal campaign record.

Create TikTok response fixtures

Collect actual responses for an internal parser test suite: account profiles, content lists, extracted identifiers, generated email hashes, and web device ID responses.

Debug a TikTok data importer

Inspect the actual response at each failing stage: link resolution, hash generation, web device ID generation, profile retrieval, or content-list retrieval. Use those responses to locate the parser or identifier mismatch.

Prepare identifiers for request development

Generate email hashes and web device IDs for internal TikTok request experiments. Resolve public profile, video, and LIVE links into the corresponding account, video, and room identifiers.

Build an internal TikTok identifier inspector

Give developers a place to inspect generated email hashes, web device ID responses, and identifiers extracted from public account, video, or LIVE links.

Questions about TikTok video ID from link in Claude

Can Claude use TikTok video ID from link?

Yes. Add Spiral to Claude as an MCP server, and Claude can find and run TikTok video ID from link like any built-in tool.

How much does TikTok video ID from link cost in Claude?

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

Do I need a TikHub account to use TikTok video ID from link in Claude?

No. Spiral runs TikTok video ID from link 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 video ID from link in Claude?

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

Does Claude wait while TikTok video ID from link runs?

TikTok video ID from link runs in the background. Claude starts the run, checks on it and gives you the json when it's ready.

Can TikHub retrieve private TikTok content?

TikHub states that it accesses only publicly available data. Its documented scope excludes private, restricted, and password-protected content.

Does TikHub guarantee that TikTok data is complete and current?

TikHub disclaims guarantees of data accuracy, completeness, reliability, and timeliness. A returned content list therefore carries no guarantee of complete historical coverage or immediate updates.

How many TikTok posts can one page contain?

TikTok creator posts returns up to 15 posts per page, ordered newest first. The deprecated sorting setting does not change that order.

Can I request larger pages of TikTok reposts?

TikTok creator reposts uses a fixed page size of 20. TikHub explicitly says that this size cannot be changed.

What use does TikHub's license permit?

TikHub's service license specifies lawful internal business purposes. TikTok's U.S. terms separately prohibit automated scripts that collect information from or interact with its services.

Get started

Start using TikTok video ID from link in Claude

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

Paste this into Claude:

Set up Claude

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