OpenAny
Get API keyAPI Key
APIScrapersSocial Media

tiktok logo
TikTok Post Comments API

Get TikTok Post Comments data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by LiteScrape, pass parameters such as count, video_id, and retrieve structured data including source comment identifier, source post identifier, comment text, source comment like count, and author display name for feedback research, and discussion trees.

Selected price
$0.00015 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

TikTok Post Comments API

Prepare your request, then continue with your agent.

Selected price

$0.00015 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
TikTok Post Comments API

TikTok Post Comments API

The JSON body accepts video_id or url, optional count and cursor. comments contains source comment IDs and post identity, while reply_comment_total is a count rather than an embedded reply collection; continuation uses cursor with has_more.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Supply video_id or url; optional count (1–35) and cursor. Optional query timeout is greater than 0 and at most 90 seconds.
Selected implementation litescrape · TikTok Comments
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Feedback research: Build source comment records with like and reply-count context.
  • Discussion trees: Use comment IDs to connect separate reply-feed lookups.

Returned Data

Field Meaning
comments[].cid Source comment identifier.
comments[].aweme_id Source post identifier.
comments[].text Comment text.
comments[].digg_count Source comment like count.
comments[].reply_comment_total Source reply count for the comment.
comments[].user.nickname Author display name.
comments[].user.unique_id Source author username.
cursor Returned continuation cursor.
has_more Whether more feed records are available.
total Source-reported total when returned.

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"count":3,"video_id":"7681307586901134622"}'

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published TikTok Post Comments API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body*object

body

Page through public comments on a TikTok post.
Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
litescrapeCurrent
TikTok Comments · POST · View API reference
$0.00015 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · litescrapeUSD / call
Unit price
$0.00015

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.015

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
timeoutURL query parametersquerynumberNo

Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.

maximum: 90

countJSON request bodybodyintegerNo

Requested page size, between 1 and 35.

minimum: 1 · maximum: 35

cursorJSON request bodybodystring | integerNo

Upstream pagination cursor from the preceding response; 0 starts a new feed.

urlJSON request bodybodystring | nullNo

TikTok video, photo/slideshow or vm/vt short-link URL.

video_idJSON request bodybodystring | nullNo

