GET /v1/tiktok/stored/post/comments

TikTok stored comments API: comment text, likes and replies by video

Returns the comments we have stored for one TikTok video, in the order we stored them, with text, author, likes, reply count and post time. Send q as the video id or URL and limit up to 200; pass next_cursor back as cursor while has_more is true. It reads our database only and never crawls; the TikTok comments API collects them live.

Price
$0.0005 per call
Batch
Yes, through /v1/batch
Failed calls
Not charged

Example request

curl
curl 'https://api.virev.ai/v1/tiktok/stored/post/comments?q=7681719358225239326' \
  -H "Authorization: Bearer $VIREV_API_KEY"
python
import os
import requests

response = requests.request(
    "GET",
    "https://api.virev.ai/v1/tiktok/stored/post/comments",
    params={
        "q": "7681719358225239326",
    },
    headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
    timeout=60,
)
response.raise_for_status()
print(response.json())

Parameters

NameInTypeDescription
q requiredquerystringTikTok video id, or its tiktok.com/@handle/video/<id> URL. Example 7681719358225239326.
cursor querystringOpaque next_cursor from the previous page.
limit queryintegerComments per page. Default 50.

Example response

The example response of the API reference.

json
{
  "data": {
    "post": {
      "video_id": "7681719358225239326"
    },
    "comments": [
      {
        "tiktok_comment_id": "7681901814388622081",
        "author_username": "annakhan_annie",
        "author_tiktok_id": "6586283068750479365",
        "text": "My hero is Prophet Muhammad ﷺ ❤️",
        "like_count": 12493,
        "reply_count": 146,
        "posted_at": "2026-09-05T04:22:41+00:00"
      },
      {
        "tiktok_comment_id": "7681721078482387729",
        "author_username": "ovayomzangwe901",
        "author_tiktok_id": "7151662998456632325",
        "text": "1m for what?😭",
        "like_count": 7533,
        "reply_count": 41,
        "posted_at": "2026-09-04T16:41:16+00:00"
      },
      {
        "tiktok_comment_id": "7695763267344974598",
        "author_username": "thetradesibysci",
        "author_tiktok_id": "7669869049291965441",
        "text": "thought he was the only one",
        "like_count": 0,
        "reply_count": 0,
        "posted_at": "2026-10-12T12:52:12+00:00"
      }
    ],
    "stored_total": 3,
    "next_cursor": null,
    "has_more": false
  },
  "meta": {
    "cost": "$0.0005",
    "balance": "$3.3627",
    "request_id": "req_625c9591e615c5ff99bc2ee23627bf8e"
  }
}

How it works

The comments stored for one video, in the order they were stored, with next_cursor while has_more is true. A stored video with no collected comment page answers an empty list.

Strictly DB: this reads what the crawler already stored and never crawls. A miss is a 404 and is not billed. Collect more with /v1/tiktok/comment_list.

Errors

StatusWhen
400The request parameters are invalid.
401Missing, malformed, or revoked API key.
402Balance is too low for this request.
404The video is not stored. You are not charged.
429Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged.
502The upstream fetch failed. You are not charged.
503Billing could not be confirmed, so no upstream data was returned.
504The upstream request timed out. You are not charged.

Guides that use this endpoint