Introducing the Instagram APIRead more →

TikTok Comment API. Send a video or post link, or an ID.

Comment or reply with its likes and author. We handle the proxies, blocks and platform changes.

TikTok Comment API at a glance

Returns one public comment or reply on a TikTok video or photo post, from a comment link or the post's link and comment_id. You get its text, exact posting time and like count, the reply count of a top-level comment, and the commenter's username, name, ID, avatar and verified badge. It also says its language, which comment it answers, and whether the creator wrote, liked or pinned it.

GET /v1/tiktok/comment

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 16 typed fields null when unknown
  • url is all it needs, e.g. https://m.tiktok.com/v/6718335390845095173.html?share_comment_id=6718335906996502534&share_item_id=6718335390845095173
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 16 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://m.tiktok.com/v/6718335390845095173.html?share_comment_id=6718335906996502534&share_item_id=6718335390845095173
GET /v1/tiktok/commentTry in
const params = new URLSearchParams({
  comment_id: "7047599416228234031",
  url: "https://www.tiktok.com/@hankgreen1/video/7047596209028074758",
});
const res = await fetch(`https://socialtap.dev/v1/tiktok/comment?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/tiktok/commentDocs

One schema on 9 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field TikTok doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The TikTok video or photo post the comment is on: a tiktok.com/@user/video/<id> or /@user/photo/<id> link, m.tiktok.com/v/<id>.html, embed and player URLs, vm.tiktok.com/<code>, vt.tiktok.com/<code>, tiktok.com/t/<code> or a numeric video ID; or a comment link, which names the comment too: TikTok's comment share link with share_comment_id, a video link with comment_id or cid, or the app's share link of a comment (vm.tiktok.com/<code>, resolved on TikTok).

  • Write one parser

    TikTok, Instagram, Facebook and 6 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native comment ID (string; Reddit with its t1_ prefix).
post_idstring
ID of the post commented on (equals post.id).
parent_idstring
ID of the comment this replies to; null for top-level comments.
urlstring
Permalink, when the platform has one.
textstring
Comment body as plain text.
authorobject
The commenting account. An account the platform no longer names (a deleted account) has a null id and username and the platform's label as display_name (Reddit: [deleted]).
published_atstring
When the comment was posted, RFC 3339 UTC. Where the platform shows only a relative time ("3 weeks ago"), the latest time that label allows (the fetch time minus the stated amount), listed in approximate_fields.

What teams build with the TikTok Comment API.

  • Check likes and replies on a tracked comment

  • Resolve a shared comment link to its author

  • Verify that a comment is still up

Good to know before you build.

  • A comment that was deleted or hidden, or isn't on the post you sent, returns not_found.
  • Private posts and posts with comments off return private_or_unavailable.
  • reply_count is set on top-level comments only, because TikTok counts replies per thread.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the TikTok Comment API.

More in the API reference.

How much does the TikTok Comment API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs