Comments API
13 endpoints on 13 platforms answer in one response shape. The comments under a post: text, commenter, likes, reply count, time posted. A call costs from $0.0020 to $0.0200, each endpoint at its own price; a failed call is free.
Comments on each platform
One row per endpoint: what it is called, how much comes back in a call, and what a call costs.
The Comment object
Every endpoint above returns these fields, with the same names and types.
idtextIDurllinkLink that opens the commenttexttextTextpublished_attimeWhen it was postedauthor.idtextCommenter's account IDauthor.usernametextCommenter's handleauthor.nametextCommenter's display nameauthor.avatar_urllinkCommenter's avatarmetrics.likesintegerLikesmetrics.commentsintegerRepliespost_idtextID of the post it is underparent_idtextID of the comment it replies to directly; null for a top-level commentroot_idtextID of the top-level comment of its thread; null for a top-level commentWhich platform fills which field
A field an endpoint cannot give is listed in meta.unavailable on every answer, so a gap is never a surprise.
The same call on two platforms
Same parameter names, same paging, same answer. Only the path changes.
# TikTok curl -G "https://api.dataxapi.com/v1/tiktok/videos/comments/list" \ --data-urlencode "id=7665840565958872333" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" # YouTube: one word changes curl -G "https://api.dataxapi.com/v1/youtube/videos/comments/list" \ --data-urlencode "id=dQw4w9WgXcQ" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
// TikTok import { DataXAPI } from "@dataxapi/sdk"; const dx = new DataXAPI(); // reads DATAXAPI_API_KEY const result = await dx.tiktok.videos.comments.list({ id: "7665840565958872333" }); console.log(result.data.items); // YouTube: one word changes const other = await dx.youtube.videos.comments.list({ id: "dQw4w9WgXcQ" }); console.log(other.data.items);
# TikTok from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.tiktok.videos.comments.list(id="7665840565958872333") print(result["data"]["items"]) # YouTube: one word changes other = dx.youtube.videos.comments.list(id="dQw4w9WgXcQ") print(other["data"]["items"])
# TikTok dataxapi call tiktok.videos.comments.list id=7665840565958872333 # YouTube: one word changes dataxapi call youtube.videos.comments.list id=dQw4w9WgXcQ
{
"code": "ok",
"request_id": "49a9388e-860b-401b-9189-91392b4dbe4c",
"data": {
"items": [
{
"id": "7249404573671997643",
"text": "Finally someone explains it properly.",
"published_at": "2026-10-08T14:20:19.000Z",
"author": {
"id": "6405221235864634600",
"username": "northside_coffee",
"name": "Leo Park",
"avatar_url": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/b53b29284ec746c5795e~c5_100x100.jpeg"
},
"metrics": { "likes": 1430, "comments": 37 },
"post_id": "7314577132464284710",
"parent_id": null,
"root_id": null
},
// … 49 more
]
},
"page": {
"next_cursor": "c1.ILIjF_oJ0LYoN_N-5Pz5rAlsEbq5IITvnA7EL4Hr",
"cursor_expires_at": "2026-10-12T19:45:47.000Z",
"has_more": true,
"returned": 50
},
"warnings": [],
"meta": {
"capability": "tiktok.videos.comments.list",
"result_status": "complete",
"fetched_at": "2026-10-12T18:45:47.000Z",
"cached": false,
"replayed": false,
"unavailable": { "url": "platform" },
"billing": {
"amount": "0.002",
"currency": "USD",
"balance_after": "9.998"
}
}
}TikTok video comments: From a response recorded 2026-10-12 18:45 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.
Ready to use
Skills your AI can run on these endpoints, with what one run costs, and the objects every answer comes back as.
Comments and word of mouth
“What are people praising and complaining about under this post?”
The Comment object
What every field means, which number each platform puts in it, and where it is missing.
The Post object
What every field means, which number each platform puts in it, and where it is missing.
Questions about the Comments API
Short answers. Each endpoint's page has its own limits and examples.
TikTok video comments API →How much does it cost?
$0.0020 a call on TikTok, YouTube, Instagram, X (Twitter), Douyin, Reddit, Facebook, Bilibili, Weibo, Kuaishou, Zhihu; $0.0200 a call on Xiaohongshu (RedNote), WeChat Channels. You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.
How do I get every page?
Pass page.next_cursor back as cursor until page.has_more is false. Each page is one call at the same price.
Does every platform fill every field?
No. 9 of the 13 fields are missing on at least one platform; the table on this page says which. A field an endpoint cannot give is named in meta.unavailable on every answer, never filled with a guess.
Do I need an account on the platform?
No. One DataXAPI key reads all 13 platforms. No platform account and no cookie.
Other data types
The same idea everywhere: one action, every platform that has it.
Start with one key.
207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.