# Export the comments of a TikTok video into a CSV or a sheet

Paste a TikTok video URL. social.comments returns its comments as flat records (text, author, likes, reply count, time and link), which an agent writes straight into a CSV file or a Google Sheet, one row per comment. Good for tagging questions, complaints and requests by hand or by model.

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

## The call

[`social.comments`](https://www.routergrowth.com/catalog/social.comments): Comments on one public post URL (YouTube, TikTok, Instagram, LinkedIn, Reddit, and replies to a post on X): text, author, likes, replies, time.

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

## What a real run returned

Run on 2026-10-26: 15 records in 21.3 s for $0.03. Personal fields are masked. Fifteen comments on a Duolingo Halloween video, starting with the brand's own comment, in English and Spanish.

| text | author | likes | replies |
|---|---|---|---|
| btw i have some new costumes in the app for my halloween baddies | @du*** | 202 | 11 |
| IM GONNA LEARN SPANISH! | @cl*** | 101 | 3 |
| Duolingo bird as Fortnite sidekick when? | @de*** | 16 | 2 |

## How to do it

1. **Pick the video.** Paste its URL, or list a brand's recent videos with social.posts and pick one.
2. **Call social.comments.** Set the limit to the number of rows you want in the file.
3. **Write the file.** Each comment maps to one row: text, author, likes, replies, created_at, url. The agent writes the CSV or appends the rows to a sheet.
4. **Tag the rows.** Add a column for question, complaint or request and let a model or a person fill it.

## Ask it like this

- Export the comments of this TikTok video to a CSV with text, likes and time. (`social.comments`)
- Take Duolingo's three latest TikToks and put all their comments in one Google Sheet, one tab per video. (`social.posts`, `social.comments`)

## 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.comments -i '{"url": "https://www.tiktok.com/@duolingo/video/7699556074591948062", "platform": "tiktok", "limit": 15}'
```

```bash
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "social.comments", "input": {"url": "https://www.tiktok.com/@duolingo/video/7699556074591948062", "platform": "tiktok", "limit": 15}}'
```

## Worth knowing

- **The agent writes the file.** The call returns JSON records. Your agent or script turns them into a CSV or writes them to Sheets; there is no file download.
- **Mask before sharing.** Commenters are people. Mask the author column in any sheet that leaves your team.
- **Mixed languages.** Comments on a global brand arrive in several languages. Add a language column if you split by market.

## Questions

### Can I export a whole video's comments?

Set a higher limit. You pay per comment returned, so a large export is priced by its size.

### Are replies to comments included?

Each comment carries its reply count. The comments returned are the ones under the video.

### Which columns do I get?

text, author, likes, replies, created_at and url for every comment.

### Do I need a TikTok account?

No. One RouterGrowth key reads public videos. RouterGrowth is independent of TikTok.

## Related

- [Search a TikTok hashtag and see which videos carry it](https://www.routergrowth.com/tools/tiktok/hashtag-search.md)
- [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)
- [Search TikTok for a keyword and get the videos back as rows](https://www.routergrowth.com/tools/tiktok/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)
