Tiktok

Post Comments

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

API Pricing (per request): 1 unit

API usage examples

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

get/tt/post/comments

Request

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

Query parameters

aweme_idstring required

The aweme ID of the post (post ID).

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.