Unified Social Media API: One Schema Across Platforms (2026)
If you need public data from several social platforms through one API and want to write one parser instead of one per platform, InsightSocial is the only one of the six APIs we checked that returns posts, comments and profiles in one documented schema across platforms (22 social platforms, including TikTok, YouTube, X, Reddit and LinkedIn), synchronously, with failed and empty calls free. ScrapeCreators, EnsembleData, Bright Data and Apify return each platform's own field names. Data365 describes its JSON as unified, but its public samples cover one platform, collection is asynchronous, and plans start at €300 a month. The trade-off: per call we cost more than ScrapeCreators or Bright Data, so at high volume on one platform they are the cheaper choice.
"Multi-platform" on a pricing page usually means one key and one bill. It rarely means one response shape. The difference shows up in your code: TikTok calls a view count play_count, YouTube calls it viewCount, X nests it in views.count. An API that passes those through leaves you a mapping layer per platform, and every platform change breaks one of them.
We build one of these APIs, so read our entry with that in mind. For every other vendor, what we say about its response format and pricing comes from its own documentation and pricing pages, checked on November 23, 2026 (Apify on October 18, 2026), and linked below.
Checked 2026-11-23.
Which social media APIs return one schema across platforms?
| API | Same field names on every platform? | Sync or async | Free allowance | Smallest paid step | Failed or empty calls |
|---|---|---|---|---|---|
| InsightSocial | Yes: one post, comment, profile and transcript shape on 22 social platforms | Sync | 500 credits a month, plus your first 10 calls free | Packs from $5 for 1,000 credits; Pro 10,000 credits for $9.99 a month | Free |
| ScrapeCreators | No: TikTok returns followerCount and uniqueId, Reddit returns author_fullname and created_utc | Sync | 100 credits, up to 1,200 more you can claim | $47 for 25,000 credits | Cache hits free; no general rule published |
| EnsembleData | No: TikTok endpoints return TikTok's own fields | Sync | 50 units a day | $100 a month for 1,500 units a day | Failed calls caused by its own errors are free; empty results are charged |
| Bright Data | No: each scraper has its own field set | Collection jobs, delivered by API, webhook or cloud storage | 5,000 records a month | $1.50 per 1,000 records, pay as you go | Failed deliveries are free |
| Apify | No: each Actor has its own input and output format | Mostly async runs | $5 of usage a month | Starter, $19 a month | Depends on the Actor |
| Data365 | Described as "unified, structured JSON"; public samples show TikTok only | Async: start, poll, then fetch | 14-day trial, by request | €300 a month for one network | Not stated |
Evidence, so you can check it yourself: ScrapeCreators' TikTok profile and Reddit post docs show the two different shapes; EnsembleData's API docs show TikTok-native samples, with a remap_output flag that switches between TikTok's web and mobile shapes; Bright Data's social media scraper page lists different output fields per scraper (TikTok "Digg count", YouTube "Youtuber", Reddit "Community name"); Data365's homepage shows the three-call collection flow.
If you only need one platform, none of this matters much: pick on price. It starts to matter at the second platform, and a lot by the fourth.
What does one schema mean in practice?
Every InsightSocial data endpoint answers in the same envelope (success, platform, data, pagination, credits_used), and inside data every post has the same fields whichever platform it came from:
| You want | TikTok calls it | YouTube calls it | X calls it | In the unified post |
|---|---|---|---|---|
| Views | play_count | viewCount | views.count | engagement.views |
| Text | desc | title | note_tweet.note_tweet_results.result.text | content.text |
| Posted at | createTime, in Unix seconds | publishedAt, an ISO string | created_at, in X's own date text | published_at, always ISO 8601 UTC |
A few rules hold everywhere, and they are the ones that usually cost a day of debugging:
-
Every post has a
kind:text,image,carousel,video,short,live,articleorlink, so a TikTok and a YouTube Short both read asshort. -
Ids are always strings. TikTok and X ids are larger than 2^53, which a JSON number silently corrupts.
-
nullmeans the platform doesn't say, never zero. YouTube doesn't publish share counts and Reddit doesn't publish view counts, so those arenull, and a chart that treats them as0is wrong. -
Media is always an array, even for one photo.
-
What a platform has that the others can't mean the same way goes in
ext, so the shared fields never change meaning between platforms.
The full field list is on the post schema page, and field equivalence shows which native field feeds each unified one, per platform.
One parser for four platforms
This pulls the latest posts from a TikTok account, a YouTube channel, an X account and a subreddit, and puts them in one table. The loop body doesn't know which platform it is reading.
import os
import requests
BASE = "https://api.insightsocial.app/v1"
HEADERS = {"x-api-key": os.environ["INSIGHTSOCIAL_API_KEY"]}
def get(path, **params):
body = requests.get(f"{BASE}/{path}", params=params, headers=HEADERS, timeout=120).json()
if not body["success"]:
raise RuntimeError(f'{body["error"]["type"]}: {body["error"]["message"]}')
return body
SOURCES = [
("tiktok/profile/videos", {"handle": "nasa"}),
("youtube/channel/videos", {"handle": "NASA"}),
("twitter/user/tweets", {"handle": "NASA"}),
("reddit/subreddit", {"subreddit": "space"}),
]
rows = []
for path, params in SOURCES:
page = get(path, **params)
for item in page["data"]["items"]:
post = item["post"]
rows.append({
"platform": page["platform"],
"author": post["author"]["username"],
"published_at": post["published_at"],
"kind": post["kind"],
"views": post["engagement"]["views"], # None where the platform hides it
"likes": post["engagement"]["likes"],
"comments": post["engagement"]["comments"],
"url": post["url"],
})
print(page["platform"], len(page["data"]["items"]), "posts,", page["credits_used"], "credits")
Adding Bluesky or LinkedIn is one more line in SOURCES (bluesky/user/posts with a handle, linkedin/profile/posts with a profile url). Nothing in the loop changes.
What it costs. That run is four calls: 10 credits each for the X and Reddit pages, 10 to 20 for the YouTube page and 10 to 110 for the TikTok page, which is metered by what it reads. So 40 to 150 credits, roughly one to one and a half cents on Pro. Add dry_run=1 to any call to get its price without spending anything. Every endpoint's price is on endpoint pricing.
Where a unified API is the wrong choice
- High volume on one platform. At $9.99 for 10,000 credits, a 10-credit call is about one cent. ScrapeCreators' $47 pack works out to $1.88 per 1,000 requests and Bright Data charges $1.50 per 1,000 records. If you are pulling a million TikTok rows a month, they are cheaper; we say the same in our TikTok API comparison.
- Firehose collection. Each key is limited to 60 requests a minute and 10 at a time. That suits apps, dashboards and scheduled jobs, not bulk extraction.
- Fields only one platform has. A unified schema keeps the fields platforms share. A TikTok sound, a YouTube category or a Reddit flair is still there, under
ext, but it isn't a shared field, so code that depends on it is platform code again. - The newest platforms. Of the 61 platforms the API serves, the 22 social ones share the schema. The rest (GitHub, Spotify, app stores and others, added in November 2026) return each source's own structure under our naming rules: snake_case keys, string ids, ISO times. Those endpoints are marked beta; see beta endpoints.
- Writing back. It is read-only. Posting or managing accounts needs each platform's official API.
Why a single schema matters more with AI agents
An agent that calls a social API has to read the response to decide what to do next. With one shape, it learns engagement.views once and can compare a TikTok to a YouTube Short to a Reddit post without a mapping table in its prompt. The catalogue at GET /v1/endpoints is public, free and needs no key, so an agent can find the right endpoint and its price before it spends anything. You can also connect the API to Claude, ChatGPT or Cursor as an MCP server; see MCP and using an AI agent.
How to choose
- Two or more platforms, app or agent code, modest volume: a unified API. Start with the quickstart; your first 10 calls are free.
- One platform at high volume: the cheapest per-record vendor for that platform, such as Bright Data or ScrapeCreators' larger packs.
- Batch research that can wait for results: Data365's asynchronous collection, or Apify runs.
- An unusual site no social API covers: an Apify Actor, or a general scraping API.
For a wider list with every vendor's pricing model, see the best social media scraping APIs in 2026, and for Apify specifically, InsightSocial vs Apify.
FAQ
Is there one API for all social media platforms?
Not for writing: posting and account management still go through each platform's own API. For reading public data, several APIs cover many platforms with one key. Fewer return one schema: of the six we checked in November 2026, InsightSocial is the one that documents a single post, comment and profile shape across platforms.
What is a unified social media API?
An API that reads several platforms and returns the same kind of object in the same shape everywhere, so a post from TikTok and a post from Reddit have the same field names, types and meanings. One key and one bill alone don't make an API unified.
Does a unified schema lose data?
It shouldn't. Fields the platforms share go in the shared shape, and what only one platform has stays in ext under its own name. Fields a platform never publishes, such as YouTube share counts, are null rather than invented.
Which platforms share the InsightSocial schema?
The 22 social platforms, including TikTok, YouTube, X, Reddit, LinkedIn, Pinterest, Bluesky, Telegram and Twitch. The full list, with endpoints and prices, is on the social media API page.
Can I try it without paying?
Yes. Your first 10 calls priced at 100 credits or less are free, the free plan includes 500 credits a month, failed and empty calls cost nothing, and dry_run=1 quotes any call for free. Plans are on the pricing page.