# Search TikTok for a keyword and get the videos back as rows

Give a keyword. RouterGrowth searches TikTok and returns the matching public videos as records: video URL, caption, author, date, views, likes, replies and reposts. There is no headless browser on your side, no rotating proxies and no scraper to fix when TikTok changes.

HTML page: https://www.routergrowth.com/tools/tiktok/scraper
Part of: [TikTok tools](https://www.routergrowth.com/tools/tiktok.md)

## The call

[`social.search`](https://www.routergrowth.com/catalog/social.search): Public posts matching a keyword on X, LinkedIn, Reddit, YouTube, TikTok, Instagram or Facebook: brand mentions, category conversations, competitor chatter.

Price on this network: $0.00525 per post plus $0.00175 per call, $0.002 minimum a call. The exact quote is shown before every run.

## What a real run returned

Run on 2026-10-19: 5 records in 5.6 s for $0.028. Personal fields are masked. Five TikTok videos for "standing desk setup". Three of them tag a desk brand in the caption, which is the lead for a brand or affiliate list.

| created_at | text | views | likes |
|---|---|---|---|
| 2026-03-21 | This @FlexiSpot UK Standing desk frame is an game changer, Invest in your back if you do a lot of working from home or gaming #desksetup #d… | 19400 | 302 |
| 2026-09-14 | Small space - BIG desk upgrade 💫 This 35 in standing desk was exactly what I was looking for! 😊 🔗 in my Amazon storefront 💗 #desksetup #sta… | 6939 | 225 |
| 2026-02-08 | the most aesthetic standing desk 🤍💫 I LOVE the wood surrounding this @Vernal desk on 3 sides! It’s like a little privacy shield and hides c… | 50400 | 444 |

## How to do it

1. **Connect once.** Add RouterGrowth to Claude, Cursor or Claude Code. There is no scraper to deploy.
2. **Type the keyword.** Pass the phrase and a limit with platform tiktok. Results are matched by TikTok's own search, not only by hashtag.
3. **Read the videos.** Each record has the video URL, caption, author, date and engagement: views, likes, replies and reposts.
4. **Follow up.** Send the creators to social.profile for followers and bio links, or a video to social.comments for what viewers asked.

## Ask it like this

- Scrape 30 TikTok videos for "standing desk setup" and list every desk brand tagged in the captions. (`social.search`)
- Find TikTok creators posting about home office setups and give me their followers and website. (`social.search`, `social.profile`)

## Connect

MCP server: `https://api.routergrowth.com/mcp`

```bash
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
```

```bash
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.search -i '{"platform": "tiktok", "query": "standing desk setup", "limit": 5}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "social.search", "input": {"platform": "tiktok", "query": "standing desk setup", "limit": 5}}'
```

## Worth knowing

- **Not sorted by date.** Search results mix ages: this run held videos from 2023 to 2026. Filter on created_at when you need recent ones.
- **No blocks to manage.** Providers, retries and fallbacks run on the RouterGrowth side. A run that returns nothing is not charged.
- **Captions, not transcripts.** The text is the caption the creator wrote. The scraper does not download the video or transcribe it.

## Questions

### Do I need proxies or a TikTok account?

No. The fetch runs on RouterGrowth's providers and reads public videos only.

### Can I search a hashtag?

Yes. Pass the hashtag as the query; a plain phrase works too.

### What engagement data comes back?

Views, likes, replies and reposts for each video, with its date.

### Can it download the videos?

No. It returns the video URL and its data, not the media file.

## Related

- [Read a TikTok account's recent videos through one REST or MCP call](https://www.routergrowth.com/tools/tiktok/api.md)
- [Scrape the recent videos of a TikTok account, with their numbers](https://www.routergrowth.com/tools/tiktok/video-scraper.md)
- [Research a topic on TikTok without applying for the Research API](https://www.routergrowth.com/tools/tiktok/research-api.md)
- [Scrape a brand's TikTok profile into one record your agent can use](https://www.routergrowth.com/tools/tiktok/profile-scraper.md)
- [Scrape the comments under a TikTok video and read what viewers ask](https://www.routergrowth.com/tools/tiktok/comments-scraper.md)
- [How TikTok video data is billed: quoted before the run, charged per video](https://www.routergrowth.com/tools/tiktok/api-pricing.md)
- [Search TikTok from a Python script and get videos back as JSON](https://www.routergrowth.com/tools/tiktok/api-python.md)