TikTok post ID; supply this or url.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • commentsobject[]
    • aweme_idstring
    • cidstring
    • digg_countinteger
    • reply_comment_totalinteger
    • textstring
    • userobject
      • account_labelsnull
      • ad_cover_urlnull
      • advance_feature_item_ordernull
      • advanced_feature_infonull
      • avatar_thumbobject
        • uristring
        • url_liststring[]
        • url_prefixnull
      • bold_fieldsnull
      • can_message_follow_status_listnull
      • can_set_geofencingnull
      • cha_listnull
      • cover_urlnull
      • custom_verifystring
      • enterprise_verify_reasonstring
      • eventsnull
      • followers_detailnull
      • geofencingnull
      • homepage_bottom_toastnull
      • item_listnull
      • mutual_relation_avatarsnull
      • need_pointsnull
      • nicknamestring
      • platform_sync_infonull
      • relative_usersnull
      • search_highlightnull
      • sec_uidstring
      • shield_edit_field_infonull
      • type_labelnull
      • uidstring
      • unique_idstring
      • user_profile_guidenull
      • user_tagsnull
      • white_cover_urlnull
  • cursorstring
  • has_moreboolean
  • submit_feedback_for_this_response_herestring
  • totalinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 2

    Review these request fields before running. Keep the published provider and request method unchanged.

    timeout
    Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.
    body
    Page through public comments on a TikTok post.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "count": 3,
      "video_id": "7681307586901134622"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "comments": [
        {
          "aweme_id": "7681307586901134622",
          "cid": "7681471448133305118",
          "digg_count": 36,
          "reply_comment_total": 1,
          "text": "Babes the views are about to be highhhhhh 😝",
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast5-avt-0068-tx/90ae863dbdc2f9d9050a2e656a79c9d0",
              "url_list": [
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/90ae863dbdc2f9d9050a2e656a79c9d0~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=cb92f5b6&x-expires=1791694800&x-signature=DDpWHMZ0yqhcIJcy5K1%2BEaZRC%2Bk%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/90ae863dbdc2f9d9050a2e656a79c9d0~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=73252370&x-expires=1791694800&x-signature=TCAU6KU%2BNoQpWQRS8cbvkanj08U%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/90ae863dbdc2f9d9050a2e656a79c9d0~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=2004e2d9&x-expires=1791694800&x-signature=EPqx%2F%2BcsVp4efR%2B2GgCUj95ZXsw%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "Kara",
            "platform_sync_info": null,
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAAdKx-baKS0yPDBXkU4xY0TPPVIuVczGsgvJ3h8oUhLmYYa6Lk-FcovWq7LfZBWPSX",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "6811674000366142469",
            "unique_id": "karastayshome",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          }
        },
        {
          "aweme_id": "7681307586901134622",
          "cid": "7681330380372558606",
          "digg_count": 23,
          "reply_comment_total": 2,
          "text": "They look amazing !",
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast5-avt-0068-tx/6b4d2189517d649ea5fb06579dbd12f1",
              "url_list": [
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6b4d2189517d649ea5fb06579dbd12f1~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=4e21e442&x-expires=1791694800&x-signature=cniWzpBINHeMXbCNsz4vLjBG81w%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6b4d2189517d649ea5fb06579dbd12f1~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=9231b036&x-expires=1791694800&x-signature=L%2F94pGAtk5FwwHFkHBM66%2B%2FvDBA%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/6b4d2189517d649ea5fb06579dbd12f1~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=999ab730&x-expires=1791694800&x-signature=uVyOsm%2FWC0Chof0E2wJU5%2BOrttY%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "Pimp Daddy Will",
            "platform_sync_info": null,
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAAItDdq4C5J9JX2VjhaDFQaSXsp2EsUoL7J1ynDxmbxqqdbqzl6WHtQejityn4Y4Uh",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "6747662703958279174",
            "unique_id": "nosightwill",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          }
        },
        {
          "aweme_id": "7681307586901134622",
          "cid": "7691726083582329613",
          "digg_count": 4,
          "reply_comment_total": 0,
          "text": "make sure to put 2 shots of milk in mine.",
          "user": {
            "account_labels": null,
            "ad_cover_url": null,
            "advance_feature_item_order": null,
            "advanced_feature_info": null,
            "avatar_thumb": {
              "uri": "tos-useast5-avt-0068-tx/c5760b29c75a79ace810ceb350b67997",
              "url_list": [
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c5760b29c75a79ace810ceb350b67997~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=ce7cbd5e&x-expires=1791694800&x-signature=YW4butBPy%2FWmZYesPvIjJa22EeY%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c5760b29c75a79ace810ceb350b67997~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=befc2360&x-expires=1791694800&x-signature=MFVbk44wd76xeXulalS8xqUVHnc%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
                "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/c5760b29c75a79ace810ceb350b67997~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=d30ca280&x-expires=1791694800&x-signature=TCkO8DU71zcXNEA5yJcfGhqF6PE%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5"
              ],
              "url_prefix": null
            },
            "bold_fields": null,
            "can_message_follow_status_list": null,
            "can_set_geofencing": null,
            "cha_list": null,
            "cover_url": null,
            "custom_verify": "",
            "enterprise_verify_reason": "",
            "events": null,
            "followers_detail": null,
            "geofencing": null,
            "homepage_bottom_toast": null,
            "item_list": null,
            "mutual_relation_avatars": null,
            "need_points": null,
            "nickname": "htljsstd",
            "platform_sync_info": null,
            "relative_users": null,
            "search_highlight": null,
            "sec_uid": "MS4wLjABAAAAYWqs3xJR5YwvgGRD-yQbM0-cZl4K37Cy70AxXPd6jkskWKy4GxPaFVyA8-fFbkNi",
            "shield_edit_field_info": null,
            "type_label": null,
            "uid": "7388661218544321578",
            "unique_id": "htljsstd",
            "user_profile_guide": null,
            "user_tags": null,
            "white_cover_url": null
          }
        }
      ],
      "cursor": "3",
      "has_more": true,
      "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token",
      "total": 37
    }

Common questions

Which post references are supported?

Use a 1–25 digit video_id string or a supported video, photo/slideshow or vm/vt short-link URL. Preserve IDs as strings rather than rounding large values.

How do count and cursor work?

count is 1–35 and defaults to 20. cursor=0 starts a new feed; reuse the returned cursor for the same post and inspect has_more to decide whether to continue.

Does reply_comment_total include reply text?

It is a count. Use the comment’s cid with the separate TikTok Comment Replies route and the same post reference to retrieve the reply feed.

Does a full requested count guarantee a complete discussion?

No. The returned batch and source total have different scopes. Retain comment IDs, cursor and has_more, and keep top-level comments distinct from replies.

Where should I set the request timeout?

Set timeout in the query string, including for POST requests. It must be greater than 0 and at most 90 seconds; page_timeout cannot extend this total execution budget.

Can I add arbitrary parameters to the JSON body?

Use the body fields exposed by this implementation. Its JSON schema rejects additional properties; query parameters such as timeout belong outside the JSON body.

Use TikTok Post Comments API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.