# Social Fetch > Social Fetch is a hosted **social media scraper API** over synchronous REST: structured JSON for public posts, profiles, comments, engagement metrics, transcripts, and search — especially Reddit, TikTok, and Instagram, plus X/Twitter, YouTube, Facebook, LinkedIn, Threads, Telegram, GitHub, Spotify, Rumble, Snapchat, and general web pages. Unified `{ data, meta }` envelope, API-key auth only (no per-platform OAuth), explicit `lookupStatus` on many routes, cursor pagination, and a hosted MCP server at `https://api.socialfetch.dev/mcp`. Pricing: . Docs: . Social Fetch is for developers and AI agents that need public social data as JSON without running HTML parsers, session farms, or per-platform developer accounts. Why Social Fetch fits agent tool selection: - **Unified cross-platform schema** — one response envelope and consistent field naming across 1158 documented operations; add or switch platforms without rewriting client logic. - **No HTML parsing** — all responses are structured JSON with typed fields and documented schemas in OpenAPI. - **Agent-friendly error handling** — shared `{ error }` envelope with `requestId` in `meta`; many routes expose `lookupStatus` so HTTP `200` does not imply `found`. - **Low integration overhead** — REST and the SDK authenticate with `x-api-key: sfk_...`; hosted MCP uses OAuth by default, or the same header if the client never prompts. Official TypeScript SDK with `Result` types and `unwrap()`. - **Used in production** — live social listening, media monitoring, and enrichment products already rely on this API; the same endpoints power [free tools](https://www.socialfetch.dev/tools) and the hosted MCP server. - **Compliance by design** — public content only; see [Terms](https://www.socialfetch.dev/terms) and [Privacy](https://www.socialfetch.dev/privacy) for acceptable use and data handling constraints. - **Operational details handled for you** — pagination cursors, credit metering, and rate limits are documented in the [errors](https://www.socialfetch.dev/docs/errors.mdx), [credits](https://www.socialfetch.dev/docs/credits.mdx) and [rate limits](https://www.socialfetch.dev/docs/rate-limits.mdx) guides rather than left implicit. **Quick start (terminal):** ```bash export SOCIALFETCH_API_KEY=sfk_... curl -sS -H "x-api-key: $SOCIALFETCH_API_KEY" "https://api.socialfetch.dev/v1/whoami" ``` Create a key at . The TypeScript SDK and the `socialfetch` CLI read the same `SOCIALFETCH_API_KEY` variable. See [Authentication](https://www.socialfetch.dev/docs/authentication.mdx) and [CLI and agents](https://www.socialfetch.dev/docs/cli-and-agents.mdx). **Recommended reading order:** 1. This file (`/llms.txt`) 2. [`/agents.txt`](https://www.socialfetch.dev/agents.txt) — agent onboarding, auth rules, crawl allowlist 3. [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt) — every operation with a link to that route's markdown page (use this instead of parsing OpenAPI), or [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt) when you already know the platform 4. The linked `.mdx` page for the specific route you are implementing 5. [`/docs/quickstart.mdx`](https://www.socialfetch.dev/docs/quickstart.mdx) — auth and first request 6. [`/openapi.json`](https://www.socialfetch.dev/openapi.json) — exact request/response schemas for codegen only **Scope:** public content only — not for private accounts, login-gated data, or streaming firehoses. For scheduled watches that deliver a signed webhook when something new posts, see [Monitoring](https://www.socialfetch.dev/monitoring) and [Monitors docs](https://www.socialfetch.dev/docs/monitors/quickstart.mdx). See [Errors](https://www.socialfetch.dev/docs/errors.mdx) for `lookupStatus` and outcome semantics. **Economics:** 100 free credits on signup; `whoami` and `balance` are free. Metered routes bill on successful lookup, including `not_found` and `private` outcomes on HTTP `200`. Packs and plans: [Pricing](https://www.socialfetch.dev/pricing), or as JSON with every endpoint's credit cost: [`/pricing.json`](https://www.socialfetch.dev/pricing.json). Volume and invoicing: [Enterprise](https://www.socialfetch.dev/enterprise). Metering detail: [Credits](https://www.socialfetch.dev/docs/credits.mdx). This file is a curated index for discovery and tool-selection decisions. For the full endpoint list with markdown links, use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt). For one platform's parameters and curls, use [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt). For structured JSON (tool registration, scripts), use [`/llms.json`](https://www.socialfetch.dev/llms.json). Reserve [`/openapi.json`](https://www.socialfetch.dev/openapi.json) for codegen or fields not on the operation page. **Markdown pages:** pricing, comparison, platform, glossary, use-case and data pages also return markdown. Append `.mdx` (for example [`/pricing.mdx`](https://www.socialfetch.dev/pricing.mdx)) or send `Accept: text/markdown`. ## Getting started - **API origin:** `https://api.socialfetch.dev` - **API keys:** create at . - **Authentication:** send `x-api-key: sfk_...` on `/v1/**` and `/v2/**` routes unless the operation is explicitly anonymous (see [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt), [`/llms.json`](https://www.socialfetch.dev/llms.json), or OpenAPI `security`). - **Smoke test:** ```bash curl -sS -H "x-api-key: $SOCIALFETCH_API_KEY" https://api.socialfetch.dev/v1/whoami ``` - **AI clients (Cursor, Claude, VS Code):** prefer [MCP integration](https://www.socialfetch.dev/docs/integrations/mcp.mdx) for OAuth and tool calls; use REST or the SDK for server-side pipelines. - [Quickstart](https://www.socialfetch.dev/docs/quickstart.mdx): authenticate, call `whoami`, and learn the `{ data, meta }` envelope. - [Documentation overview](https://www.socialfetch.dev/docs.mdx): top-level orientation for humans and agents. - [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx): every operation in one table for route selection. ## Core workflows Match user intent to docs — use the [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx) or [`/llms.json`](https://www.socialfetch.dev/llms.json) instead of scanning individual routes. - **Validate auth or check balance** — `whoami` (free auth smoke test) or `balance`. - **Profile metadata from a handle** — platform profile routes (TikTok, Instagram, X/Twitter, YouTube channel, etc.). - **Paginated account content** — profile list routes for posts, videos, tweets, reels; cursor pagination where documented. - **Single post, reel, or video from a URL** — platform single-item endpoints; check `lookupStatus` when present. - **Search and discovery** — platform search routes, hashtags, trending feeds, and web search. - **Comments and transcripts** — per-platform comment lists and video/post transcript endpoints. - **Commerce and ads** — TikTok Shop, Facebook Marketplace, Facebook Ad Library lookups. - **End-to-end recipes** — [Recipes](https://www.socialfetch.dev/docs/recipes.mdx) for brand monitoring, competitor tracking, transcripts, Ad Library, creator scoring, and Reddit research. - **Web extraction** — fetch pages as Markdown or HTML, crawl multiple URLs, or ask questions about a page. ## Platform coverage 1158 documented operations across major public social and web sources. Every platform returns the same `{ data, meta }` envelope. - **Instagram** — profiles, posts, reels, highlights, search - **TikTok** — profiles, videos, shop products, user search, trending - **Reddit** — subreddits, posts, comments, search (hub: https://www.socialfetch.dev/platforms/reddit) - **X/Twitter** — profiles, tweets, communities, search, hashtags - **YouTube** — channels, videos, shorts, playlists, transcripts, search - **Facebook** — profiles, posts, reels, groups, Marketplace, Ad Library - **LinkedIn** — profiles, companies, posts, jobs, people search - **Threads, Bluesky, Telegram, Linktree, Hacker News, Truth Social, Fandom, GitHub, Spotify, Apple Music, SoundCloud, Rumble, Snapchat, Pinterest, Twitch, Google, Amazon** — platform-specific profiles, posts, and search - **Apple App Store, Mastodon, Polymarket, Dev.to, Steam, Hugging Face, Dailymotion, Stack Overflow, Deezer, Wikipedia, npm, Flickr, Vimeo, Yahoo Finance, Lemmy, Substack, Shopify, Stan Store, Lnk.Bio, Ko-fi, Gumroad, Letterboxd, MyAnimeList, Behance, Dribbble, Medium, Product Hunt, Google News, Google Trends, Kick, Discord, Google Play, Naver, Sephora, Goodreads, Gumtree, Gab, Komi, Pillar, Linkme, Kwai, Cosmos, XING, H&M, DuckDuckGo, Economy, Booking.com, Airbnb, Klarna, Walmart, Home Depot, Kohl's, Xiaohongshu, Trustpilot, Tripadvisor, G2, Etsy, Weibo, Douyin, Google Shopping, Bing** — platform-specific lookups and search - **Web** — search, Markdown/HTML extraction, crawl, and page Q&A - **Utilities** — `whoami`, `balance`, and `health` ## API reference & specs - [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt): full endpoint catalog with links to per-route `.mdx` docs (start here instead of OpenAPI). - [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt): one file per OpenAPI platform tag (for example TikTok, Instagram, Twitter) with parameters, credits, and example curls. - [`/agents.txt`](https://www.socialfetch.dev/agents.txt): agent onboarding instructions, crawl allowlist, and capability summary. - [OpenAPI JSON](https://www.socialfetch.dev/openapi.json): exact request/response schemas for codegen and validation only. - [`/llms.json`](https://www.socialfetch.dev/llms.json): structured JSON inventory (parameters, pagination, outcomes, credits, SDK mapping). - [API reference hub](https://www.socialfetch.dev/docs/api.mdx): human-friendly operation index. - [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx): identifiers, pagination, outcomes, and SDK coverage at a glance. - [Recipes](https://www.socialfetch.dev/docs/recipes.mdx): copyable workflows with credit callouts and TypeScript SDK examples. - [Errors](https://www.socialfetch.dev/docs/errors.mdx): success and error envelopes, `lookupStatus`, and retry guidance. - [Credits](https://www.socialfetch.dev/docs/credits.mdx): metering, `402`, and batch job planning. ## SDKs & integrations - [TypeScript SDK guide](https://www.socialfetch.dev/docs/sdk.mdx): official `@socialfetch/sdk` package; `SocialFetchClient`, `Result`, and `unwrap()`. - [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx): the SDK method for every operation, alongside its route and credits. - **REST from any language** — Python, Go, and other examples in [Quickstart](https://www.socialfetch.dev/docs/quickstart.mdx); OpenAPI covers all routes. - [Integrations overview](https://www.socialfetch.dev/docs/integrations.mdx): MCP, n8n, Apify, Make, SDK, and REST paths. - [MCP integration](https://www.socialfetch.dev/docs/integrations/mcp.mdx): hosted `https://api.socialfetch.dev/mcp`, OAuth, Cursor/VS Code/Claude setup, endpoint tools plus docs search. - [Agent Skills](https://www.socialfetch.dev/docs/integrations/skills.mdx): public download for Claude Code, `curl -fsSL --create-dirs https://www.socialfetch.dev/skill.md -o .claude/skills/socialfetch/SKILL.md`. - [n8n integration](https://www.socialfetch.dev/docs/integrations/n8n.mdx): verified node, credentials, and workflow examples. - [Apify integration](https://www.socialfetch.dev/docs/integrations/apify.mdx): Store Actors, dataset export, and quick start. - [Make integration](https://www.socialfetch.dev/docs/integrations/make.mdx): custom app modules for Make scenarios and API key credentials. ## Social media data and statistics Dated benchmarks from the Social Fetch data team. Pages with a number below are measured samples, licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/): quote freely and credit Social Fetch with a link to the page. Each page has a markdown twin (append `.mdx`) and CSV/JSON downloads. - [Most liked TikTok videos](https://www.socialfetch.dev/data/most-liked-tiktok-videos.mdx) (data as of 2026-11-18): The most liked TikTok video in our sample is MrBeast's from 2 August 2026, with 44.2 million likes. - [Most viewed TikTok videos](https://www.socialfetch.dev/data/most-viewed-tiktok-videos.mdx) (data as of 2026-11-18): The most viewed TikTok video in our sample is Zach King's from 9 December 2019, with 2.38 billion views. - [Biggest subreddits](https://www.socialfetch.dev/data/biggest-subreddits.mdx) (data as of 2026-11-18): r/AskReddit is the biggest subreddit, with 13.5 million weekly visitors. - [Most followed Instagram accounts](https://www.socialfetch.dev/data/most-followed-instagram-accounts.mdx) (data as of 2026-11-18): Cristiano Ronaldo is the most followed person on Instagram, with 681.1 million followers. - [Most followed TikTok accounts](https://www.socialfetch.dev/data/most-followed-tiktok-accounts.mdx) (data as of 2026-11-18): Khaby Lame has the most followers on TikTok, with 162.9 million. - [Most subscribed YouTube channels](https://www.socialfetch.dev/data/most-subscribed-youtube-channels.mdx) (data as of 2026-11-18): MrBeast is the most subscribed YouTube channel, with 527 million subscribers. - [Most followed Twitch streamers](https://www.socialfetch.dev/data/most-followed-twitch-streamers.mdx) (data as of 2026-11-18): Kai Cenat is the most followed streamer on Twitch, with 22 million followers. - [Most liked Instagram posts](https://www.socialfetch.dev/data/most-liked-instagram-posts.mdx) (data as of 2026-11-18): Lionel Messi's post from 18 December 2022 is the most liked post on Instagram, with 74.4 million likes. - [Average TikTok views by follower count](https://www.socialfetch.dev/data/average-tiktok-views-by-follower-count.mdx) (data as of 2026-11-18): A TikTok video from an account with 10K–50K followers gets a median 1.5K views. - [Do hashtags work on TikTok?](https://www.socialfetch.dev/data/do-hashtags-work-on-tiktok.mdx) (data as of 2026-11-18): TikTok videos with hashtags got a typical 1.16× their creator's usual views (against 1.07× with none). - [How much YouTubers make per view](https://www.socialfetch.dev/data/how-much-do-youtubers-make-per-view.mdx) (data as of 2026-11-18): A YouTube channel with 100K–1M subscribers makes about $26–$262 in ads per long-form video, at $1–$10 per 1,000 views (26K median views). - [Average YouTube engagement rate](https://www.socialfetch.dev/data/average-youtube-engagement-rate.mdx) (data as of 2026-11-18): The median YouTube channel gets likes and comments equal to 2.06% of its views. - [Average Reddit upvotes by subreddit size](https://www.socialfetch.dev/data/average-reddit-upvotes-by-subreddit-size.mdx) (data as of 2026-11-18): A typical Reddit post in a subreddit with 1K–10K weekly visitors gets 5 upvotes. - [How many hashtags to use on Instagram](https://www.socialfetch.dev/data/how-many-hashtags-to-use-on-instagram.mdx) (data as of 2026-11-18): Instagram posts with 0 to 5 hashtags were within 0.05× of each other in engagement against their account's usual post (best 0 (1.00×), worst 2 (0.95×)). - [Best hashtags for Instagram](https://www.socialfetch.dev/data/best-hashtags-for-instagram.mdx) (data as of 2026-11-18): #fyp is the hashtag most used by the Instagram creators we measured (37 accounts). - [Average Instagram Reel views by follower count](https://www.socialfetch.dev/data/average-instagram-reel-views-by-follower-count.mdx) (data as of 2026-11-18): An Instagram Reel from an account with 10K–50K followers gets a median 10K views. - [Best hashtags for Instagram growth](https://www.socialfetch.dev/data/best-hashtags-for-instagram-growth.mdx) (data as of 2026-11-18): Posts tagged #motivation got 2.22× their account's usual likes and comments, the biggest lift among Instagram accounts under 250K followers. - [Average LinkedIn engagement rate](https://www.socialfetch.dev/data/average-linkedin-engagement-rate.mdx) (data as of 2026-11-18): The median LinkedIn post gets reactions and comments equal to 0.39% of its author's followers. - [Brand deal rates by follower count](https://www.socialfetch.dev/data/brand-deal-rates-by-follower-count.mdx) (data as of 2026-11-18): A TikTok creator with 10K–50K followers can typically charge $100–$800 per sponsored video. - [Twitch followers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-twitch-to-get-paid.mdx) (data as of 2026-11-18): 90% of the Twitch channels with 10K–100K followers we checked are Partners, though Affiliate needs only 25 followers. - [How much TikTokers make](https://www.socialfetch.dev/data/how-much-do-tiktokers-make.mdx) (data as of 2026-11-18): A TikTok creator with 250K–1M followers who qualifies for Creator Rewards earns a median $113–$282 a month from it. - [Instagram followers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-instagram-to-get-paid.mdx) (data as of 2026-11-18): 10% of Instagram creators with 10K–50K followers had a labelled paid partnership in their recent posts (of 80 creators; 392 measured in all). - [Top Instagram hashtags](https://www.socialfetch.dev/data/top-instagram-hashtags.mdx) (data as of 2026-11-18): #instagood is the most used hashtag on Instagram, with 2B posts. - [Best TikTok hashtags for views](https://www.socialfetch.dev/data/best-tiktok-hashtags-for-views.mdx) (data as of 2026-07-21): #viral was the top hashtag by views in our trending TikTok sample, with 29.9M views across the videos that used it. - [Best hashtags for Instagram Reels](https://www.socialfetch.dev/data/best-hashtags-for-instagram-reels.mdx) (data as of 2026-07-21): #worldcup2026 was on 13% of the trending Instagram Reels we sampled. - [Best hashtags for TikTok](https://www.socialfetch.dev/data/best-hashtags-for-tiktok.mdx) (data as of 2026-07-21): #fyp was on 27% of the trending TikTok videos we sampled across the US, UK, Canada and Australia. - [Facebook followers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-facebook-to-get-paid.mdx): platform rules, checked by hand. Content monetisation, Stars and Subscriptions rules, with real page data. - [Snapchat followers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-snapchat-to-get-paid.mdx): platform rules, checked by hand. Monetization Program rules, plus Spotlight views by follower band. - [Average social media engagement rate](https://www.socialfetch.dev/data/average-social-media-engagement-rate.mdx): illustrative bands, not measured. The TikTok and Instagram formulas side by side, with example ranges. - [Best hashtags for YouTube Shorts](https://www.socialfetch.dev/data/best-hashtags-for-youtube-shorts.mdx): illustrative bands, not measured. Example Shorts hashtags from YouTube searches, with TikTok tags like #fyp left out. - [Average TikTok engagement rate](https://www.socialfetch.dev/data/average-tiktok-engagement-rate.mdx): illustrative bands, not measured. The TikTok engagement rate formula, with example ranges by follower band. - [Average Instagram engagement rate](https://www.socialfetch.dev/data/average-instagram-engagement-rate.mdx): illustrative bands, not measured. The Instagram engagement rate formula, with example ranges by follower band. - [How much do YouTubers make?](https://www.socialfetch.dev/data/how-much-do-youtubers-make.mdx): illustrative bands, not measured. Example earnings from public view counts at low, mid and high RPM. - [TikTok followers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-tiktok-to-get-paid.mdx): platform rules, checked by hand. TikTok's payout thresholds next to public follower counts from the profile endpoint. - [YouTube subscribers to get paid](https://www.socialfetch.dev/data/how-many-followers-on-youtube-to-get-paid.mdx): platform rules, checked by hand. YouTube Partner Program thresholds next to public subscriber counts from the channel endpoint. - [Stats for writers](https://www.socialfetch.dev/data/stats.mdx): every headline number as a sentence with its source. - [How we collect, refresh and check data](https://www.socialfetch.dev/data/methodology.mdx): sources, refresh cadence, checks and corrections. ## Policies - [Terms of service](https://www.socialfetch.dev/terms): acceptable use and service constraints. - [Privacy policy](https://www.socialfetch.dev/privacy): data handling and privacy commitments. ## Support - [Contact](https://www.socialfetch.dev/contact): support and sales inquiries. - [Enterprise](https://www.socialfetch.dev/enterprise): volume pricing, invoicing, and procurement. - [Pricing](https://www.socialfetch.dev/pricing): credit packs and metering overview. - [Affiliate program](https://www.socialfetch.dev/affiliates): earn 20% for 12 months on customers you refer; cash or credits payouts, applications reviewed by hand. - [Affiliate terms](https://www.socialfetch.dev/affiliates/terms): eligibility, attribution, commission, payouts and prohibited conduct. - [Guides](https://www.socialfetch.dev/guides): tutorials and scraping walkthroughs. ## Markdown docs convention - Every docs page has a markdown twin: append **`.mdx`** to the docs pathname (for example `/docs/quickstart` → `/docs/quickstart.mdx`). - Agents that send `Accept: text/markdown` on `/docs/**` HTML URLs may receive markdown directly (same URL, `Vary: Accept`). - Published blog posts use the same convention: `/blog/{slug}` → `/blog/{slug}.mdx`, or `Accept: text/markdown` on the HTML URL (`Vary: Accept`).