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
TikTok Post Comments API
Prepare your request, then continue with your agent.
Selected price
$0.00015 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent TikTok Comments · POST · View API reference | $0.00015 / call | 0 | —successP50— |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
timeout | URL query parametersquery | number | No | 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 |
count | JSON request bodybody | integer | No | Requested page size, between 1 and 35. minimum: 1 · maximum: 35 |
cursor | JSON request bodybody | string | integer | No | Upstream pagination cursor from the preceding response; 0 starts a new feed. |
url | JSON request bodybody | string | null | No | TikTok video, photo/slideshow or vm/vt short-link URL. |
video_id | JSON request bodybody | string | null | No | 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
commentsobject[]aweme_idstringcidstringdigg_countintegerreply_comment_totalintegertextstringuserobjectaccount_labelsnullad_cover_urlnulladvance_feature_item_ordernulladvanced_feature_infonullavatar_thumbobjecturistringurl_liststring[]url_prefixnull
bold_fieldsnullcan_message_follow_status_listnullcan_set_geofencingnullcha_listnullcover_urlnullcustom_verifystringenterprise_verify_reasonstringeventsnullfollowers_detailnullgeofencingnullhomepage_bottom_toastnullitem_listnullmutual_relation_avatarsnullneed_pointsnullnicknamestringplatform_sync_infonullrelative_usersnullsearch_highlightnullsec_uidstringshield_edit_field_infonulltype_labelnulluidstringunique_idstringuser_profile_guidenulluser_tagsnullwhite_cover_urlnull
cursorstringhas_morebooleansubmit_feedback_for_this_response_herestringtotalinteger
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ '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" }'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 }