Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Tiktok Search Videos

ASecurity

TikTok keyword search video scraper: input search keyword → output paginated video list with full metadata (author, engagement stats, music, video meta). Use when user mentions TikTok search scraping, search TikTok by keyword, TikTok search results, extract TikTok search data, scrape TikTok videos by keyword, TikTok keyword videos, TikTok keyword search, TikTok search results collection, find TikTok videos by topic, tiktok search scraper, tiktok keyword scraper. Also applies to market researc...

5,541 stars
0 votes
0 copies
0 views
Added 5/28/2026
ai-agentspythonbashapi

Works with

cursorapi

Security Analysis

A100/100

Scanned 5/28/2026

Install to Claude Code

$npx -y skills add browser-act/skills --skill tiktok-search-videos --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tiktok Search Videos?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Tiktok Search Videos
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/browser-act-tiktok-search-videos/badge)](https://www.skillsdirectory.com/skills/browser-act-tiktok-search-videos)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: tiktok-search-videos
description: "TikTok keyword search video scraper: input search keyword → output paginated video list with full metadata (author, engagement stats, music, video meta). Use when user mentions TikTok search scraping, search TikTok by keyword, TikTok search results, extract TikTok search data, scrape TikTok videos by keyword, TikTok keyword videos, TikTok keyword search, TikTok search results collection, find TikTok videos by topic, tiktok search scraper, tiktok keyword scraper. Also applies to market research on TikTok content for specific topics, competitor content monitoring, or discovering videos and creators around a keyword."
---

# TikTok — Search Videos

> search keyword → paginated video list with author, engagement, music, and video metadata

## Language

All process output to user (progress updates, process notifications) follows the user's language.

## Objective

Extract TikTok video search results for a given keyword using the `/api/search/item/full/` endpoint triggered by navigating to the search results page.

## Prerequisites

- Browser is open and can access `https://www.tiktok.com`
- **Login required**: TikTok blocks video search API for non-logged-in users; ensure the browser has an active TikTok session

## Pre-execution Checks

### 1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke `browser-act` via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

## Capability Components

> This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. JS code is encapsulated in Python files under the `scripts/` directory, invoked via `eval "$(python scripts/xxx.py {params})"`. `$(...)` is bash syntax; it is recommended to use the bash tool for execution.

### Network Capture: Search video results (parameters injected via URL navigation)

`/api/search/item/full/` requires TikTok's dynamic signing; navigate to the search page to trigger it automatically:

1. `navigate https://www.tiktok.com/search/video?q={keyword}`
2. `wait stable`
3. `network requests --type xhr,fetch --filter "search/item/full"`
4. `network request <id>`

Endpoint characteristic: URL contains `/api/search/item/full/` with `keyword={keyword}&cursor=0`

Error handling: If no matching request appears after navigation, take a `screenshot` to verify the page loaded correctly (check for anti-bot challenge), then retry once.

Output example:
```json
{
  "status_code": 0,
  "cursor": "12",    // use to identify next-page requests
  "has_more": 1,     // 0 when all results exhausted
  "item_list": [
    {
      "id": "7212410220977392938",
      "desc": "Daily Push Up Workout🚀#fitness #athlete",
      "createTime": 1679270124,
      "isAd": false,
      "locationCreated": "US",
      "author": {
        "uniqueId": "marcusriosofficial",
        "nickname": "Marcus Rios",
        "verified": false,
        "signature": "Former NFL Athlete 🏈",
        "avatarThumb": "https://...",
        "privateAccount": false
      },
      "authorStats": {
        "followerCount": 423500,
        "followingCount": 50,
        "heart": 10000000,
        "videoCount": 1277,
        "diggCount": 869
      },
      "stats": {
        "diggCount": 367500,
        "shareCount": 6041,
        "playCount": 4500000,
        "commentCount": 942,
        "collectCount": 56691
      },
      "video": {
        "duration": 48,
        "height": 1280,
        "width": 720,
        "cover": "https://...",
        "definition": "720p",
        "format": "mp4"
      },
      "music": {
        "id": "7176546707423889410",
        "title": "Trap Money so Big (Remix)",
        "authorName": "Iqbal12",
        "original": false,
        "coverMedium": "https://..."
      },
      "textExtra": [{"hashtagId": "9261", "hashtagName": "fitness"}],
      "effectStickers": []
    }
  ]
}
```

To build the `webVideoUrl` for each item: `https://www.tiktok.com/@{item.author.uniqueId}/video/{item.id}`

### Network Capture: Search results pagination (page 2+)

After reading page 1, scroll down to load the next page:

1. `scroll down`
2. `wait stable`
3. `network requests --type xhr,fetch --filter "search/item/full"`
4. Find the request where the URL `cursor` value is higher than the previous page (e.g., `cursor=12`, `cursor=24`)
5. `network request <id>`

Termination: `has_more` is `0` in response, or `item_list` is empty.

## Pagination

**DOM Pagination**: Scroll triggers new `search/item/full` requests. Each page returns 12 items. Cursor increments by 12 per page. Termination: `has_more === 0` or empty `item_list`.

## Success Criteria

`item_list.length >= 1` and first item has non-null `id`, `stats.playCount`, `author.uniqueId`

## Known Limitations

- `search/item/full` requires dynamic signing — always use navigate + network capture
- **Login required**: TikTok blocks the video search API for non-logged-in users — `search/item/full` will not be triggered without an active TikTok session; exploration was done on a logged-in browser and this dependency was not caught at the time
- Search returns ~12 videos per page (fewer than hashtag's 30 per page)
- Logged-in users may see personalized results; use a fresh browser session for unbiased results
- `searchQuery` field is not returned in the raw API response body

## Execution Efficiency

- **Batch orchestration**: Loop multiple keywords serially in one session; add 2–3s between navigations.
- **Test before batch execution**: Test with 1 keyword first before running the full list.
- **Error resumption**: Save results keyword-by-keyword; resume from the failed keyword on error.

## Experience Notes

Path: `{working-directory}/browser-act-skill-forge-memories/tiktok-scraper-tiktok-search-videos.memory.md`

**Before execution**: If the file exists, read it first — it records unexpected situations from past executions; adjust strategy accordingly.

**After execution**: If an unexpected situation occurs (strategy failed, page redesigned, anti-scraping upgraded), append a line:
`{YYYY-MM-DD}: {what happened} → {conclusion}`

Normal execution does not write to the file.

Attribution

browser-actbrowser-act
View sourceMore from browser-act →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →