Post Comments
A post's comments, 20 a page.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
url?stringThe post's link or a share link.
id?stringIts id, instead of url.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": … }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.douyin.postComments({ url: "https://www.douyin.com/video/7711656915507399971" });Example Response
{ "data": [ { "id": "7711706345209463593", "postId": "7711656915507399971", "parentId": null, "text": "他根本不想给那么多钱,银行十万美金他坐在旁边紧张了", "createdAt": "2026-11-24T11:59:13.000Z", "author": { "id": "96764987372", "username": "783877977", "displayName": "北极海", "avatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_ocaJE9C1AgAIFDeyAiHAfASAaAhBbi5AQNuA0A.jpeg?from=2064092626", "verified": false, "url": "https://www.douyin.com/user/MS4wLjABAAAAZ-q_k_y6PBwxm3ypPTWxG-affH4949r2TUolmeXn-KI" }, "likes": 26424, "replies": 382, "ext": { "ipLabel": "四川", "replyTo": null, "authorLiked": false, "images": [] } }, { "id": "7711757311761662771", "postId": "7711656915507399971", "parentId": null, "text": "老妈“你做什么赢的?” “呃。。。我杀了几个警察,抢了一架飞机。。。”", "createdAt": "2026-11-24T15:22:18.000Z", "author": { "id": "78140758852", "username": "glen8888", "displayName": "给我个面子", "avatarUrl": "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_506da8360a97fbf10e8908cc3e77901d.jpeg?from=2064092626", "verified": false, "url": "https://www.douyin.com/user/MS4wLjABAAAAFbcN3nemx7wkKFTOIgjqkKvOdS0Zns99Sug5WJHif7w" }, "likes": 6952, "replies": 44, "ext": { "ipLabel": "浙江", "replyTo": null, "authorLiked": false, "images": [] } } ], "pagination": { "nextCursor": "20", "hasMore": true }}