TikTok API docs

TikTok API: Videos — Comments by post ID

Retrieve public Videos conversations from TikTok for audience monitoring, moderation, and content analysis.

Use “Comments by post ID” when you need discussion text, authors, timestamps, and sequential pagination.

Method GET
Entity Videos
Versions 2
What this endpoint does

What you can build with this API method

Review the result and common workflows first, then move to parameters and a working request example.

What this endpoint helps with

The response includes conversation items, public author data, engagement signals, and pagination fields.

When to use it

Use “Comments by post ID” when you need discussion text, authors, timestamps, and sequential pagination.

Common use cases

Conversation monitoring

Track audience reactions under content and around selected objects.

Moderation

Send public messages into review, classification, and quality-control queues.

Feedback analysis

Use discussion text and metadata in reports and audience research.

Available versions

Response version

Both versions solve the same job and accept the same parameters. Use the switch to compare the response structure and choose the version your client expects.

Response version V2

Switch versions on this page to compare response structures while keeping the same documentation URL.

What stays the same

Authentication, required parameters, and the request shape stay the same across V1 and V2. In practice, you choose the version when you build the endpoint path and when you parse the response.

What changes between versions

The main difference is the response envelope. Use V2 for new integrations and keep V1 only when you need compatibility with an existing client contract.

How to use it

How to call the method

Use the same API key header and the same query parameters for both versions. This documentation shows the shared parameter set first, then version-specific endpoint paths and code snippets.

Input parameters

Shared parameters
Parameter Required Type Example Description
media_id Yes str 25025320 Numeric ID of the Instagram post whose data you want to retrieve.
cursor No str | None QVFB... Next-page cursor returned by the previous response. Omit it for the first page.

Version-specific request path

V2

Choose a version when you copy the exact endpoint path, example URL, and code snippet. The parameter list above stays the same.

GET /api/v2/tiktok.com/videos/comments-by-media-id

Normalized format

Code examples

curl --request GET \
  --url "https://www.scrapestorm.net/api/v2/tiktok.com/videos/comments-by-media-id" \
  --header "X-API-Key: 00000000-0000-4000-8000-000000000000" \
  --get --data-urlencode 'media_id=25025320' \
  # Optional parameters:
  # --data-urlencode 'cursor=QVFB...'
Response example

Live response by version

The preview keeps key fields and the first collection items so you can scan the response shape quickly. Switching versions changes the JSON format.

Response example

V2 response JSON

Verified example

This compact JSON example comes from the latest successful verification run for V2.

{
  "success": true,
  "status": "ok",
  "pagination": {
    "cursor": "20",
    "has_more": true
  },
  "search_context": {
    "media_id": "7628619815690833183"
  },
  "data": {
    "comments": {
      "count": 20,
      "items": [
        {
          "url": null,
          "created_at": "2026-04-16T12:29:47Z",
          "comment_id": "7629333241903973142",
          "text": "Why is the \"ALLOW AI TO remix content automatically\" setting on for all videos in privacy settings?",
          "author": {
            "url": "https://www.tiktok.com/@Stylesanctuary",
            "user_id": null,
            "sec_uid": null,
            "username": "Stylesanctuary",
            "display_name": "Stylesanctuary",
            "avatar_url": "https://example.com/image.jpg",
            "avatar_urls": "https://example.com/image.jpg"
          },
          "like_count": 109,
          "reply_count": null,
          "reply_id": "0",
          "parent_comment_id": "0",
          "is_author_liked": false,
          "is_pinned": null
        },
        {
          "url": null,
          "created_at": "2026-04-17T13:21:54Z",
          "comment_id": "7629717687844832013",
          "text": "Give us a master switch off for AI remix. You can’t make us go back through everything on our page for a feature that was just added.",
          "author": {
            "url": "https://www.tiktok.com/@MalikaNgozi🇸🇩🇵🇸🇨🇩",
            "user_id": null,
            "sec_uid": null,
            "username": "MalikaNgozi🇸🇩🇵🇸🇨🇩",
            "display_name": "MalikaNgozi🇸🇩🇵🇸🇨🇩",
            "avatar_url": "https://example.com/image.jpg",
            "avatar_urls": "https://example.com/image.jpg"
          },
          "like_count": 263,
          "reply_count": 5,
          "reply_id": "0",
          "parent_comment_id": "0",
          "is_author_liked": false,
          "is_pinned": null
        },
        {
          "_more_items": 18
        }
      ]
    }
  }
}
What to do next

Continue the evaluation

Use this documentation as the first decision point, then move into pricing, platform coverage, and integration rules before you connect the endpoint for recurring use.

Open the TikTok platform page

Compare adjacent entities, API method groups, and related docs before implementation.

Open platform page

Compare API method pricing

Check where this API method sits inside the public price table before you scale usage.

View pricing

Review integration rules

Use the starter docs to confirm authentication, versioning, retries, and mock vs live behavior.

Open docs
FAQ

Questions teams ask before implementation

Use these answers to decide whether this API method fits your workflow, versioning choice, and rollout plan.

What data does this TikTok API method return?

The method performs “Comments by post ID” for Videos. The compact response example below shows the exact field structure.

Should I choose V1 or V2?

Choose V2 for new integrations because it provides a normalized structure. Use V1 only for compatibility with clients that already consume the platform-native format.

What do I need for the first request?

Create an API key, send it in the request header, and provide the required parameters from the table. The code samples already contain the correct path and request structure.