Skip to main content
Glama

Douyin Scraper - Profiles, Videos, Comments and Trending

Douyin Profiles, Videos, Comments & Trending

get_douyin_data
Read-onlyIdempotent

Douyin (Chinese TikTok) without login: creator profiles with their latest posts (date filter, no-watermark video links), video stats with paginated comments and bullet comments (danmaku), videos that use a sound, the five hot-search boards with each topic's lead video, and creator search by keyword. Clean English fields. Use for Douyin (Chinese TikTok) creators and videos; for Bilibili use search_bilibili. Returns {items: [...]} with one object per result, for example: {"type":"video","source":"profile","rank":1,"awemeId":"7709904111285587242","url":"https://www.douyin.com/video/7709904111285587242","description":"...","author":"人民日报","likes":230830,"comments":100,"shares":2578,"favorites":5325,"durationSec":24,"publishedAt":"2026-11-19T15:25:48Z","status":"ok"} Cost: pay per result with an Apify token (prices on apify.com/pomlabs), or US$ 0.05 per call with x402 (up to 100 results of 1 query). Read-only: it only reads public data.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>"
    },
    "name": "get_douyin_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesDouyin profile link, video link or id, v.douyin.com share link, sound link (douyin.com/music/<id>), trending, or a keyword (creator search). Comma-separate several (max 3).
maxNoPosts per profile, videos per sound, trends or creators (1-100, default 30).
daysNoFor profiles: only posts from the last N days.
sinceNoFor profiles: only posts published on or after this date (YYYY-MM-DD).
boardsNoFor trending: hot, entertainment, society, seeding (product picks), challenge; comma-separate several (default hot).
danmakuNoFor video links: how many on-screen bullet comments (弹幕), each with the second it appears at (0-500, default 0).
relatedNoFor video links: also the related videos.
commentsNoFor video links: how many comments (0-200, default 0).
no_pinnedNoFor profiles: skip pinned posts.
trend_videosNoFor trending: also the video Douyin opens for each topic, with full stats.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: no login required, English-normalized fields, and a two-path cost model (pay-per-result with an Apify token, or US$ 0.05/call via x402 capped at 100 results of one query), which directly affects how an agent should call it. It stops short of disclosing failure modes, rate limits, or what partial results look like when a source is unavailable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence front-loads the full capability list, and the platform-routing and cost statements follow in a logical order. The embedded example result object is long but earns its place because no output schema exists; the sentinel-capability enumeration is dense but not redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, no output schema, and a multi-mode tool, the definition covers modes, routing, cost, and an example return object, which is close to sufficient. What is missing is any statement about result paging behavior across modes or how partial/failed sub-results surface (the example's "status":"ok" hints at this but is unexplained).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every one of the 10 parameters already carries its own explanation and the baseline is 3. The description's parameter-related phrases ("date filter," "no-watermark video links," "paginated comments and bullet comments") echo the schema rather than adding syntax, precedence, or interaction rules beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb set and resource set: creator profiles with latest posts, video stats with paginated comments and danmaku, videos using a sound, five hot-search boards with lead videos, and creator search by keyword. It also explicitly distinguishes the platform from a sibling ("for Bilibili use search_bilibili"), so an agent can route between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use for Douyin (Chinese TikTok) creators and videos; for Bilibili use search_bilibili" gives a clear selection rule against the most plausible alternative. The description does not say what to do when a query spans platforms, nor does it give any when-not conditions (e.g., private accounts, login-required content), so the guidance is clear but not exhaustive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.