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 Comment Replies API Alpha

Page through replies using the post ID and parent comment ID.

GET / POST https://api.litescrape.com/api/tiktok/comment-replies

// from request to code

Integrate TikTok Comment Replies

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

APITikTok Comment Replies
More options 4
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/comment-replies' \
  --header "Authorization: Bearer $LITESCRAPE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "count": 3,
  "video_id": "7681307586901134622",
  "comment_id": "7681330380372558606"
}'

JSON POST request example

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

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

// request reference

TikTok Comment Replies parameters

Send query parameters with GET /api/tiktok/comment-replies. 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}$
comment_id
Comment IdRequired

ID of the parent TikTok comment; obtain cid from the comments endpoint.

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": false,
  "cursor": "2",
  "total": 2,
  "comments": [
    {
      "aweme_id": "7681307586901134622",
      "cid": "7686673176110088991",
      "digg_count": 0,
      "text": "The coffee right?",
      "user": {
        "account_labels": null,
        "ad_cover_url": null,
        "advance_feature_item_order": null,
        "advanced_feature_info": null,
        "avatar_thumb": {
          "uri": "tos-maliva-avt-0068/7332898731429855237",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7332898731429855237~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=fe1c8167&x-expires=1791694800&x-signature=c%2BUfUbHvWUUMzykG2Y9X1ORk%2Ffk%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
            "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7332898731429855237~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=c0acd3e4&x-expires=1791694800&x-signature=1nqNx7uYsmqEHoS%2FVd5xKp%2F4NF8%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7332898731429855237~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=19695265&x-expires=1791694800&x-signature=eRI9R4VnWdIz0G4W0NhbiafswFY%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": "lu-/:",
        "platform_sync_info": null,
        "predicted_age_group": "-1",
        "relative_users": null,
        "search_highlight": null,
        "sec_uid": "MS4wLjABAAAAGvdpQ_YOc2n2G54jVLH8cplMBivnJleCZeytimgITO4nwyn1kjIi3TvqUxU3L80r",
        "shield_edit_field_info": null,
        "type_label": null,
        "uid": "6714619026233918470",
        "unique_id": "lui_1124",
        "user_profile_guide": null,
        "user_tags": null,
        "white_cover_url": null
      }
    },
    {
      "aweme_id": "7681307586901134622",
      "cid": "7687035242100654878",
      "digg_count": 1,
      "text": "She was making coffee?",
      "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/56ffa877137f4ee30f35b27373c1d06d",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/56ffa877137f4ee30f35b27373c1d06d~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=03260281&x-expires=1791694800&x-signature=pjHgHV1SqC6ZbNKW6EHpraZ%2B1tg%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
            "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/56ffa877137f4ee30f35b27373c1d06d~tplv-tiktokx-cropcenter:100:100.jpg?dr=9640&refresh_token=f50ba682&x-expires=1791694800&x-signature=YE4dgEPYtX%2BbzVIc2DYLAKwRc9A%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=useast5",
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/56ffa877137f4ee30f35b27373c1d06d~tplv-tiktokx-cropcenter:100:100.jpeg?dr=9640&refresh_token=d0cd3dc5&x-expires=1791694800&x-signature=FRs5KPhinzxgZSis%2FNzI%2FZfYcTg%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": "eldenringpvps",
        "platform_sync_info": null,
        "predicted_age_group": "-1",
        "relative_users": null,
        "search_highlight": null,
        "sec_uid": "MS4wLjABAAAAvDaPj1XZGEiZv9mY9lzgXq2-uU3dDUOubAqn3t6RVjL_Y3wA64_906wITtUaxRDW",
        "shield_edit_field_info": null,
        "type_label": null,
        "uid": "6920690527929484293",
        "unique_id": "eldenringpvps",
        "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