GET /v1/douyin/stored/post/comments
Douyin stored comments API: comments and commenter region by video ID
Returns the comments we have stored for one Douyin video, in the order we stored them, with text, likes, reply count and each commenter's uid, sec_uid, nickname and region (ip_label). Send q as a video (aweme) id or URL; pass next_cursor back as cursor while has_more is true. It never crawls, so collect comments with the Douyin comments API.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl 'https://api.virev.ai/v1/douyin/stored/post/comments?q=7626744113161170259' \
-H "Authorization: Bearer $VIREV_API_KEY"import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/douyin/stored/post/comments",
params={
"q": "7626744113161170259",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | A Douyin video (aweme) id, or the https://www.douyin.com/video/{aweme_id} URL. |
cursor | query | string | The next_cursor of the previous page. |
limit | query | integer | Comments per page. |
Example response
The example response of the API reference.
{
"data": {
"post": {
"aweme_id": "7626744113161170259"
},
"comments": [
{
"douyin_comment_id": "7626917599154668346",
"author_uid": "107784388189",
"author_sec_uid": "MS4wLjABAAAAARWGYL5dehexhDWxcxqzPnaQFe8xeFnyt32Hwha9ngQ",
"author_unique_id": null,
"author_nickname": "永恒დ",
"text": "我们这的gay就是比我们想象中的要多,我朋友下载小蓝打开定位发现附近都是!",
"like_count": 1628,
"reply_count": 23,
"liked_by_author": false,
"ip_label": "山东",
"parent_comment_id": null,
"posted_at": "2026-04-10T00:15:37Z"
}
],
"stored_total": 2,
"next_cursor": "Wzdd",
"has_more": true
},
"meta": {
"cost": "$0.0005",
"balance": "$9.9995",
"request_id": "req_b7687ad63e59bb6099e6ae4feefa4f98"
}
}How it works
The comments stored for one Douyin video, in the order they were stored, with each commenter’s uid, sec_uid, nickname and region (ip_label). Pass next_cursor back as cursor for the next page; has_more is true exactly when it is set. Flat price per page. Strictly DB: comments collect through /v1/douyin/comment_list, and a video with neither a stored read nor a stored comment is a 404, never a crawl.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | Neither the video nor any of its comments is stored. |
429 | Over 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. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |