How to scrape TikTok and Instagram with Claude

Source review · Checked . Based on the linked documentation and tool definitions. Examples are illustrative unless a run receipt is provided. Editorial standards
To scrape TikTok or Instagram with Claude, connect ToolRouter as a custom connector, then ask Claude for a handle's profile and recent posts. Claude calls Social Profiles for follower counts and Social Media Content for the latest videos, each with views, likes, comments and shares. No scraper to host, no proxies and no TikTok or Meta developer account.
Claude cannot read TikTok or Instagram on its own: its web fetch gets a login wall or an empty JavaScript shell. The tools below return the data as JSON that Claude can sort, chart and summarise.
What you can pull
| Job | Tool and skill | Input |
|---|---|---|
| Followers, likes, video count | Social Profiles: get_tiktok_profile, get_instagram_profile, get_youtube_channel, get_twitter_profile | Handle |
| Latest videos or posts with metrics | Social Media Content: get_tiktok_videos, get_instagram_posts, get_instagram_reels, get_youtube_shorts | Handle |
| One video or post | Social Media Content: get_tiktok_video, get_instagram_post | Post URL |
| Comments on a post | Social Reader: read_comments | Post URL (TikTok, YouTube, Instagram, Facebook, Reddit, X, Threads) |
| Keyword, hashtag and reels search | Social Media Search: search_tiktok_keywords, search_tiktok_hashtags, search_instagram_reels | Query or hashtag |
The same tools cover Facebook pages, LinkedIn company posts, Threads, Bluesky, Pinterest, Reddit, Twitch and more. Each paid call is billed at max($0.005, provider cost), and the social calls in this guide each cost $0.005. Failed paid calls are not charged. See Billing.
Connect once
In Claude, open Customize → Connectors → + → Add custom connector and use:
- Name:
ToolRouter - URL:
https://api.toolrouter.com/mcp
For Claude Code:
claude mcp add toolrouter -- npx -y toolrouter-mcpOther assistants are covered in Connect. The first paid call returns a link to claim the account and add credits.
A real run: Duolingo on TikTok
We ran this on 5 October 2026. The prompt:
Use ToolRouter. Get the TikTok profile for duolingo, then its latest videos.
Give me a table of date, caption, views, likes, comments and shares,
leave out pinned videos, and tell me which formats drive comments.get_tiktok_profile returned 18.2 million followers, 502.6 million likes and 1,194 videos. get_tiktok_videos returned the 10 most recent videos, one of them pinned. The nine unpinned ones:
| Posted | Caption (start) | Views | Likes | Comments | Shares |
|---|---|---|---|---|---|
| 5 Oct | proof that tacos are a language | 33,929 | 2,335 | 177 | 257 |
| 2 Oct | can you tell i'm bulking rn | 477,685 | 56,456 | 1,940 | 14,747 |
| 2 Oct | new job who dis @tacobell | 98,413 | 6,676 | 418 | 356 |
| 1 Oct | meet @tacobell's new employee | 497,357 | 59,923 | 1,448 | 10,442 |
| 1 Oct | @tacobell | 97,371 | 4,509 | 343 | 218 |
| 30 Sep | translate this. wrong answers only | 198,199 | 5,220 | 17,356 | 639 |
| 29 Sep | melodians, wya? (Brawl Stars quest) | 342,353 | 31,398 | 41,783 | 3,170 |
| 28 Sep | i wish i were a bird | 1,160,307 | 230,528 | 8,536 | 33,185 |
| 25 Sep | this lesson was ez | 1,194,217 | 131,945 | 6,907 | 43,739 |
Median views across the nine: 342,353. The two posts with a direct ask in the caption ("wrong answers only", "wya?") drew 17,356 and 41,783 comments, far more than videos with twice the views. That is the kind of pattern you get from the numbers and would miss by scrolling the feed. Figures are live counts at the time of the call; check the account for current numbers.
Connect your assistant, then try the task described in this guide.
Prompts that work
- Creator vetting: "Get the TikTok profile and latest videos for @handle. Work out median views and engagement rate (likes plus comments divided by views) and flag big swings between posts."
- Competitor audit: "Pull the latest Instagram reels for these three brands and group them by hook and format. Rank by views."
- Audience language: "Read the comments on this TikTok and list the five most repeated questions in the commenters' own words."
- Trend check: "Search TikTok for the hashtag booktok and give me the top videos from the last week with view counts."
To see what the same brands pay to promote, read How to see competitor ads in Claude.
Limits
- Public content only. Private accounts, deleted posts and region-locked videos come back empty or as an error.
- Feeds return a page of recent items. TikTok returned 10 videos per call in our run. The raw response for those 10 is large, so ask for one handle at a time.
- Handles go without the @. Facebook, LinkedIn and Pinterest skills take full URLs instead of handles.
- Counts move. Views and likes are live at call time. Record when you pulled them.
- Data access is not a licence to republish. Reading a public post does not grant rights to reuse its video or images.
Install the matching agent skill so Claude or Codex knows every operation without discovering it first:
pnpm dlx skills add Humanleap/agent-skills --skill social-media-scraperThen open Social Media Content or connect at toolrouter.com/connect.
*Checked 5 October 2026 against the live tool schemas and calls to get_tiktok_profile and get_tiktok_videos for the public Duolingo account.*


