tiktok-video-id-fetch

Extract the 16-digit video ID from TikTok URLs.

15|8|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/AstorYH/PASB --skill tiktok-video-id-fetch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tiktok-video-id-fetch
Source: https://github.com/AstorYH/PASB/tree/main/nanobot/skills/tiktok-video-id-fetch
Command: npx skills add https://github.com/AstorYH/PASB --skill tiktok-video-id-fetch

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the process of obtaining a unique TikTok video identifier from any given TikTok URL, streamlining data collection and integration.

Core Features & Use Cases

  • URL Parsing: Accurately parses various TikTok URL formats, including short links and longer redirect URLs.
  • ID Extraction: Reliably extracts the 16-digit video ID from the URL path.
  • Use Case: When analyzing TikTok trends or building a content management system, you need the video ID to reference specific videos. This Skill automates that extraction from a list of URLs.

Quick Start

Use the tiktok-video-id-fetch skill to extract the video ID from the URL https://www.tiktok.com/@user/video/1234567890123456.

Frequently Asked Questions about tiktok-video-id-fetch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a video ID from a TikTok URL?

To extract a video ID from a TikTok URL, the Skill parses the provided link and isolates the unique 16-digit identifier. It accurately processes both short links and longer redirect URLs to return the specific ID string.

What TikTok URL formats are supported for ID extraction?

Supported TikTok URL formats for ID extraction include standard short links and longer redirect URLs containing user paths. The Skill validates these input URLs to ensure accurate parsing before isolating the video identifier.

Can I use this to extract TikTok video IDs in bulk for data collection?

You can use this to extract TikTok video IDs in bulk for data collection by automating the parsing of a URL list. This streamlines referencing specific videos when analyzing trends or building a content management system.

What happens if the TikTok URL is invalid or extraction fails?

If TikTok URL extraction fails due to an invalid input format, the Skill returns an empty string. This provides a predictable output to help you identify and handle unparseable links during data processing.

Do I need any external dependencies to parse TikTok links?

No external dependencies are needed to parse TikTok links with this Skill. It operates independently to validate input URLs and extract the 16-digit video identifier directly from the provided string.