List Douyin video comments
List a Douyin video's comments, 20 a page with a cursor, with likes, replies and IP location.
Headers
Get your API keyAPI key (`sfk_...`)
Link to the Douyin video or photo post, as in https://www.douyin.com/video/7687419490820295970. A share link, a v.douyin.com short link or the numeric id also works.
min 1 chars · max 1024 chars
Pass `page.nextCursor` from the previous response to get the next page. It only works with the same video.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
`not_found` when no public video has this id.
one of: found, not_found
The video's id.
Comments on the video, as Douyin counts them.
Top-level comments, about 20 a page, in Douyin's order.
Douyin comment id.
Comment text.
When it was written, ISO 8601 UTC.
Likes on the comment.
Replies to the comment.
The province or country Douyin shows as the writer's IP location.
True when the video's creator liked the comment.
True when the creator pinned the comment.
Photos attached to the comment; empty for text-only comments.
Image URL. Signed; it expires.
Width in pixels.
Height in pixels.
Who wrote it.
Douyin's numeric user id (`uid`), the same on every endpoint.
Douyin's public user id, as in douyin.com/user/{secUid}. Pass it to the profile endpoints.
Douyin id (抖音号) shown on the profile, when set.
Display name.
Profile picture.
True when Douyin verified the account.
Profile page.
Pagination state for the current page.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/douyin/videos/comments?url=https://www.douyin.com/video/7687419490820295970" \
-H "x-api-key: YOUR_API_KEY"Responses
A page of a Douyin video's comments.