Social Media Scraper API for Eight Platforms
Profiles, posts, videos, comments and transcripts from eight social platforms.
The Social API returns profiles, posts, videos, comments, transcripts and search results from eight platforms as named fields, not as a page to parse. It reads only public data. A call is charged only when data comes back.
/v1/social/{platform}/{endpoint}
GET
/v1/social
Request
The path names the platform and the endpoint, and the JSON body carries that endpoint's inputs. This reads a YouTube transcript:
import requestsr = requests.post( 'https://api.snoopscan.com/v1/social/youtube/transcript', headers={'Authorization': 'Bearer sk_YOUR_KEY'}, json={ 'id': 'dQw4w9WgXcQ' },)print(r.json())
const r = await fetch('https://api.snoopscan.com/v1/social/youtube/transcript', { method: 'POST', headers: { Authorization: 'Bearer sk_YOUR_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ "id": "dQw4w9WgXcQ" }),});console.log(await r.json());
curl -X POST https://api.snoopscan.com/v1/social/youtube/transcript \ -H 'Authorization: Bearer sk_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "id": "dQw4w9WgXcQ"}'
The main input of an endpoint can also be sent under any of the names a platform uses for it: username, handle, channel, profile, page, company, url or id. A missing required input is refused with INVALID_REQUEST and the field named.
Every endpoint
GET /v1/social lists every endpoint with its inputs and price, and is free. The first input of each endpoint is required, and so are the others unless marked optional.
| Endpoint | Inputs | What comes back | Credits |
|---|---|---|---|
youtube/channel |
channel | Name, description, subscribers, total views, video count, join date and links. | 1 |
youtube/channel-videos |
channel, type | The latest videos or shorts, with views and age. | 1 |
youtube/video |
id | Title, channel, views, likes, length, publish date, keywords, description and caption languages. | 1 |
youtube/comments |
id, cursor | A page of top comments, with a cursor for the next page. | 1 |
youtube/transcript |
id, lang | The transcript with timed segments, full text and the languages available. | 1 |
youtube/search |
query | Videos matching a search, about 20 a call. | 1 |
tiktok/profile |
handle | Name, bio, verified, followers, following, likes and video count. | 1 |
tiktok/recent-videos |
handle | The 10 latest videos with plays and cover. | 1 |
tiktok/video |
id | Description, plays, likes, comments, shares, saves, author and music. | 1 |
tiktok/comments |
id, cursor | A page of up to 50 comments, with the cursor for the next page. | 1 |
instagram/profile |
username | Bio, links, followers, following and the 12 latest posts. | 2 |
instagram/post |
shortcode | A post or reel: caption, likes, comment count, date and owner. | 2 |
instagram/reels |
username | The latest 12 reels with plays, likes and comment counts. | 2 |
x/post |
id | Text, date, likes, replies, media and author. | 1 |
x/profile |
handle | Bio, followers, following, post count, avatar and banner. | 1 |
linkedin/company |
company | About, size, headquarters, website, followers and the 10 latest posts. | 1 |
linkedin/post |
url | Text, date, likes, comment count and the first comments. | 1 |
linkedin/profile |
profile | A public profile: titles, location, companies, education, followers and about. | 2 |
linkedin/jobs-search |
keywords, location, start | Public job listings for a search, 10 a page. | 1 |
facebook/page |
page | A public page: name, category, description, followers and talking-about. | 2 |
facebook/post |
url | A public post: text, reactions, shares, comment total and the first comments. | 2 |
threads/profile |
username | Name, bio, followers and the latest posts with their stats. | 2 |
threads/post |
url | Text, likes, replies, reposts, quotes, shares and top replies. | 2 |
threads/search |
query | The posts that match a word or phrase. | 2 |
pinterest/user-pins |
username | A user's profile and up to 50 of their latest pins. | 1 |
pinterest/board-pins |
username, board | A board and up to 50 of its pins. | 1 |
pinterest/pin |
id | Description, link, saves, repins and image. | 1 |
Response
{ "success": true, "data": { "platform": "youtube", "endpoint": "transcript", "id": "dQw4w9WgXcQ", "language": "en", "auto": false, "text": "The full text of the transcript.", "segments": [ { "start": 0, "duration": 3.2, "text": "The first line." } ], "languages": [ "en" ] }}
MCP tools
On the MCP server the same data is two tools: socialEndpoints lists the endpoints and their inputs, and social takes a platform, an endpoint and a params object.
Use SnoopScan to get the transcript of this YouTube video and summarize it: https://www.youtube.com/watch?v=dQw4w9WgXcQ
Billing
Most endpoints cost 1 credit a call. The platforms whose public pages are the largest to read cost 2 credits, as the table shows. A call that returns nothing is not charged. See Credits.