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.

Run it in the PlaygroundSee the callSign in to run it; it runs on your own balance.
Platforms13 platforms
Endpoints13 endpointsone on each platform
PriceFrom $0.0020per call. A failed call is free
ReturnsComment, Post10 to 200 a page, with a cursor for the next

Comments on each platform

One row per endpoint: what it is called, how much comes back in a call, and what a call costs.

PlatformEndpointA pageReturnsPrice
TikTokTikTok video commentsGET/v1/tiktok/videos/comments/list50Comment list$0.0020
YouTubeYouTube video commentsGET/v1/youtube/videos/comments/list20Comment list$0.0020
InstagramInstagram post commentsGET/v1/instagram/posts/comments/list15Comment list$0.0020
X (Twitter)X post repliesGET/v1/x/posts/replies/list60Post list$0.0020
DouyinDouyin video commentsGET/v1/douyin/videos/comments/list20Comment list$0.0020
Xiaohongshu (RedNote)Xiaohongshu note commentsGET/v1/xiaohongshu/notes/comments/list20Comment list$0.0200
RedditReddit post commentsGET/v1/reddit/posts/comments/list200Comment list$0.0020
FacebookFacebook post commentsGET/v1/facebook/posts/comments/list10Comment list$0.0020
WeChat ChannelsWeChat Channels video commentsGET/v1/wechat_channels/videos/comments/list30Comment list$0.0200
BilibiliBilibili video commentsGET/v1/bilibili/videos/comments/list20Comment list$0.0020
WeiboWeibo post commentsGET/v1/weibo/posts/comments/list20Comment list$0.0020
KuaishouKuaishou video commentsGET/v1/kuaishou/videos/comments/list40Comment list$0.0020
ZhihuZhihu answer commentsGET/v1/zhihu/answers/comments/list20Comment list$0.0020
Prices are the prices in force. A call that fails, or whose result is uncertain, costs nothing.Live status →

The Comment object

Every endpoint above returns these fields, with the same names and types.

The object's own page →
idtextID
urllinkLink that opens the comment
texttextText
published_attimeWhen it was posted
author.idtextCommenter's account ID
author.usernametextCommenter's handle
author.nametextCommenter's display name
author.avatar_urllinkCommenter's avatar
metrics.likesintegerLikes
metrics.commentsintegerReplies
post_idtextID of the post it is under
parent_idtextID of the comment it replies to directly; null for a top-level comment
root_idtextID of the top-level comment of its thread; null for a top-level comment

Which 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.

Platformurlpublished_atauthor.usernameauthor.namemetrics.likesmetrics.commentspost_idparent_idroot_id
TikTok
YouTube
Instagram
X (Twitter)
Douyin
Xiaohongshu (RedNote)
Reddit
Facebook
WeChat Channels
Bilibili
Weibo
Kuaishou
Zhihu

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
200 · application/json · charged $0.0020
{
  "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.

All skills →

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.

Start free