SocialHolmes

A TikTok hashtag API for trend and campaign data

Give SocialHolmes a hashtag and a limit and it returns public TikTok videos posted under it, with play, like, comment, share and save counts. A second endpoint finds related hashtags with their view counts. Both bill at $0.125 per 1,000 results.

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 hashtag — one video per row

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

TikTok search hashtags — one hashtag per row

id name url description cover_url view_count post_count is_commerce cover

Three ways to find videos

The hashtag endpoint returns videos under one tag. The search endpoint returns videos matching a phrase, and hashtags and phrases both work in it. The sound_videos endpoint returns videos using a given sound, taking the numeric id found in the music field of any video result. Each row is a video with its own counts, so you can compare them directly.

{"search_hashtags goes the other way" => "give it a keyword and it returns matching hashtags with their view counts and post counts, which is a quick way to build a list of tags worth tracking."}

What a row tells you

A video row carries the caption, posting time, duration, region, play, like, comment, share and save counts, the hashtags used, the music, whether the video is an ad or pinned, and the author. That is enough to rank a campaign's videos by reach, see who is posting most, and find the sounds that go with a tag.

Where you need the conversation as well as the videos, take a video's id from a hashtag run and call the comments endpoint on it.

Using it for brand and campaign monitoring

Run the same hashtag on a schedule you control and compare the results, since each call reads the page at that moment rather than a stored copy. Because billing is per row delivered, a small limit gives you a cheap sample before you commit to a larger pull.

The largest limit you can request in one run is 10,000. A run that returns nothing costs nothing.

Example request

The tag can be passed with or without the leading 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/hashtag \
  -H "Authorization: Bearer $SOCIALHOLMES_KEY" \
  -H "Content-Type: application/json" \
  -d '{"parameters": {"tag": "spacex"}, "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 last 200 TikTok videos under #climatestrike and chart posting by week, then list the five hashtags that appear most alongside it.

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

Does the tag need a
No. The parameter accepts the tag with or without the
How many videos can I pull for one hashtag?
You set limit, which is both the number of rows you want and the most the run can bill. The largest limit for one run is 10,000.
Can I find hashtags related to a keyword?
Yes. The search_hashtags endpoint takes a keyword and returns matching hashtags with view counts.
Can I use it from Claude or Cursor?
Yes. The same account and key work as an MCP server, so an assistant can run hashtag pulls for you and chart the rows.
Is it only public data?
Yes. Everything is a page that any logged-out visitor can already see.
What does it cost?
$0.125 per 1,000 results, billed per row delivered. A run that returns nothing costs nothing.

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