TikTok

TikTok Comments API

TikTok comments — clean schema plus authorName, stable authorId/authorSecUid and commentLanguage for listening loops.

Paste a public TikTok video URL and get comments as clean JSON (not TikTok's 40+ junk user fields). Each comment keeps username (author) + display name (authorName) + avatar, and adds stable authorId (uid) and authorSecUid for repeat-commenter detection, plus commentLanguage for market listening without a separate language detector. replyCount when TikTok exposes it. totalComments + cursor pagination (nextCursor/hasMore — hasMore is always a boolean; a null nextCursor means the end of the comments). An unresolvable URL is 404 at 0 credits — never a 200 with a synthesised row. Same rule as Post Analytics and as /tiktok/video-details on the same URL. When TikTok blocks the comment fetch the call is 503 UPSTREAM_UNAVAILABLE at 0 credits — retry shortly. Flat 2 credits per successful call. Need replies? Use TikTok Comment Replies with the parent comment id.

Docs: https://captapi.com/apis/tiktok-comments

get/v1/tiktok/comments

Request

  • Base URL: https://api.captapi.com
  • URL: https://api.captapi.com/v1/tiktok/comments
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Query parameters

urlstring required

Public TikTok video URL, e.g. https://www.tiktok.com/@khaby.lame/video/7646812028874673439. Not a YouTube/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble.

limitinteger

Max items to return (default 50, max 500). Flat 2 credits per call.

cursorstring

Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response (a numeric offset, e.g. 50). A null nextCursor means the end of the comments.

cacheboolean

Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh.

Response

Success. The data object for this endpoint.

successunknown required

Changes

No recorded changes to this operation across all 3 revisions of this API.