# Get Credits Balance
Source: https://docs.sociavault.com/api-reference/credits
GET /v1/credits
Returns the current credit balance and subscription status for the authenticated user
Returns the current credit balance and subscription status for the authenticated user.
# Ad Details
Source: https://docs.sociavault.com/api-reference/facebook-ad-library/ad-details
GET /v1/scrape/facebook-ad-library/ad-details
Get details for a specific Facebook Ad Library entry by Ad ID. For ads with multiple versions, the title should be sourced from the `cards` object in the response.
๐ณ **1 credit** per request
# Ad Transcript
Source: https://docs.sociavault.com/api-reference/facebook-ad-library/ad-transcript
GET /v1/scrape/facebook-ad-library/ad/transcript
Get the transcript for a Facebook Ad Library video ad by ad ID or URL. Provide either `id` or `url`. Credits are only charged when a transcript is returned โ if the ad has no available transcript, the request costs 0 credits.
๐ณ **1 credit** per request โ but you are **only charged when a transcript is returned**. If the ad has no available transcript, the request costs 0 credits.
Get the transcript for a Facebook Ad Library video ad. Provide either the ad `id` or the ad `url`.
# Company Ads
Source: https://docs.sociavault.com/api-reference/facebook-ad-library/company-ads
GET /v1/scrape/facebook-ad-library/company-ads
Get all the ads a company has running
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/facebook-ad-library/search
GET /v1/scrape/facebook-ad-library/search
Search the Facebook (Meta) Ad Library by keyword. GET requests are capped at approximately 1,500 results due to cursor size limits. For larger result sets, use this endpoint as a POST request with the query parameters passed in the request body.
๐ณ **1 credit** per request
# Search for Companies
Source: https://docs.sociavault.com/api-reference/facebook-ad-library/search-companies
GET /v1/scrape/facebook-ad-library/search-companies
Search for companies by name and get their ad library page id
๐ณ **1 credit** per request
# Item
Source: https://docs.sociavault.com/api-reference/facebook-marketplace/item
GET /v1/scrape/facebook-marketplace/item
Fetch full details for a single Facebook Marketplace listing by its ID or URL.
๐ณ **1 credit** per request
Pass either the listing `id` or its full Marketplace `url` โ you only need
one.
# Location Search
Source: https://docs.sociavault.com/api-reference/facebook-marketplace/location-search
GET /v1/scrape/facebook-marketplace/location-search
Look up cities and regions on Facebook Marketplace and get the coordinates you'll need to call the Marketplace Search endpoint.
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/facebook-marketplace/search
GET /v1/scrape/facebook-marketplace/search
Pull Facebook Marketplace listings around any coordinate, with filters for price range, condition, delivery method, listing date, and availability. Use the Location Search endpoint first to grab the lat/lng for the city or region you want to search.
๐ณ **1 credit** per request
Need a `lat` / `lng` for a city? Run [Location
Search](/api-reference/facebook-marketplace/location-search) first to grab
them.
# Comment Replies
Source: https://docs.sociavault.com/api-reference/facebook/comment-replies
GET /v1/scrape/facebook/comment/replies
Get replies to a specific Facebook comment. Requires the feedback_id and expansion_token from the comments endpoint response.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Facebook Group Posts
Source: https://docs.sociavault.com/api-reference/facebook/group-posts
GET /v1/scrape/facebook/group/posts
Get posts from a public Facebook group. Returns up to 3 posts per request due to Facebook API constraints.
๐ณ **1 credit** per request
# Post
Source: https://docs.sociavault.com/api-reference/facebook/post
GET /v1/scrape/facebook/post
Get a public Facebook post or reel by url.
๐ณ **1 credit** per request
# Comments
Source: https://docs.sociavault.com/api-reference/facebook/post-comments
GET /v1/scrape/facebook/post/comments
Get the comments of a Facebook post (or reel)
๐ณ **1 credit** per request
# Transcript
Source: https://docs.sociavault.com/api-reference/facebook/post-transcript
GET /v1/scrape/facebook/post/transcript
Get the transcript of a Facebook post. Can be a post or reel.
๐ณ **1 credit** per request
# Profile
Source: https://docs.sociavault.com/api-reference/facebook/profile
GET /v1/scrape/facebook/profile
Get public Facebook profile information
๐ณ **1 credit** per request
# Profile Posts
Source: https://docs.sociavault.com/api-reference/facebook/profile-posts
GET /v1/scrape/facebook/profile/posts
Get publicly visible posts from a Facebook profile โ equivalent to what is accessible without being logged in. Accepts a profile URL or pageId (recommended for faster responses). Returns up to 3 posts per request.
๐ณ **1 credit** per request
# Profile Reels
Source: https://docs.sociavault.com/api-reference/facebook/profile-reels
GET /v1/scrape/facebook/profile/reels
Get public reels from a Facebook page, 10 at a time. **Important:** Pagination requires passing both `next_page_id` and `cursor` from the previous response.
๐ณ **1 credit** per request
# Ad Details
Source: https://docs.sociavault.com/api-reference/google-ad-library/ad-details
GET /v1/scrape/google-ad-library/ad-details
Get details for a specific Google ad. Ad text is extracted via OCR and may not always be 100% accurate.
๐ณ **1 credit** per request
# Company Ads
Source: https://docs.sociavault.com/api-reference/google-ad-library/company-ads
GET /v1/scrape/google-ad-library/company-ads
Get public ads for a company from the Google Ad Transparency Library. Only publicly accessible ads are returned โ login-gated ads cannot be retrieved. Ad text is extracted via OCR, so response times may be slightly longer.
๐ณ **1 credit** per request
# Search Advertisers
Source: https://docs.sociavault.com/api-reference/google-ad-library/search-advertisers
GET /v1/scrape/google-ad-library/search-advertisers
Search the Google Ad Transparency Library for advertisers to get their advertiser id
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/google/search
GET /v1/scrape/google/search
Search Google
๐ณ **1 credit** per request
# Basic Profile
Source: https://docs.sociavault.com/api-reference/instagram/basic-profile
GET /v1/scrape/instagram/basic-profile
Get a basic public Instagram profile by numeric user ID. Useful as a fallback when a handle-based lookup fails (some valid accounts return "account does not exist" when queried by username).
๐ณ **1 credit** per request
# Comment Replies
Source: https://docs.sociavault.com/api-reference/instagram/comment-replies
GET /v1/scrape/instagram/comment/replies
Get replies to a specific Instagram comment. Provide the post or reel `url` and the parent `comment_id` (obtained from the Comments endpoint). Use the `cursor` from each response to load more replies.
๐ณ **1 credit** per request
Get replies to a specific Instagram comment. Pass the post or reel `url` and the parent `comment_id` (from the [Comments](/api-reference/instagram/comments) endpoint), then use the `cursor` from each response to page through more replies.
# Comments
Source: https://docs.sociavault.com/api-reference/instagram/comments
GET /v1/scrape/instagram/comments
Get comments from an Instagram post or reel, paginated at ~15 per page. Use the `cursor` from each response to load more. Note: Instagram's displayed comment count includes replies and hidden comments โ this endpoint returns top-level visible comments only, so the total may be lower than what is shown on the post.
๐ณ **1 credit** per request โ returns \~15 comments per page. Use `cursor` to paginate.
Use the `cursor` parameter from the response to get the next page of comments.
# Highlights Details
Source: https://docs.sociavault.com/api-reference/instagram/highlight-detail
GET /v1/scrape/instagram/highlight-detail
Get details about a specific highlight
๐ณ **1 credit** per request
# Story Highlights
Source: https://docs.sociavault.com/api-reference/instagram/highlights
GET /v1/scrape/instagram/highlights
Get story highlights from an Instagram user
๐ณ **1 credit** per request
# Post/Reel Info
Source: https://docs.sociavault.com/api-reference/instagram/post-info
GET /v1/scrape/instagram/post-info
Get detailed public information about a specific Instagram post or reel, including likes, comments, caption, media URLs, owner, audio, and โ for reels and videos โ the `video_play_count` view count. Note: play counts reflect Instagram views only; when a reel is cross-posted to Facebook, the combined count is visible only to logged-in users.
๐ณ **1 credit** per request
# Posts
Source: https://docs.sociavault.com/api-reference/instagram/posts
GET /v1/scrape/instagram/posts
Get public posts from an Instagram profile. Note: play counts reflect Instagram-only views. When a Reel is cross-posted to Facebook, the combined view count is visible to logged-in users โ this API returns Instagram views only.
๐ณ **1 credit** per request
# Profile
Source: https://docs.sociavault.com/api-reference/instagram/profile
GET /v1/scrape/instagram/profile
Gets public Instagram profile data, recent posts, and related accounts
๐ณ **1 credit** per request
# Reels
Source: https://docs.sociavault.com/api-reference/instagram/reels
GET /v1/scrape/instagram/reels
Get public reels from an Instagram profile. Accepts either a user_id or handle โ user_id is recommended for faster responses. Pinned reels are not included, and reel descriptions are not returned here; use the Post/Reel Info endpoint to get those. Note: play counts reflect Instagram-only views. When a Reel is cross-posted to Facebook, the combined count is visible to logged-in users โ this API returns Instagram views only.
๐ณ **1 credit** per request
# Reels using Song
Source: https://docs.sociavault.com/api-reference/instagram/reels-by-song
GET /v1/scrape/instagram/reels-by-song
Get reels using a song
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/instagram/search
GET /v1/scrape/instagram/search
Instagram native search โ find users, hashtags, and places. Use this for account or entity lookup. It returns one page and does not return posts.
๐ณ **1 credit** per request
Instagram's native search for users, hashtags, and places. Use it for quick account or entity lookup. It returns a single page and does **not** return posts, for a topic's curated posts, use [Popular Search](/api-reference/instagram/search-popular).
# Search Hashtag Posts
Source: https://docs.sociavault.com/api-reference/instagram/search-hashtag
GET /v1/scrape/instagram/search/hashtag
Find public Instagram posts and reels for a hashtag. This endpoint discovers Google-indexed content and then reads the public Instagram pages, so it works without Instagram's login-gated search and relies only on publicly available data.
๐ณ **1 credit** per request
# Popular Search
Source: https://docs.sociavault.com/api-reference/instagram/search-popular
GET /v1/scrape/instagram/search/popular
Explore an Instagram topic and its curated posts. Use this when you want the Popular page's generated description, sources, suggested terms, media count, and paginated posts. Use the `cursor` from each response to fetch the next page.
๐ณ **1 credit** per request
Explore an Instagram topic and its curated posts. Returns the Popular page's generated description, sources, suggested terms, media count, and paginated posts. Use the `cursor` from each response with the same `query` to fetch the next page.
# Transcript
Source: https://docs.sociavault.com/api-reference/instagram/transcript
GET /v1/scrape/instagram/transcript
Generate a transcript for an Instagram post or reel using AI. Responses typically take 10โ30 seconds. Only videos under 2 minutes are supported โ if no speech is detected, the transcript returns null. For carousel posts, a transcript is returned for each individual item.
๐ณ **1 credit** per request
# API Reference
Source: https://docs.sociavault.com/api-reference/introduction
Complete guide to the SociaVault API - Extract data from multiple social media platforms
## Welcome to SociaVault API
The SociaVault API provides comprehensive access to social media data extraction across multiple platforms. Get detailed information about profiles, posts, videos, comments, and more with simple HTTP requests.
Get your API key and make your first request in minutes
Test all endpoints interactively in your browser
Ready-to-use examples in multiple languages
Transparent credit-based pricing
## Authentication
All API requests require authentication using an API key in the `X-API-Key` header.
Sign up at [sociavault.com](https://sociavault.com) and get your API key from the [Dashboard](https://sociavault.com/dashboard).
Include your API key in the `X-API-Key` header of every request.
You're ready to extract social media data!
```bash cURL theme={null}
curl --request GET \
--url 'https://api.sociavault.com/v1/scrape/tiktok/profile?handle=charlidamelio' \
--header 'X-API-Key: sk_live_your_api_key_here'
```
```javascript JavaScript theme={null}
const axios = require('axios');
const options = {
method: 'GET',
url: 'https://api.sociavault.com/v1/scrape/tiktok/profile',
params: { handle: 'charlidamelio' },
headers: {
'X-API-Key': 'sk_live_your_api_key_here'
}
};
axios.request(options)
.then(response => console.log(response.data))
.catch(error => console.error(error));
```
```python Python theme={null}
import requests
url = "https://api.sociavault.com/v1/scrape/tiktok/profile"
headers = {
"X-API-Key": "sk_live_your_api_key_here"
}
params = {
"handle": "charlidamelio"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
```
```php PHP theme={null}
"https://api.sociavault.com/v1/scrape/tiktok/profile?handle=charlidamelio",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
"X-API-Key: sk_live_your_api_key_here"
],
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response;
?>
```
## Base URL
```
https://api.sociavault.com
```
## Supported Platforms
Profiles, videos, analytics & more
Posts, reels, stories & highlights
Channels, videos, shorts & comments
Profiles, posts & groups
Profiles, tweets & communities
Profiles, companies & posts
Subreddits, posts & comments
Profiles, posts & search
Products & shop search
Meta ad intelligence
Google ad transparency
LinkedIn ad insights
Search & SERP data
## Credits & Pricing
SociaVault uses a credit-based system. **Most endpoints cost just 1 credit per request**.
**Standard Pricing:** Most endpoints = 1 credit\
**Exception:** Some advanced endpoints like demographics and audience analytics may cost more (20+ credits)
* **Standard requests** (profiles, videos, posts, etc.): **1 credit**
* **Advanced analytics** (demographics, insights): 20+ credits
* **Paginated requests**: Credits per page
See detailed credit costs for all endpoints
View subscription options and packages
## Scalable Infrastructure
Our API automatically scales to handle your request volume. No rate limits - send as many requests as you need.
Infrastructure scales with your needs
Enterprise-grade reliability
## Need Help?
Email support
# Ad Details
Source: https://docs.sociavault.com/api-reference/linkedin-ad-library/ad-details
GET /v1/scrape/linkedin-ad-library/ad-details
Get the details for an ad
๐ณ **1 credit** per request
# Search Ads
Source: https://docs.sociavault.com/api-reference/linkedin-ad-library/search
GET /v1/scrape/linkedin-ad-library/search
Search the LinkedIn Ad Library
๐ณ **1 credit** per request
# Company Page
Source: https://docs.sociavault.com/api-reference/linkedin/company
GET /v1/scrape/linkedin/company
Get a LinkedIn company page
๐ณ **1 credit** per request
# Post
Source: https://docs.sociavault.com/api-reference/linkedin/post
GET /v1/scrape/linkedin/post
Get a Linkedin post. This can be a post or an article.
๐ณ **1 credit** per request
# Post Transcript
Source: https://docs.sociavault.com/api-reference/linkedin/post-transcript
GET /v1/scrape/linkedin/post/transcript
Get the transcript from a LinkedIn post video, when LinkedIn exposes one. Returns the transcript text for the video attached to the given post.
๐ณ **1 credit** per request
Get the transcript from a LinkedIn post video, when LinkedIn exposes one. Pass the post `url` and, if a transcript is available, it's returned in the response.
# Person's Profile
Source: https://docs.sociavault.com/api-reference/linkedin/profile
GET /v1/scrape/linkedin/profile
Get a person's public LinkedIn profile including their recent posts. Returns only publicly available data โ equivalent to what is visible in an incognito browser. Note: LinkedIn no longer exposes work history or job title publicly.
๐ณ **1 credit** per request
# Board
Source: https://docs.sociavault.com/api-reference/pinterest/board
GET /v1/scrape/pinterest/board
Get the pins of a Pinterest board
๐ณ **1 credit** per request
# Pin
Source: https://docs.sociavault.com/api-reference/pinterest/pin
GET /v1/scrape/pinterest/pin
Get Pinterest pin details
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/pinterest/search
GET /v1/scrape/pinterest/search
Search Pinterest for pins
๐ณ **1 credit** per request
# User Boards
Source: https://docs.sociavault.com/api-reference/pinterest/user-boards
GET /v1/scrape/pinterest/user/boards
Get a user's boards
๐ณ **1 credit** per request
# Post Comments
Source: https://docs.sociavault.com/api-reference/reddit/post-comments
GET /v1/scrape/reddit/post/comments
Get comments and post information from a Reddit post
๐ณ **1 credit** per request
# Post Transcript
Source: https://docs.sociavault.com/api-reference/reddit/post-transcript
GET /v1/scrape/reddit/post/transcript
Get the transcript from a Reddit video post.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Search
Source: https://docs.sociavault.com/api-reference/reddit/search
GET /v1/scrape/reddit/search
Search Reddit for posts
๐ณ **1 credit** per request
# Subreddit Posts
Source: https://docs.sociavault.com/api-reference/reddit/subreddit
GET /v1/scrape/reddit/subreddit
Get recent posts from a subreddit with engagement metrics
๐ณ **1 credit** per request
# Subreddit Details
Source: https://docs.sociavault.com/api-reference/reddit/subreddit-details
GET /v1/scrape/reddit/subreddit/details
Get details about a subreddit. Pass a subreddit name or URL to the subreddit.
**Credit Cost:** 1 credit per request
๐ณ **1 credit** per request
# Subreddit Search
Source: https://docs.sociavault.com/api-reference/reddit/subreddit-search
GET /v1/scrape/reddit/subreddit/search
Search within a subreddit for posts, comments, or media matching a query
๐ณ **1 credit** per request
# Post
Source: https://docs.sociavault.com/api-reference/threads/post
GET /v1/scrape/threads/post
Get a post by url. Also returns comments and related posts.
๐ณ **1 credit** per request
# Profile
Source: https://docs.sociavault.com/api-reference/threads/profile
GET /v1/scrape/threads/profile
Get Threads profile info
๐ณ **1 credit** per request
# Search Users
Source: https://docs.sociavault.com/api-reference/threads/search-users
GET /v1/scrape/threads/search-users
Search for users by username
๐ณ **1 credit** per request
# Posts
Source: https://docs.sociavault.com/api-reference/threads/user-posts
GET /v1/scrape/threads/user-posts
Get recent posts from a Threads user. Note: Threads limits public access to approximately the last 20โ30 posts per user.
๐ณ **1 credit** per request
# Get Ad Details
Source: https://docs.sociavault.com/api-reference/tiktok-ad-library/ad
GET /v1/scrape/tiktok-ad-library/ad
Retrieve the full details for a single TikTok Creative Center Top Ad by its ad ID, including creative assets, metrics, and metadata.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Search Top Ads
Source: https://docs.sociavault.com/api-reference/tiktok-ad-library/search
GET /v1/scrape/tiktok-ad-library/search
Discover the best-performing TikTok Creative Center ads across regions, industries, and time windows. Filter by keyword, objective, format, and engagement metrics to study what's working in any market.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Product Details
Source: https://docs.sociavault.com/api-reference/tiktok-shop/product-details
GET /v1/scrape/tiktok-shop/product-details
Get detailed information about a specific TikTok Shop product, including current stock levels, related TikTok videos promoting the product, and additional metadata. This endpoint currently supports US TikTok Shop products only.
๐ณ **1 credit** per request
# Product Reviews
Source: https://docs.sociavault.com/api-reference/tiktok-shop/product-reviews
GET /v1/scrape/tiktok-shop/product-reviews
Get a product's reviews (100 reviews per page).
**Credit Cost:** 1 credit per request
๐ณ **1 credit** per request
# Shop Products
Source: https://docs.sociavault.com/api-reference/tiktok-shop/products
GET /v1/scrape/tiktok-shop/products
Get all products listed in a TikTok Shop. Use the cursor from each response to paginate through results.
**Credit Cost:** 1 credit per request
**Note:** Non-US shop catalog coverage depends on TikTok exposing that shop in the selected region.
๐ณ **1 credit per request**
# Shop Search
Source: https://docs.sociavault.com/api-reference/tiktok-shop/search
GET /v1/scrape/tiktok-shop/search
Search TikTok Shop for products by keyword. Returns 30 products per page โ use the page parameter to navigate through results.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Comment Replies
Source: https://docs.sociavault.com/api-reference/tiktok/comment-replies
GET /v1/scrape/tiktok/comment-replies
Scrapes replies to a TikTok comment
๐ณ **1 credit** per request
# Comments
Source: https://docs.sociavault.com/api-reference/tiktok/comments
GET /v1/scrape/tiktok/comments
Scrapes comments from a TikTok video
๐ณ **1 credit** per request
# User's Audience Demographics
Source: https://docs.sociavault.com/api-reference/tiktok/demographics
GET /v1/scrape/tiktok/demographics
Returns audience demographic data for a TikTok user. Currently includes audience country distribution.
**Credit Cost:** 26 credits per request
๐ณ **26 credits** per request
# Followers
Source: https://docs.sociavault.com/api-reference/tiktok/followers
GET /v1/scrape/tiktok/followers
Scrapes followers of a TikTok account
๐ณ **1 credit** per request
# Following
Source: https://docs.sociavault.com/api-reference/tiktok/following
GET /v1/scrape/tiktok/following
Scrapes accounts that a TikTok user follows
๐ณ **1 credit** per request
# TikTok Live
Source: https://docs.sociavault.com/api-reference/tiktok/live
GET /v1/scrape/tiktok/live
Scrapes a TikTok user's live stream
๐ณ **1 credit** per request
# Get Song Details
Source: https://docs.sociavault.com/api-reference/tiktok/music-details
GET /v1/scrape/tiktok/music/details
Get detailed metadata for a specific TikTok song.
๐ณ **1 credit** per request
# TikToks using Song
Source: https://docs.sociavault.com/api-reference/tiktok/music-videos
GET /v1/scrape/tiktok/music/videos
Get the TikToks using a song
๐ณ **1 credit** per request
# Profile
Source: https://docs.sociavault.com/api-reference/tiktok/profile
GET /v1/scrape/tiktok/profile
Scrapes a public TikTok profile
๐ณ **1 credit** per request
# Search by Hashtag
Source: https://docs.sociavault.com/api-reference/tiktok/search-hashtag
GET /v1/scrape/tiktok/search/hashtag
Scrapes TikTok videos by hashtag
๐ณ **1 credit** per request
# Search by Keyword
Source: https://docs.sociavault.com/api-reference/tiktok/search-keyword
GET /v1/scrape/tiktok/search/keyword
Scrapes TikTok videos matching a keyword
๐ณ **1 credit** per request
# Search Music
Source: https://docs.sociavault.com/api-reference/tiktok/search-music
GET /v1/scrape/tiktok/search/music
Search TikTok sounds and music by keyword. Returns 10 results per page โ use the `offset` parameter with the `cursor` value from the previous response to load more.
๐ณ **1 credit** per request โ returns 10 results. Use `offset` to paginate.
# Top Search
Source: https://docs.sociavault.com/api-reference/tiktok/search-top
GET /v1/scrape/tiktok/search/top
Access TikTok's 'Top' search results, which include both Photo Carousels and Videos. Unlike the Keyword Search endpoint, this returns mixed content types.
๐ณ **1 credit** per request
# Search Users
Source: https://docs.sociavault.com/api-reference/tiktok/search-users
GET /v1/scrape/tiktok/search/users
Scrapes TikTok users matching a search query
๐ณ **1 credit** per request
# Transcript
Source: https://docs.sociavault.com/api-reference/tiktok/transcript
GET /v1/scrape/tiktok/transcript
Returns the transcript from a TikTok video. Enable the AI fallback option to generate a transcript when one is not natively available โ note this costs 10 credits instead of 1.
**Credit Cost:** 1 credit (or 10 credits with AI fallback)
๐ณ **1 credit** per request
# Trending Feed
Source: https://docs.sociavault.com/api-reference/tiktok/trending
GET /v1/scrape/tiktok/trending
Get the trending feed from TikTok.
๐ณ **1 credit** per request
# Video Info
Source: https://docs.sociavault.com/api-reference/tiktok/video-info
GET /v1/scrape/tiktok/video-info
Scrapes data from a TikTok video
๐ณ **1 credit** per request
# Profile Videos
Source: https://docs.sociavault.com/api-reference/tiktok/videos
GET /v1/scrape/tiktok/videos
Scrapes videos from a TikTok profile. Pass cursor to get more videos.
๐ณ **1 credit** per request
# Clip
Source: https://docs.sociavault.com/api-reference/twitch/clip
GET /v1/scrape/twitch/clip
Get details of a Twitch clip.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Profile
Source: https://docs.sociavault.com/api-reference/twitch/profile
GET /v1/scrape/twitch/profile
Get a Twitch user's public profile information.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# User Schedule
Source: https://docs.sociavault.com/api-reference/twitch/user-schedule
GET /v1/scrape/twitch/user/schedule
Get a Twitch user's streaming schedule.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# User Videos
Source: https://docs.sociavault.com/api-reference/twitch/user-videos
GET /v1/scrape/twitch/user/videos
Get videos from a Twitch user.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Tweet Comments
Source: https://docs.sociavault.com/api-reference/twitter/comments
GET /v1/scrape/twitter/comments
Get comments (replies) on a specific tweet. Results are paginated. Use the cursor parameter to fetch additional pages.
๐ณ **1 credit** per request
# Community
Source: https://docs.sociavault.com/api-reference/twitter/community
GET /v1/scrape/twitter/community
Get the details of a Twitter(X) Community
๐ณ **1 credit** per request
# Community Tweets
Source: https://docs.sociavault.com/api-reference/twitter/community-tweets
GET /v1/scrape/twitter/community/tweets
Get the tweets from a Twitter(X) Community
๐ณ **1 credit** per request
# Profile
Source: https://docs.sociavault.com/api-reference/twitter/profile
GET /v1/scrape/twitter/profile
Get Twitter profile information including stats and metadata
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/twitter/search
GET /v1/scrape/twitter/search
Search Twitter for tweets, users, photos, media, and more. Results are paginated โ use the cursor parameter to fetch additional pages.
๐ณ **1 credit** per request
# Tweet Details
Source: https://docs.sociavault.com/api-reference/twitter/tweet
GET /v1/scrape/twitter/tweet
Get detailed information about a specific tweet including engagement
๐ณ **1 credit** per request
# Transcript
Source: https://docs.sociavault.com/api-reference/twitter/tweet-transcript
GET /v1/scrape/twitter/tweet/transcript
Generate an AI-powered transcript for a video tweet. Response times may be slower than other endpoints due to AI processing.
๐ณ **1 credit** per request
# User Tweets
Source: https://docs.sociavault.com/api-reference/twitter/user-tweets
GET /v1/scrape/twitter/user-tweets
Get tweets from a user's public profile. Note: Twitter's public API surfaces the user's ~100 most popular tweets, not their most recent ones.
๐ณ **1 credit** per request
# User Tweets (All)
Source: https://docs.sociavault.com/api-reference/twitter/user-tweets-all
GET /v1/scrape/twitter/user-tweets-all
Get a user's latest tweets in chronological order using their numeric `rest_id`. Returns paginated timeline results โ use the cursor parameter to load more. Maximum of 20 tweets per request.
๐ณ **1 credit** per request
# Channel Details
Source: https://docs.sociavault.com/api-reference/youtube/channel
GET /v1/scrape/youtube/channel
Get comprehensive channel information including stats and metadata. Can pass channelId, handle, or url.
๐ณ **1 credit** per request
# Channel Community Posts
Source: https://docs.sociavault.com/api-reference/youtube/channel-community-posts
GET /v1/scrape/youtube/channel/community-posts
Get community posts from a YouTube channel. Can pass channelId or handle.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Channel Lives
Source: https://docs.sociavault.com/api-reference/youtube/channel-lives
GET /v1/scrape/youtube/channel/lives
Get live streams and past streams from a YouTube channel. Can pass channelId or handle.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Channel Playlists
Source: https://docs.sociavault.com/api-reference/youtube/channel-playlists
GET /v1/scrape/youtube/channel/playlists
Get playlists from a YouTube channel. Can pass channelId or handle.
**Credit Cost:** 1 credit per request
๐ณ **1 credit per request**
# Channel Shorts
Source: https://docs.sociavault.com/api-reference/youtube/channel-shorts
GET /v1/scrape/youtube/channel/shorts
Get shorts from a YouTube channel. For additional details such as description or publish date, use the 'Video/Short Details' endpoint.
๐ณ **1 credit** per request
# Channel Videos
Source: https://docs.sociavault.com/api-reference/youtube/channel-videos
GET /v1/scrape/youtube/channel-videos
Get all videos from a channel with detailed information. Can pass channelId or handle.
๐ณ **1 credit** per request
# Search
Source: https://docs.sociavault.com/api-reference/youtube/search
GET /v1/scrape/youtube/search
Search YouTube and get matching videos, channels, playlists, shorts, lives, etc.
๐ณ **1 credit** per request
# Search by Hashtag
Source: https://docs.sociavault.com/api-reference/youtube/search-hashtag
GET /v1/scrape/youtube/search/hashtag
Search YouTube and get matching videos, channels, and playlists
๐ณ **1 credit** per request
# Trending Shorts
Source: https://docs.sociavault.com/api-reference/youtube/shorts-trending
GET /v1/scrape/youtube/shorts/trending
Get about 48 trending shorts
๐ณ **1 credit** per request
# Video/Short Details
Source: https://docs.sociavault.com/api-reference/youtube/video
GET /v1/scrape/youtube/video
Get complete information about a video or short. To get transcripts, use the dedicated /v1/scrape/youtube/video/transcript endpoint.
๐ณ **1 credit** per request
# Comment Replies
Source: https://docs.sociavault.com/api-reference/youtube/video-comment-replies
GET /v1/scrape/youtube/video/comment-replies
Get replies to a specific comment on a YouTube video.
**Credit Cost:** 1 credit per request
๐ณ **1 credit** per request โ use `repliesContinuationToken` from the Comments endpoint to get replies.
# Comments
Source: https://docs.sociavault.com/api-reference/youtube/video-comments
GET /v1/scrape/youtube/video/comments
Get top-level comments from a YouTube video, paginated at ~20 per page. Use the `continuationToken` from each response to load more. Maximum retrievable: ~1,000 comments with `order=top` or ~7,000 with `order=newest`. Note: YouTube's displayed comment count includes reply threads, so the total returned may be lower.
๐ณ **1 credit** per request โ returns \~20 comments per page. Use `continuationToken` to paginate.
# Transcript
Source: https://docs.sociavault.com/api-reference/youtube/video-transcript
GET /v1/scrape/youtube/video/transcript
Get transcript of a video or short
๐ณ **1 credit** per request
# Authentication
Source: https://docs.sociavault.com/development
How to authenticate with the SociaVault API
## Authentication
All API requests require authentication using your API key in the `X-API-Key` header.
### Getting Your API Key
1. Sign up at [sociavault.com](https://sociavault.com)
2. Navigate to your [Dashboard](https://sociavault.com/dashboard)
3. Copy your API key (starts with `sk_live_`)
### Using Your API Key
Include your API key in every request using the `X-API-Key` header:
```bash cURL theme={null}
curl --request GET \
--url 'https://api.sociavault.com/v1/scrape/tiktok/profile?handle=stoolpresidente' \
--header 'X-API-Key: sk_live_your_api_key_here'
```
```javascript JavaScript theme={null}
const response = await fetch(url, {
headers: {
'X-API-Key': 'sk_live_your_api_key_here'
}
});
```
```python Python theme={null}
import requests
headers = {
'X-API-Key': 'sk_live_your_api_key_here'
}
response = requests.get(url, headers=headers)
```
```php PHP theme={null}
$headers = [
'X-API-Key: sk_live_your_api_key_here'
];
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
```
**Keep your API key secure!** Never expose it in client-side code, public repositories, or share it publicly.
## API Performance
The SociaVault API is built to scale automatically with your needs.
Our infrastructure automatically scales to handle your request volume
99.9% uptime with redundant systems and automatic failover
Fast response times from anywhere in the world
Send as many requests as you need - we scale with you
**Enterprise-grade infrastructure** ensures your requests are handled quickly and reliably, no matter the volume.
## Credit System
Each API endpoint consumes credits based on data complexity:
| Complexity | Credit Cost | Examples |
| ---------- | ------------ | --------------------------- |
| Simple | 1 credit | Profile lookups, basic info |
| Moderate | 5-10 credits | Posts, videos, comments |
| Complex | 20+ credits | Demographics, analytics |
Check individual endpoint documentation for specific credit costs.
### Checking Your Balance
Monitor your credit balance in real-time via the [Dashboard](https://sociavault.com/dashboard).
Each API response includes your remaining credits in the response headers for easy tracking.
## Error Responses
The API uses standard HTTP status codes and returns detailed error messages:
| Status Code | Description |
| ----------- | ----------------------------------------- |
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing API key |
| 403 | Forbidden - Insufficient credits |
| 500 | Internal Server Error |
### Error Response Format
```json theme={null}
{
"error": "Unauthorized",
"message": "Invalid API key provided",
"statusCode": 401
}
```
## Best Practices
* Store API keys in environment variables
* Never commit API keys to version control
* Use different keys for development and production
* Rotate keys regularly for security
* Cache frequently accessed data
* Use pagination for large datasets
* Only request the data you need
* Monitor your usage in the dashboard
* Always check response status codes
* Implement proper error handling
* Log errors for debugging
* Retry failed requests with exponential backoff
* Implement caching strategies
* Use batch requests when possible
* Monitor response times in your logs
* Contact support for optimization advice
## Need Help?
See credit costs for each endpoint
Get help with authentication or API usage
# Welcome to SociaVault
Source: https://docs.sociavault.com/index
Extract social media data from multiple platforms with our powerful API
## Get Started in Minutes
Start extracting social media data with just a few lines of code.
Browse all available endpoints and platforms
Make your first API call in under 5 minutes
Test API endpoints in your browser
Simple credit-based pricing
## Supported Platforms
Extract comprehensive data from all major social media platforms.
Profiles, videos, analytics, demographics & more
Posts, reels, stories, highlights & engagement
Channels, videos, shorts, comments & transcripts
Profiles, posts, groups & engagement data
Profiles, tweets, communities & threads
Subreddits, posts & comments
Profiles, companies, posts & professional data
Profiles, posts, search & engagement
Search pins, pin details, boards & user content
Products, details & shop search
Meta ad intelligence & competitor research
Google ad transparency & insights
LinkedIn ad intelligence & analysis
Search results & SERP data extraction
## Why Choose SociaVault?
Most endpoints cost just 1 credit. Pay only for what you use.
Fast, reliable data extraction with 99.9% uptime.
Get detailed profiles, analytics, engagement metrics & more.
Simple REST API with detailed documentation & code examples.
## Ready to Start?
Sign up for free and get your API key to start building.
# MCP Server
Source: https://docs.sociavault.com/mcp-server
Use SociaVault from Claude, Cursor, VS Code, ChatGPT, and any AI agent with the official MCP server
## Give your AI assistant live social data
The **SociaVault MCP server** connects your AI assistant directly to the SociaVault API using the [Model Context Protocol](https://modelcontextprotocol.io) โ an open standard for plugging tools into AI clients. Claude, Cursor, VS Code, Cline, ChatGPT, and any other MCP-compatible client can pull real-time data from **11 platforms** and reason over it, in plain English.
It exposes **107 tools** covering profiles, posts, comments, transcripts, search, trends, and ad libraries โ every one mapped to a documented SociaVault endpoint.
There are two ways to connect, and they expose the exact same tools:
* **Local** โ runs on your machine via `npx`. Best for Claude Desktop, Cursor, VS Code, and Cline.
* **Remote (hosted)** โ our hosted server at `https://mcp.sociavault.net/mcp`. Nothing to install. Required for **ChatGPT** and handy for any client that connects to a remote MCP URL.
sociavault-mcp on npm
Listed on the official registry
Install via Smithery
Read the complete walkthrough
## Local install (Claude, Cursor, VS Code, Cline)
The server runs through `npx`, so there's nothing to install globally โ your client fetches the latest version automatically.
Sign up at [sociavault.com](https://sociavault.com/signup) and copy your API key (format `sk_live_...`) from the [Dashboard](https://sociavault.com/dashboard).
Pick your client below and add the configuration with your API key.
```json Claude Desktop theme={null}
{
"mcpServers": {
"sociavault": {
"command": "npx",
"args": ["-y", "sociavault-mcp"],
"env": {
"SOCIAVAULT_API_KEY": "sk_live_your_key_here"
}
}
}
}
```
```json Cursor theme={null}
{
"mcpServers": {
"sociavault": {
"command": "npx",
"args": ["-y", "sociavault-mcp"],
"env": { "SOCIAVAULT_API_KEY": "sk_live_your_key_here" }
}
}
}
```
```json VS Code theme={null}
{
"servers": {
"sociavault": {
"command": "npx",
"args": ["-y", "sociavault-mcp"],
"env": { "SOCIAVAULT_API_KEY": "sk_live_your_key_here" }
}
}
}
```
**Claude Desktop config location** โ macOS: `~/Library/Application Support/Claude/claude_desktop_config.json` ยท Windows: `%APPDATA%\Claude\claude_desktop_config.json`. **Cursor**: `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (per-project). **VS Code**: `.vscode/mcp.json`.
Restart your client and try: *"Get the TikTok profile for @nike."* If you get back follower counts and bio details, you're live.
Your AI assistant now has live access to social media data across 11 platforms.
## Remote server (ChatGPT & other hosted clients)
Prefer not to install anything, or connecting from ChatGPT? Use our hosted server. It runs the same 107 tools and requires no local setup โ you just point your client at a URL and supply your API key.
```
https://mcp.sociavault.net/mcp
```
### Authentication
The hosted server bills usage to **your** account, so every request must carry your SociaVault API key. Provide it either way:
* **URL query** โ append `?apiKey=sk_live_your_key_here` to the endpoint. Works with every client, including ones that can't set custom headers.
* **Header** โ send `x-api-key: sk_live_your_key_here` (or `Authorization: Bearer sk_live_...`).
A key placed in the URL can show up in server logs and browser history. If
your client supports custom headers, prefer the `x-api-key` header. Treat the
URL as a secret either way, and rotate the key from your
[Dashboard](https://sociavault.com/dashboard) if it leaks.
### Connect from ChatGPT
ChatGPT's custom MCP connectors require **Developer Mode**, available on paid
ChatGPT plans (Pro, Business, Enterprise, Edu). This is an OpenAI setting, not
a SociaVault one.
In ChatGPT, open **Settings โ Connectors โ Advanced** and turn on
**Developer mode**.
Go to **Settings โ Connectors โ Create**, and enter:
* **Name:** `SociaVault`
* **MCP Server URL:** `https://mcp.sociavault.net/mcp?apiKey=sk_live_your_key_here`
* **Authentication:** No authentication (your key is already in the URL)
Enable the SociaVault connector for your conversation, then ask something
like *"Get the TikTok profile for @nike."*
ChatGPT now pulls live social data through the hosted SociaVault server.
### Connect from other clients
Any client that supports remote MCP servers (Claude, Cursor, and others) can use the hosted URL instead of the local `npx` setup โ point it at `https://mcp.sociavault.net/mcp?apiKey=sk_live_your_key_here`.
## Configuration
Your SociaVault API key (`sk_live_...`). Get one at the
[Dashboard](https://sociavault.com/dashboard).
Optional override for the API base URL. Defaults to
`https://api.sociavault.com`.
## Example prompts
The model picks the right tool automatically โ you just describe what you want:
"Compare the follower counts and engagement of @cristiano on Instagram vs.
his YouTube channel."
"Search the Meta Ad Library for active Nike ads in the US and summarize
their angles."
"Get the transcript of this YouTube video and turn it into a LinkedIn post:
\"
"Pull the last 30 posts from r/webscraping and tell me the recurring pain
points."
"What's trending on TikTok in the US right now, and which sounds are
surging?"
## What's included
All tools are read-only. Most accept a `trim` option (on by default) that returns a smaller, AI-friendly payload to conserve context-window tokens. List endpoints support cursor pagination.
Profiles, videos, comments, transcripts, search, music, trending
Profiles, posts, reels, comments, transcripts, highlights
Channels, videos, shorts, transcripts, search, comments
Profiles, tweets, replies, quotes, retweets, search
Profiles, companies, posts
Profiles, posts, reels, groups, comments, transcripts
Subreddits, posts, comments, transcripts, search
Profiles, posts, pins, boards, clips, schedules
TikTok, Meta, Google, and LinkedIn ad libraries
## Pricing
The MCP server is free and open source. You only pay for the SociaVault API usage it makes, billed in **credits** โ the same [credit-based pricing](https://sociavault.com/pricing) as the REST API. New accounts start with free credits, and you can check your balance any time by asking your assistant to run the `check_credits` tool.
## FAQ
Any MCP-compatible client. For local install (Claude Desktop, Cursor, VS
Code Copilot, Cline), run `npx -y sociavault-mcp` with your API key in the
environment. For ChatGPT โ and any client that connects to a remote MCP URL
โ use the hosted server at `https://mcp.sociavault.net/mcp` instead.
With the local install, your key stays in your own client's config and is
sent only to the SociaVault API. With the hosted server, your key is passed
through our server to the API to authenticate the request โ it isn't stored.
Either way the server is read-only: it never posts or changes anything. If
you use the URL query method, prefer the `x-api-key` header where your
client supports it, and rotate the key from your Dashboard if it leaks.
Only for the local install โ Node.js 18 or newer, since it runs via `npx`.
Most developer machines already have it. The hosted server
(`https://mcp.sociavault.net/mcp`) needs nothing installed.
Because it runs with `npx -y sociavault-mcp`, your client always fetches the
latest published version. There's nothing to update manually.
## Need help?
Get help from our team
Prefer raw REST? Start here
# Quickstart
Source: https://docs.sociavault.com/quickstart
Make your first API call in under 5 minutes
## Get Started in 3 Steps
Follow this guide to make your first successful API call to SociaVault.
Sign up for a free account and get your API key from the [SociaVault Dashboard](https://sociavault.com/dashboard).
Keep your API key secure! Never expose it in client-side code or public repositories.
Try fetching a TikTok profile. Replace `YOUR_API_KEY` with your actual API key:
```bash cURL theme={null}
curl --request GET \
--url 'https://api.sociavault.com/v1/scrape/tiktok/profile?handle=stoolpresidente' \
--header 'X-API-Key: YOUR_API_KEY'
```
```javascript JavaScript theme={null}
const response = await fetch(
'https://api.sociavault.com/v1/scrape/tiktok/profile?handle=stoolpresidente',
{
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);
```
```python Python theme={null}
import requests
url = "https://api.sociavault.com/v1/scrape/tiktok/profile"
params = {"handle": "stoolpresidente"}
headers = {"X-API-Key": "YOUR_API_KEY"}
response = requests.get(url, params=params, headers=headers)
data = response.json()
print(data)
```
```php PHP theme={null}
```
This endpoint costs **1 credit** per request. Free tier includes 100 credits.
You should receive a JSON response with the TikTok profile data:
```json theme={null}
{
"user": {
"id": "6828452746644210694",
"uniqueId": "stoolpresidente",
"nickname": "Dave Portnoy",
"avatarLarger": "https://...",
"signature": "Founder of Barstool Sports",
"verified": true,
"stats": {
"followerCount": 3800000,
"followingCount": 723,
"heartCount": 56700000,
"videoCount": 1245
}
}
}
```
**Success!** You've made your first API call. Now explore all 77 endpoints.
## What's Next?
Explore all available endpoints and platforms
Test endpoints in your browser
See credit costs for each endpoint
Monitor your usage in the dashboard
## Common Use Cases
Extract follower counts, engagement rates, and audience demographics across platforms to track influencer performance.
**Endpoints**: TikTok Demographics, Instagram Profile, YouTube Channel
Search for trending content, hashtags, and viral videos to inform your content strategy.
**Endpoints**: TikTok Trending, Instagram Reels, YouTube Search
Monitor competitor profiles, posts, and engagement to stay ahead of the competition.
**Endpoints**: All Profile endpoints, Posts endpoints, Video endpoints
Track competitor ads across Facebook, Google, and LinkedIn ad libraries.
**Endpoints**: Facebook Ad Library, Google Ad Library, LinkedIn Ad Library
## Need Help?
Get help from our support team
Chat with our community