Tiktok

Post Comment Replies

Fetch the replies to a comments for a given post. Each request returns a chunk of 30 replies to a comment. See the `cursor` query parameter below for information on how to manage pagination (fetch more replies).

API Pricing (per request): 1 unit

API usage examples

- Comment ID does not exist:
-> null returned.
Cost: 1 unit - Comment ID exists and has 20 replies:
-> 20 replies to the comment returned.
Cost: 1 unit - Comment ID exists and has more than 30 replies:
-> 30 replies to the comment and cursor for next request returned.
Cost: 1 unit
Try the API

get/tt/post/comments-replies

Request

  • Base URL: https://ensembledata.com/apis
  • URL: https://ensembledata.com/apis/tt/post/comments-replies
  • Auth: none declared

Query parameters

aweme_idstring required

The aweme ID of the post (post ID).

comment_idstring required

The id of the comment to fetch replies for.

cursorinteger

Parameter to manually handle pagination. Each response contains a nextCursor which can be used to retrieve the next page of results by sending it as the next cursor. If the nextCursor is not present in the response, it means that there are no more results to retrieve.

tokenstring required

Private token assigned to each client to access the APIs.

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.