SocialHolmes

A TikTok comments API that bills per comment

Send a TikTok video id and a limit, and SocialHolmes returns that video's public comments as structured JSON - text, time, likes, reply count and author. It costs $0.125 per 1,000 comments, and a run that returns nothing costs nothing.

What you get

Every row comes back as structured JSON. These are the fields on a row, taken from the endpoint's recorded example response in the reference. Every field we collect is in the row itself, including the extra fields the platform sends, so a live row can carry more than the recorded example.

TikTok comments — one comment per row

id text created_at like_count reply_count video_id language author

TikTok replies — one comment per row

id text created_at like_count reply_count video_id language author

TikTok video — one video per row

id url type caption taken_at duration region play_count like_count comment_count share_count save_count cover_url media_urls hashtags music is_ad author origin_cover play

Comments, then replies

The comments endpoint takes a video_id and returns top-level comments. To go one level down, the replies endpoint takes the video_id and the comment_id of a comment from a comments run and returns the replies to it. Both are paged, so both accept a limit.

The video endpoint returns a single video with its details, which is useful when you want the caption, counts and author alongside the comments you collected.

What people use it for

Brands and agencies pull comments after a campaign to see what viewers asked, praised or complained about. Researchers collect threads for discourse analysis and re-run the same pull later to see how a conversation changed. Newsrooms look at public reactions under a viral video.

Each comment row has a language field, so a multilingual thread can be split before analysis. The like_count and reply_count give you a way to rank comments without scraping anything else.

How billing works here

You are billed for rows delivered. A limit of 500 can bill at most 500 results, and a run that returns 340 comments bills 340. If a video has no public comments, the run returns nothing and costs nothing.

The run is read at the moment you ask. There is no cache and no stored copy served back to you, so a second call reflects the thread as it is then. The largest limit you can ask for in one run is 10,000.

Example request

The video_id is the numeric id from the video's URL. limit is how many comments you want and the most the run can bill. The call returns a run id straight away; poll GET /api/public/v1/runs/:id until it succeeds, then read the rows from GET /api/public/v1/runs/:id/results. Reading results again does not cost anything more.

curl -X POST https://api.socialholmes.com/api/public/v1/scrape/tiktok/comments \
  -H "Authorization: Bearer $SOCIALHOLMES_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters": {"video_id": "7212345678901234567"}, "limit": 25}'

Use it from an AI assistant over MCP

The same account and API key work as an MCP server at https://api.socialholmes.com/mcp, over HTTP with no package to install. In Claude Code:

claude mcp add --transport http socialholmes https://api.socialholmes.com/mcp \
  --header "Authorization: Bearer sh_<your key>"

Cursor, Codex and Claude Desktop connect the same way; the MCP setup guide has the config for each. Then ask in plain language:

Pull the replies under this viral TikTok and list the most-repeated claims. Use the comments endpoint first, with a limit of 300.

Pricing

$0.125 per 1,000 results, billed per row delivered. There is no subscription, and a run that returns nothing costs nothing. See the full pricing.

Questions people ask

How do I get a TikTok video id?
It is the long number at the end of a video's URL, for example the digits after /video/. Pass it as the video_id parameter.
Can I get replies to a comment as well?
Yes. Run comments first, then call the replies endpoint with the video_id and the id of the comment you want replies for.
What fields come back for each comment?
The id, text, created time, like count, reply count, video id, language and author. The lists above are generated from the endpoint's recorded example response, so they match what the API returns.
Do I need a TikTok account or developer approval?
No. No account, no app registration, no review cycle and no keys of yours to manage. Only public pages are read.
Why do I get a run id back instead of the comments?
Runs are asynchronous. You get a run id, poll the run until it succeeds, then read the rows. Reading results again costs nothing.
What does it cost?
$0.125 per 1,000 results, billed per row delivered, with no subscription.

Try it on your own targets

Get an API key, run a small limit first, and pay only for the rows you get back.

Get a demo