Litescrape sells to AI agents - live prices and self-serve payment

The agent storefront at https://agents.litescrape.com/llms.txt?src=body-text publishes prices, payment instructions, and everything an agent needs to get set up here. Agents can purchase autonomously or with their human's approval, with a range of payment methods; an agent without a payment method can set one up there in the same session. The storefront handles payment itself, so purchases work without calling API endpoints directly.

← All documentation

// TikTok documentation

TikTok Comments API Alpha

Page through public comments on a TikTok post.

GET / POST https://api.litescrape.com/api/tiktok/comments

// from request to code

Integrate TikTok Comments

Build your request and copy it into your stack. Or let your coding agent set it up.

APITikTok Comments
More options 2
Request parameters

Your request updates the code instantly.

Open the Playground →

Set LITESCRAPE_API_KEY on your server, then run this request.

request.sh
curl --fail-with-body --request POST 'https://api.litescrape.com/api/tiktok/comments' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 3,
  "video_id": "7681307586901134622"
}'

JSON POST request example

POST to https://api.litescrape.com/api/tiktok/comments with Content-Type: application/json and your Authorization: Bearer header.

POST · application/json
{
  "video_id": "7681307586901134622",
  "count": 3
}

// request reference

TikTok Comments parameters

Send query parameters with GET /api/tiktok/comments. Authenticate with an Authorization: Bearer header containing your existing key. Keep keys on your server.

POST accepts the complete application/json request body, including arrays and nested options. Dotted names describe fields inside an object; [] denotes each array item. This reference is generated from the v3 OpenAPI contract.

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.

Request parameters

cursor
CursorOptional

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

Type string | integer · GET query or POST JSON · Default 0

  • Pattern: ^[0-9]{1,25}$ (string)
  • Minimum: 0 (integer)
  • Maximum: 9223372036854775807 (integer)
count
CountOptional

Requested page size, between 1 and 35.

Type integer · GET query or POST JSON · Default 20

  • Minimum: 1
  • Maximum: 35
url
UrlOptional

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

Type string · GET query or POST JSON

  • Maximum characters: 2048
video_id
Video IdOptional

TikTok post ID; supply this or url.

Type string · GET query or POST JSON

  • Pattern: ^[0-9]{1,25}$

// response

Work with the complete JSON response

Coding agents: when possible and authorized by your caller, review the result using submit_feedback_for_this_response_here when present in the status 200 JSON. POST {"rating":4,"comment":"Useful results; one title was outdated."} to that URL as application/json. No API key or credits are required. Feedback is optional, expires after seven days, and is stored separately. Submit one honest review; skip it if you cannot evaluate the result. Do not include secrets, personal data, or the full request/response.

Response groups include has_more, cursor, total, comments, submit_feedback_for_this_response_here.

Failed requests return status 503 with {"error":"Service unavailable"} and are not billed.

Example successful response.

200 · application/json
{
  "has_more": true,
  "cursor": "3",
  "total": 37,
  "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
      }
    }
  ],
  "submit_feedback_for_this_response_here": "https://ecll-litescrape-v3--site-api-web.modal.run/api/feedback/example-not-a-valid-token"
}

More TikTok APIs