Skip to content

List Comment TikTok ​

GEThttps://api.repliz.com/public/research/tiktok/comment

List the comments of any public TikTok post. Returns up to 50 comments per page, with total for the whole post. A comment with hasReplies true has replies you can list with List Comment Reply TikTok.

Endpoint Details ​

  • Authentication: Basic Auth (Authorization: Basic Base64(AccessKey:SecretKey)) or Bearer token from Login with Repliz
  • Scope (Bearer only): research:read
  • Access Tier: Gold+

TikWM key

TikTok research runs through TikWM, a separate service that reads public TikTok data, with your own TikWM API key. Save it first in Repliz under Setting → TikWM key (how to get one); without it, the request fails with 400 invalid tikwm key. Each request uses your key's own TikWM quota. When TikWM refuses a request, for example when the key is out of quota, it fails with 403 and TikWM's message.

Parameters ​

ParameterTypeRequiredDescription
videoIdstringYesID of the TikTok post, the id from the TikTok searches or the number at the end of its URL.
nextTokenstringNoCursor for the next page: the nextToken of the previous response. Leave it out for the first page. hasMore is false and nextToken is empty when there are no more pages.

Example Request ​

bash
curl -X GET "https://api.repliz.com/public/research/tiktok/comment?videoId=7612965843596479751" \
  -H "Authorization: Basic $(echo -n 'YOUR_ACCESS_KEY:YOUR_SECRET_KEY' | base64)"
javascript
import axios from 'axios';

const response = await axios.get('https://api.repliz.com/public/research/tiktok/comment', {
  params: {
    videoId: '7612965843596479751',
  },
  auth: {
    username: 'YOUR_ACCESS_KEY',
    password: 'YOUR_SECRET_KEY',
  },
});

console.log(response.data);
javascript
const credentials = btoa('YOUR_ACCESS_KEY:YOUR_SECRET_KEY');

const response = await fetch('https://api.repliz.com/public/research/tiktok/comment?videoId=7612965843596479751', {
  headers: {
    Authorization: `Basic ${credentials}`,
  },
});

const data = await response.json();
console.log(data);

Response ​

json
{
  "docs": [
    {
      "id": "7612966844110914334",
      "type": "text",
      "text": "CUTEEE",
      "owner": {
        "id": "7249786046836818987",
        "name": "♡̶゙ 𝐥𝖺𝗇𝖺 𝓀iss",
        "username": ".nelanusia",
        "picture": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/ca23d653c8ba2cd32d443..."
      },
      "medias": [],
      "createdAt": "2026-03-03T10:01:31.000Z",
      "hasReplies": true,
      "statistic": {
        "like": 166,
        "reply": 3
      }
    }
  ],
  "total": 311,
  "hasMore": true,
  "nextToken": "405cb6b7fd9b9fbb28e42c1a1992cd4b269f559dc8ab40248426c8ddc854cd20"
}
json
{
  "code": 400,
  "message": "invalid tikwm key"
}
json
{
  "code": 403,
  "message": "Request failed with status code 429"
}
json
{
  "code": 401,
  "message": "unauthorized"
}