Get the comments on a TikTok video
Fetch comments on one TikTok video: username, text, create_time, like_count, reply_count and parent_comment_id for replies.
https://api.scrapefield.com/v1/tiktok/commentshttps://api.scrapefield.com/v1/tiktok/comments?id=7412345678901234567In your code
const params = new URLSearchParams({
"id": "7301234567890123456"
});
const res = await fetch(`https://api.scrapefield.com/v1/tiktok/comments?${params}`, {
headers: { Authorization: `Bearer ${process.env.SCRAPEFIELD_KEY}` },
});
const { data, meta } = await res.json();
console.log(data, meta.credits_charged);Parameters
| Parameter | What it does |
|---|---|
url | The video URL, https://www.tiktok.com/@…/video/…. A short vm.tiktok.com link is not read: open it, and copy the address it leads to. |
id | The numeric video id. |
limit | At most this many results, 1–50. A page can hold fewer while next_cursor is set: read until it is null.1–50, default 50 |
cursor | The meta.next_cursor from the previous page. Omit for the first page. |
fresh | Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it. default false |
Response
Returns an array of tiktok_comment. This is the demo’s answer, the one the playground above returns, in full rather than abbreviated — including the fields that come back null, because a field is null when the platform does not show it and you should know which ones those are before you build on them. A call with your key returns the account you ask for.
{
"data": [
{
"id": "7489981226078840120",
"video_id": "7412345678901234567",
"parent_comment_id": null,
"username": "petr13",
"text": "Second time watching.",
"create_time": "2026-08-06T06:22:26.000Z",
"like_count": 655,
"reply_count": 8
},
{
"id": "7499883449067934338",
"video_id": "7412345678901234567",
"parent_comment_id": null,
"username": "karel55",
"text": "This is the one I keep coming back to.",
"create_time": "2026-06-12T22:31:04.000Z",
"like_count": 601,
"reply_count": 0
}
],
"meta": {
"request_id": "req_7f3ac1e94b2d40f8a1c6e5d2",
"credits_charged": 3,
"credits_remaining": 74218,
"cached": false,
"fetched_at": "2026-09-20T09:12:03Z",
"next_cursor": "eyJwIjoxLCJzIjoiYTNmOSJ9"
}
}Fields of tiktok_comment
A comment on a TikTok video. Named after TikTok's Display and Research APIs.
| Field | What it is |
|---|---|
id | TikTok's id for the comment. |
video_id | The video it is on. |
parent_comment_id | The comment it replies to. null for a top-level comment. |
username | Who wrote it, without the @. |
text | null for a comment with no words, such as a sticker. |
create_time | null when the source does not say. |
like_count | null when the source does not give it. |
reply_count | null when the source does not give it. |
What it costs
3 credits per successful call, whether we fetch it or serve it from cache — you pay for the answer, not for how we produced it. Responses are cached for 1 hour and a cached one tells you when the data was actually fetched. A call we fail costs 0 and is refunded automatically.
On the smallest pack that is $2.34 per 1,000 calls; on the largest, $1.32. The full table.
What people build with it
Questions
How much does the TikTok comments API cost?
3 credits a call: $2.34 per 1,000 calls on the smallest pack and $1.32 on the largest. A call that fails costs nothing, and the refund is automatic. A cached answer costs the same as a fresh one. Credits are bought in packs and never expire; there is no plan.
Do I need a TikTok account, a login or cookies?
No. You need a key from us and nothing from TikTok. We never take a customer's login, cookies or session, at any price, and no account of yours is ever at risk.
Can I try it without signing up?
Yes. Add demo=true and leave the key out, or press Send request in the playground on this page. The demo answers with a real answer about Ferrari, captured once a week, in exactly the shape a live call returns, whatever you ask, and charges nothing.
How fresh is the data?
An answer is kept for up to 1 hour, and a cached one says when it was fetched, in meta.fetched_at. Add fresh=true to fetch it again now, at the same price; it needs any purchase, not the trial.
What does it return?
A list of tiktok_comment objects. Its fields are named after TikTok's Display and Research APIs. A field is null when TikTok does not show it, never missing. Every field is described on this page.
How do I get more than one page?
Pass meta.next_cursor back as cursor, and stop when it is null. Each page is a call, priced the same. A cursor lasts as long as the answer it belongs to is cached.
Can an AI agent call it?
Yes: it is the MCP tool get_tiktok_comments on our MCP server, with the same parameters, answer and price. Without a key, the tool answers from the demo.