TikTok

Get the comments on a TikTok video

Fetch comments on one TikTok video: username, text, create_time, like_count, reply_count and parent_comment_id for replies.

Give exactly one of url or id to identify the video.

Costs 3 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/tiktok/comments

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/tiktok/comments
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

urlstring

The video URL, https://www.tiktok.com/@…/video/…. A short vm.tiktok.com link is not read: open it, and copy the address it leads to.

idstring
Example:7301234567890123456

The numeric video id.

limitinteger

At most this many results, 1–50. A page can hold fewer while next_cursor is set: read until it is null.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.