# TikTok Comments Scraper

> TikTok Comments Scraper is a paid API for AI agents from agent-data.centorprat.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-28).

Scrapes comments and replies from TikTok videos without login, returning text, likes, dates, language, purchase-intent flags, and commenter profiles.

## Facts

- Endpoint: POST https://agent-data.centorprat.workers.dev/tools/tiktok-comments-scraper?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tiktok-comments-scraper-ef757dcf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hJ2ZFXA3h9uVaDoize1NJ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tiktok-comments-scraper-ef757dcf -d '<json body>'
```

Example prompt: Pull up to 50 comments (including replies, up to 3 replies each) from this TikTok video https://www.tiktok.com/@exampleuser/video/1234567890, and flag any comments TikTok marks as high purchase intent — also give me a free video summary.

## When to prefer this

Choose this endpoint when you need structured comment data from a specific TikTok video without requiring authentication, especially when you need purchase-intent filtering, question detection, or per-comment metadata like language and creator-liked flags. Prefer it over manual scraping or general web-fetch tools when TikTok-specific signals (purchase intent, pinned, creator-liked) are important to your workflow.

## Known failure modes

- Video not found or deleted — lookup fails but is not charged
- Invalid or malformed TikTok URL / video ID — returns error
- Video is private or restricted — comments unavailable
- Rate limits or TikTok anti-scrape measures may cause partial results
- maxCommentsPerVideo exceeds 100 — validation error
- maxRepliesPerComment exceeds 5 — validation error

## How this service works

Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.

## Output

Returns a list of comment objects per video, each containing comment text, like count, reply count, date, detected language, pinned/creator-liked/purchase-intent/question boolean flags, and commenter username and profile link. Optionally includes replies nested under each comment. A free per-video summary provides total comment count, language distribution, question share, purchase-intent count, and top comments.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "videos": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 1,
   "description": "TikTok video URLs (tiktok.com/@user/video/..., vm.tiktok.com short links) or video IDs, one per line."
  },
  "videoSummary": {
   "type": "boolean",
   "description": "Free summary per video: total comments, languages, question share, purchase-intent count, top comments."
  },
  "onlyQuestions": {
   "type": "boolean",
   "description": "Keep only comments that ask something (where / how / price / link / ?)."
  },
  "includeReplies": {
   "type": "boolean",
   "description": "Also scrape replies to each comment."
  },
  "onlyPurchaseIntent": {
   "type": "boolean",
   "description": "Keep only comments TikTok flags as high purchase intent (buyers asking about a product)."
  },
  "maxCommentsPerVideo": {
   "type": "integer",
   "maximum": 100,
   "description": "Up to this many rows (comments + replies) per video."
  },
  "maxRepliesPerComment": {
   "type": "integer",
   "maximum": 5,
   "description": "When replies are on."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "text": "Tik tok arrête de supprimer les compte gacha merci",
    "type": "comment",
    "likes": 9,
    "videoId": "7106594312292453675",
    "isPinned": false,
    "language": "fr",
    "videoUrl": "https://m.tiktok.com/v/7106594312292453675.html",
    "commentId": "7106595247907537669",
    "createdAt": "2022-06-07T20:19:08+00:00",
    "isQuestion": false,
    "replyCount": 0,
    "likedByCreator": false,
    "parentCommentId": null,
    "highPurchaseIntent": false
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tiktok-comments-scraper-ef757dcf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data.centorprat.workers.dev](https://www.zero.xyz/host/agent-data.centorprat.workers.dev/llms.txt)
