Social media

Social media scraping APIs

Posts, profiles, comments and transcripts from X, Reddit, TikTok, Instagram, YouTube, Facebook, LinkedIn and more.

One API key, REST or MCP. Pay per result from a prepaid balance — failed runs pay only for what they delivered.

X (Twitter)InstagramTikTokYouTubeLinkedInRedditlovelyjsoninput"searchTerms": ["\"gemini argon\" min…"maxItems": 20"queryType": "Top"

Search X (Twitter) posts

X (Twitter)

Tweets matching search terms, hashtags or from given handles: text, author, engagement, date. Each search term takes X's advanced search operators (from:, since:, min_faves:, filter:, lang: …).

$0.000388 / tweetDetails →

Get X (Twitter) profiles

X (Twitter)

Profile details for X/Twitter handles: bio, followers, following, verification, counts.

$0.000375 / profileDetails →

Get Instagram profiles

Instagram

Instagram profile details by username: bio, followers, posts count, recent posts.

$0.00345 / profileDetails →

Get Instagram posts

Instagram

Recent posts from Instagram profiles: caption, likes, comments count, media, owner with follower counts, date.

$0.001225 / postDetails →

List Instagram comments

Instagram

Comments on Instagram posts or reels by URL: text, likes, replies count, author, date.

$0.00125 / commentDetails →

Search TikTok videos

TikTok

TikTok videos for keywords or hashtags: caption, views, likes, shares, author, music.

$0.00045 / videoDetails →

Get TikTok profile videos

TikTok

A TikTok account's videos with the author's follower and like counts.

$0.00045 / videoDetails →

List TikTok comments

TikTok

Comments on a TikTok video by URL.

$0.00045 / commentDetails →

Search YouTube videos

YouTube

YouTube videos for search keywords, or from YouTube links (search results, channel, playlist or video URLs): title, views, likes, comments count, duration, channel, date.

$0.00125 / videoDetails →

Get a YouTube transcript

YouTube

Full transcripts (captions) of YouTube videos, with timestamps: one per video link, in the language you ask for when the video has it.

$0.002475 / transcriptDetails →

List YouTube comments

YouTube

Comments on YouTube videos or Shorts: text, likes, replies count, author, date. Sorted by top or latest.

$0.00125 / comment + $0.0025 / callDetails →

Get LinkedIn posts

LinkedIn

Recent posts from LinkedIn profiles or company pages, with engagement counts.

$0.003 / postDetails →

Search Reddit posts

Reddit

Reddit posts for a query or subreddit: title, body, score, comments count, author, date.

$0.0057 / postDetails →

Get Reddit comments

Reddit

A Reddit thread's post and comments by URL: text, score, author, date, reply depth.

$0.00125 / item + $0.01 / callDetails →

Get Facebook page posts

Facebook

Posts from public Facebook pages (or groups): text, reactions, comments and shares counts, photos, date.

$0.0025 / post + $0.0015 / callDetails →

Get Threads posts

Threads

Threads posts from users, a keyword search or a thread: text, likes, replies, reposts, views, media, date.

$0.0045 / postDetails →

Search Pinterest pins

Pinterest

Pinterest pins for a search: image, title, link, saves.

$0.00015 / pin + $0.00225 / callDetails →

Get Telegram channel messages

Telegram

Messages from public Telegram channels posted on or after oldestMessageDate (YYYY-MM-DD).

$0.003 / messageDetails →

Search Xiaohongshu notes

Xiaohongshu

Xiaohongshu (RED) notes for a keyword.

$0.007485 / itemDetails →

Search Douyin videos

Douyin

Douyin videos for keywords.

$0.007485 / videoDetails →

Search Weibo

Weibo

Weibo posts for a keyword.

$0.012 / result + $0.021 / callDetails →

Get Instagram Reels

Instagram

Reels from Instagram profiles: caption, views, likes, comments, video URL, date.

$0.001225 / reelDetails →

Instagram hashtag posts

Instagram

Posts or reels for Instagram hashtags or keywords: caption, likes, comments, author, media.

$0.001225 / postDetails →

Search Instagram

Instagram

Search Instagram for users, places or hashtags by keyword.

$0.00345 / resultDetails →

Get Facebook group posts

Facebook

Posts from public Facebook groups: text, author, reactions, comments count, date.

$0.001725 / post + $0.005 / callDetails →

List Facebook comments

Facebook

Comments on public Facebook posts or reels by URL.

$0.00062 / comment + $0.0015 / callDetails →

Get YouTube channel videos

YouTube

Videos from YouTube channels (handles such as @MrBeast, or channel URLs): title, views, likes, comments count, duration, date.

$0.00125 / videoDetails →

Get YouTube Shorts

YouTube

Shorts from YouTube channels: title, views, likes, comments, date.

$0.00125 / shortDetails →

Get LinkedIn company posts

LinkedIn

Recent posts from LinkedIn company pages with engagement counts.

$0.003 / postDetails →

Get TikTok transcripts

TikTok

Spoken-word transcripts of TikTok videos by URL.

$0.0015 / transcriptDetails →

Get X (Twitter) post replies

X (Twitter)

Replies to X/Twitter posts by URL: text, author, engagement, date.

$0.000375 / reply + $0.00075 / callDetails →

Get Douyin profile posts

Douyin

Recent posts (videos and image posts) from Douyin creator profiles: caption, date, plays, likes, comments, shares, music, author stats.

$0.0075 / post + $0.0015 / callDetails →

Get Douyin video details

Douyin

Douyin videos by link: caption, title, date, plays, likes, comments, shares, hashtags, music, author, and the video and audio stream links.

$0.0075 / video + $0.0075 / callDetails →

Search Tinder profiles

Tinder

Public Tinder profile pages that match a name or keyword: username, display name, profile link and page snippet.

$0.006 / profileDetails →

Find accounts by username

Social media

Check where a username exists across 400+ social networks, forums and sites (Sherlock): returns the profile links found for each username. Some matches can be false positives.

$0.007 / usernameDetails →

Hand it to your AI agent

Copy this prompt into Claude Code, Cursor, Codex or any coding agent. It tells the agent where the docs are and how to use your API key.

Use the Lovely Router Social media data tools to get data for me. They return JSON and are billed per result.

- Docs (read first): https://lovelyrouter.com/docs/tools.md and https://lovelyrouter.com/docs/tools/run.md and https://lovelyrouter.com/docs/api/tools.md
- Tools for this:
  - `x-search`: Search X (Twitter) posts ($0.000388 / tweet)
  - `x-profile`: Get X (Twitter) profiles ($0.000375 / profile)
  - `instagram-profile`: Get Instagram profiles ($0.00345 / profile)
  - `instagram-posts`: Get Instagram posts ($0.001225 / post)
  - `instagram-comments`: List Instagram comments ($0.00125 / comment)
  - `tiktok-search`: Search TikTok videos ($0.00045 / video)
  - `tiktok-profile`: Get TikTok profile videos ($0.00045 / video)
  - `tiktok-comments`: List TikTok comments ($0.00045 / comment)
  - `youtube-search`: Search YouTube videos ($0.00125 / video)
  - `youtube-transcript`: Get a YouTube transcript ($0.002475 / transcript)
  - `youtube-comments`: List YouTube comments ($0.00125 / comment + $0.0025 / call)
  - `linkedin-posts`: Get LinkedIn posts ($0.003 / post)
  - `reddit-search`: Search Reddit posts ($0.0057 / post)
  - `reddit-comments`: Get Reddit comments ($0.00125 / item + $0.01 / call)
  - `facebook-posts`: Get Facebook page posts ($0.0025 / post + $0.0015 / call)
  - `threads-posts`: Get Threads posts ($0.0045 / post)
  - `pinterest-search`: Search Pinterest pins ($0.00015 / pin + $0.00225 / call)
  - `telegram-channel`: Get Telegram channel messages ($0.003 / message)
  - `xiaohongshu-search`: Search Xiaohongshu notes ($0.007485 / item)
  - `douyin-search`: Search Douyin videos ($0.007485 / video)
  - `weibo-search`: Search Weibo ($0.012 / result + $0.021 / call)
  - `instagram-reels`: Get Instagram Reels ($0.001225 / reel)
  - `instagram-hashtag`: Instagram hashtag posts ($0.001225 / post)
  - `instagram-search`: Search Instagram ($0.00345 / result)
  - `facebook-groups`: Get Facebook group posts ($0.001725 / post + $0.005 / call)
  - `facebook-comments`: List Facebook comments ($0.00062 / comment + $0.0015 / call)
  - `youtube-channel`: Get YouTube channel videos ($0.00125 / video)
  - `youtube-shorts`: Get YouTube Shorts ($0.00125 / short)
  - `linkedin-company-posts`: Get LinkedIn company posts ($0.003 / post)
  - `tiktok-transcript`: Get TikTok transcripts ($0.0015 / transcript)
- Run: POST https://lovelyrouter.com/v1/tools/<id>/run with `{"input": {...}, "max_results": N}`. A 200 has the finished run with `items`; a 202 means it is still running, so poll the `poll` path until `status` is `succeeded`, `failed`, `timed_out` or `stopped`.
- Each tool takes its own input fields: read them with GET https://lovelyrouter.com/v1/tools/<id> (public, no key needed) before the first run.
- If you support MCP, you can instead connect the server https://lovelyrouter.com/mcp (Streamable HTTP, same key; https://lovelyrouter.com/docs/tools/mcp.md) and use suggest_tools, get_tool and run_tool.
- Auth: read my API key from the LOVELY_API_KEY environment variable and send it as `Authorization: Bearer $LOVELY_API_KEY`. Never print or commit the key. If it is not set, ask me to create one at https://lovelyrouter.com/app/keys.
- Billing is prepaid: every call is charged to my balance, so test with a small request before running anything large.
- Every docs page is plain Markdown; the full index is https://lovelyrouter.com/llms.txt.

My task: <describe the data you need and the output format>
curl https://lovelyrouter.com/v1/tools/x-search/run \
  -H "Authorization: Bearer $LOVELY_API_KEY" \
  -H "content-type: application/json" \
  -d '{"input":{"searchTerms":["\"gemini argon\" min_faves:50 -filter:replies since:2026-10-01 lang:en"],"maxItems":20,"queryType":"Top"},"max_results":10}'

Each tool page lists its input fields and an example input. Agents can use every tool over MCP: MCP server

Frequently asked questions

Which tools are in this category?

35 tools: Search X (Twitter) posts, Get X (Twitter) profiles, Get Instagram profiles, Get Instagram posts, List Instagram comments, Search TikTok videos, Get TikTok profile videos, List TikTok comments, Search YouTube videos, Get a YouTube transcript, List YouTube comments, Get LinkedIn posts, Search Reddit posts, Get Reddit comments, Get Facebook page posts, Get Threads posts, Search Pinterest pins, Get Telegram channel messages, Search Xiaohongshu notes, Search Douyin videos, Search Weibo, Get Instagram Reels, Instagram hashtag posts, Search Instagram, Get Facebook group posts, List Facebook comments, Get YouTube channel videos, Get YouTube Shorts, Get LinkedIn company posts, Get TikTok transcripts, Get X (Twitter) post replies, Get Douyin profile posts, Get Douyin video details, Search Tinder profiles, Find accounts by username. Each returns JSON and has its own page with its input fields and price.

Is this a social media scraping API?

Yes. If you searched for a social media scraping API, a social media data API or a social media comments scraper, this is it: Posts, profiles, comments and transcripts from X, Reddit, TikTok, Instagram, YouTube, Facebook, LinkedIn and more.

How are these tools priced?

Each tool has its own price per result, from $0.00015. You pay only for results delivered, from a prepaid balance with no subscription.

Can AI agents use these tools?

Yes. Connect Claude Code, Cursor or any MCP client to the Lovely Router MCP server and the agent picks the right tool with suggest_tools and runs it with run_tool.

Can I use the data any way I like?

You are responsible for using the data lawfully, including privacy law when results contain personal data. See the Acceptable Use Policy.

Acceptable Use Policy · Use cases · Pricing