TikTok Video Comments
Retrieve video Comments with the TikTok API. The sample response includes comments. Surface recurring topics and audience feedback. The POST request schema also lists timeout. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.00015 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
litescrapeCurrent TikTok Comments · POST | $0.00015 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
comments?: Array<{
aweme_id?: string;
cid?: string;
digg_count?: number;
reply_comment_total?: number;
text?: string;
user?: {
account_labels?: null;
ad_cover_url?: null;
advance_feature_item_order?: null;
advanced_feature_info?: null;
avatar_thumb?: {
uri?: string;
url_list?: Array<string>;
url_prefix?: null;
};
bold_fields?: null;
can_message_follow_status_list?: null;
can_set_geofencing?: null;
cha_list?: null;
cover_url?: null;
custom_verify?: string;
enterprise_verify_reason?: string;
events?: null;
followers_detail?: null;
geofencing?: null;
homepage_bottom_toast?: null;
item_list?: null;
mutual_relation_avatars?: null;
need_points?: null;
nickname?: string;
platform_sync_info?: null;
relative_users?: null;
search_highlight?: null;
sec_uid?: string;
shield_edit_field_info?: null;
type_label?: null;
uid?: string;
unique_id?: string;
user_profile_guide?: null;
user_tags?: null;
white_cover_url?: null;
};
}>;
cursor?: string;
has_more?: boolean;
submit_feedback_for_this_response_here?: string;
total?: number;
};- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# TikTok Video Comments
Retrieve video Comments with the TikTok API. The sample response includes comments. Surface recurring topics and audience feedback. The POST request schema also lists timeout. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
litescrape · TikTok Comments: https://openany.si/markets/apis/capabilities/tiktok-video-comments?offering=63cb85a2-32fb-4379-a392-a82a191896da · $0.00015 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/tiktok-video-comments
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments
Price: $0.00015 / call
Provider: litescrape
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "TikTok Comments",
"endpoint": "https://api.openany.si/v1/agent-apis/litescrape/api/tiktok/comments",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "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.",
"location": "query",
"maximum": "90",
"name": "timeout",
"nullable": false,
"required": false,
"type": "number"
},
{
"description": "Page through public comments on a TikTok post.",
"json_schema": {
"additionalProperties": false,
"examples": [
{
"count": 3,
"video_id": "7681307586901134622"
}
],
"properties": {
"count": {
"default": 20,
"description": "Requested page size, between 1 and 35.",
"maximum": 35,
"minimum": 1,
"title": "Count",
"type": "integer",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "tiktok-comments-count",
"label": "Count",
"summary": "Requested page size, between 1 and 35."
}
},
"cursor": {
"anyOf": [
{
"pattern": "^[0-9]{1,25}$",
"type": "string"
},
{
"maximum": 9223372036854775807,
"minimum": 0,
"type": "integer"
}
],
"default": "0",
"description": "Upstream pagination cursor from the preceding response; 0 starts a new feed.",
"title": "Cursor",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "tiktok-comments-cursor",
"label": "Cursor",
"summary": "Upstream pagination cursor from the preceding response; 0 starts a new feed."
}
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "TikTok video, photo/slideshow or vm/vt short-link URL.",
"title": "Url",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "tiktok-comments-url",
"label": "Url",
"summary": "TikTok video, photo/slideshow or vm/vt short-link URL."
}
},
"video_id": {
"anyOf": [
{
"pattern": "^[0-9]{1,25}$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "TikTok post ID; supply this or url.",
"title": "Video Id",
"x-litescrape": {
"formGroup": 0,
"group": 0,
"id": "tiktok-comments-video_id",
"label": "Video Id",
"summary": "TikTok post ID; supply this or url."
}
}
},
"title": "Request",
"type": "object"
},
"location": "body",
"name": "body",
"nullable": false,
"pointer": "",
"required": true,
"type": "object"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "150",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example",
"request": {
"body": {
"count": 3,
"video_id": "7681307586901134622"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
}
}
]
}
```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. |
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 }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use TikTok Video Comments with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.