← Blog

Social Media Database: Buy a Dataset or Query Live?

By Nikhil Kumar. Last updated November 2026.

Buying a social media dataset feels like a shortcut. Then you check the collection date.

A social media database means one of two things: a dataset of public posts and profiles you buy from a vendor, or a store you build yourself by querying public data live. Buy a dataset when you need lots of history fast. Build from live queries when you need current numbers for specific accounts. The deciding question is how old your data is allowed to be.

Social media database: buy a prebuilt dataset of public posts and profiles, or build your own store by querying public data live. The choice turns on freshness, cost and deletions.

I run an API that sells live queries, so you know where my bias sits. I’ll still tell you when a dataset is the better buy, and I’ll start with what live queries can’t do.

What is a social media database?

A social media database is a structured store of social media records, usually public profiles, posts, comments and engagement counts. People mean one of two things by it. The first is a prebuilt dataset a vendor collected and sells as files. The second is your own database, filled by calling an API on a schedule. Research archives are a third, narrower kind, built for academics.

Two meanings of social media database: a bought dataset is collected by a vendor, delivered as files and frozen at a collection date; a built database is filled by your own scheduled API calls, holds only the accounts you choose, and grows a history over time.
Same phrase, two very different things to buy.

The difference matters because the two age differently.

A bought file is a photo. It shows the network on the day the vendor collected it.

A built database is a time-lapse. Each scheduled call adds a new frame for the accounts you care about, and you can see likes and followers move.

Neither one is “the” social media database. My hunch is that most people searching for one want the time-lapse, but shop for the photo first because it looks faster.

Where can you buy a social media dataset?

You can buy social media datasets from web data vendors and data marketplaces. Bright Data is the biggest catalog I found: its social media datasets page lists 37 datasets across Instagram, TikTok, Facebook, X, LinkedIn, Reddit, YouTube and others, delivered as JSON, CSV or Parquet. Marketplaces such as Datarade list more sellers, though most of their listings price on request.

Bright Data publishes its prices. Its datasets pricing page, checked November 5, 2026, starts at $2.50 per 1,000 records, and the smallest tier is 100,000 records for $250.

Refreshes cost extra but get cheaper with frequency. The same page lists savings of 25% for biannual, 50% for quarterly and 80% for monthly updates.

Free options exist too, mostly for research. George Mason University’s social media datasets guide points to Kaggle, Harvard Dataverse and Stanford SNAP.

Read the fine print on free X data. The same guide says many X collections contain only post IDs, and that X revoked access to the Hydrator app people used to turn IDs back into full posts.

ICPSR’s Social Media Archive holds the 2020 Facebook and Instagram election study data. It is free for approved researchers, but the sensitive files stay inside a secure virtual enclave. You can’t download them into your product.

How fresh is a social media dataset?

A social media dataset is only as fresh as its last collection. Follower counts, likes and views start aging the moment the vendor takes the snapshot, and nothing in a static file updates itself. A post deleted after collection stays in your copy. Before you buy, ask the vendor for the collection date of the exact rows you’d get, not the date the product page was last edited.

Freshness also varies inside one dataset. A big index can’t refresh every record daily, so vendors refresh popular records more often and leave the long tail alone.

How old does the long tail get? Phyllo, a vendor that sells live creator data, modelled it in September 2026. Refreshing a 350 million profile index every day would cost about $127,750,000 a year at $1 per 1,000 records.

Its tiered model put the median record at about 160 days old. Phyllo labels these figures as modelled, not measured, and it sells the live alternative, so read them as a sketch.

Phyllo's modelled record age in a tiered social data index, September 2026: hot records refresh daily, warm weekly, cool monthly, and the cold long tail of 88.9 percent refreshes yearly. Median record age is about 160 days and the 95th percentile about 344 days. These are modelled figures from a vendor, not measurements.
Modelled, not measured, but the shape matches what you see in samples.

The fields don’t age at the same speed, either. A bio can stay right for months. A like count on a post from last week is already wrong today.

So a dataset’s age matters most when your question is about engagement. If you only need who exists and what they posted, an older file can still do the job.

Should you buy a dataset or query social data live?

Buy a dataset when you need a large slice of the past and can live with a fixed collection date. Query live when you need today’s numbers for a known list of accounts, posts or keywords, and want to build your own history from here on. The table below compares the two on freshness, coverage, history, minimum spend, deletions and terms.

Decision table, bought dataset versus live queries: freshness is fixed at collection versus current at call time; coverage is whoever the vendor collected versus exactly the accounts you name; history goes back before you started versus only from your first call; smallest spend is $250 for 100,000 Bright Data records versus 25 free credits; deletions persist in the file versus show up as not found on re-check.
Pick by the row that matters most to your job.
Bought datasetLive queries
FreshnessFixed at the collection dateCurrent at call time, within the cache window
CoverageWhoever the vendor collectedThe accounts, posts and keywords you name
HistoryCan reach back before you startedStarts at your first call
Smallest spend$250 for 100,000 Bright Data records25 free credits, then $5 for 1,000
Deleted postsStay in the fileShow up as not found when you re-check
Best forTraining data, backfills, studies of the pastMonitoring, dashboards, tracking named accounts

My rule of thumb: if your question has the word “now” in it, query live. If it has “in 2024,” buy or borrow a dataset.

You can also do both: buy one backfill for the past, then switch to scheduled live queries to keep it current.

What does a social media database cost?

A bought dataset costs a flat amount per record, and Bright Data starts at $2.50 per 1,000 records with a $250 smallest tier. A live-built database costs per item each time you query, so the bill depends on how many accounts you track and how often. For millions of past rows, a dataset is cheaper. For a few hundred accounts measured weekly, live queries usually are.

Here’s a hypothetical so you can check the math yourself.

Say you track 200 Instagram creators every week for a quarter. Each week you pull each creator’s profile and their latest 12 posts.

On ScraperSocial, a profile snapshot is 1 credit and each post is 1 credit. That’s 200 x 13 = 2,600 profile credits, plus 200 x 12 x 13 = 31,200 post credits.

That’s 33,800 credits, about $169 at half a cent a credit. Full prices are on the pricing page.

You could buy 100,000 dataset records for $250 instead. But you’d still need to check that your 200 creators are in it, and you’d get one collection date, not 13 weekly readings.

If your plan is a one-off pull of millions of historical posts, do the reverse math. Bulk files win that job, and I’d tell you to buy one.

How do you build your own social media database?

Build your own social media database with two tables and a schedule. Store stable facts, like post ID, author, URL and posted time, once in a posts table. Append every measurement to a snapshots table with the capture time, so likes and views build a history instead of overwriting each other. Then call the API daily or weekly and save the request ID with each row.

Schema for a self-built social media database: a posts table holds id, handle, url and posted_at once per post; a snapshots table appends post_id, captured_at, likes, comments, views, request_id and cache status on every scheduled call, linked by post id.
Write stable facts once. Append measurements forever.

Here’s the whole loop in Python with SQLite. It uses the Instagram channel posts endpoint, and every field name comes from the real response.

import sqlite3, httpx
from datetime import datetime, timezone
API = "https://api.scrapersocial.com/v1"
H = {"Authorization": "Bearer sk_live_..."}
db = sqlite3.connect("social.db")
db.executescript("""
create table if not exists posts (
id text primary key, handle text, url text, posted_at text);
create table if not exists snapshots (
post_id text, captured_at text, likes integer, comments integer,
views integer, request_id text, cache text);
""")
def snapshot(handle):
r = httpx.get(f"{API}/instagram/channel-posts",
params={"handle": handle, "limit": 12},
headers=H, timeout=120)
r.raise_for_status()
body = r.json()
now = datetime.now(timezone.utc).isoformat()
for p in body["data"]:
db.execute("insert or ignore into posts values (?,?,?,?)",
(p["id"], handle, p["url"], p["posted_at"]))
db.execute("insert into snapshots values (?,?,?,?,?,?,?)",
(p["id"], now, p["likes"], p["comments"], p["views"],
body["request_id"], r.headers.get("x-cache")))
db.commit()

Every response comes in a { data, meta?, request_id } envelope. Keep the request_id. When a number looks wrong three months later, it tells you exactly which call produced it.

Keep the x-cache header too. Channel post lists are cached for up to 3 hours, and each endpoint’s window is listed in how caching works.

Add fresh=true when you need a point-in-time reading. It costs the same.

Don’t want SQL? Add format=csv or format=ndjson and append straight to files. The output formats docs cover both.

Run it on a cron. Daily or weekly is plenty for most accounts, and every run adds one more reading per post.

What happens to deleted posts in a stored dataset?

Deleted posts stay in a stored dataset until you remove them. The file can’t know the author deleted a post after collection, so old rows keep showing content that’s no longer public. Some platforms make removal a duty. X’s developer agreement says to delete or modify removed content as soon as possible, and within 24 hours of a written request.

That clause is in the removals section of the X Developer Agreement, last updated April 27, 2026. It covers content that’s deleted, made protected, suspended or withheld.

A live-built store can catch this. Re-query the posts you hold on a schedule. A post that now returns a 404 with the code not_found was deleted or made private, so flag it and drop the content.

With a bought file, you’d need the vendor’s next refresh to learn the same thing. Ask them how deletions are handled before you sign.

Checklist for storing social media data: keep only the fields your purpose needs, record where each row came from and when, re-check stored posts and drop ones that return not found, set a retention period and delete after it, and answer deletion requests from the people in your data.
Five habits that keep a stored dataset defensible.

Storing public social media data can be legal, but public does not mean free of rules. Under the GDPR, public posts can still be personal data, so you need a purpose, you keep only what that purpose needs, and you delete it when you’re done. Platform terms and copyright add their own limits. Treat this section as general background, not legal advice.

Three cases show where the lines sit.

Meta sued Bright Data and lost on summary judgment in January 2024. The judge held that Meta’s terms didn’t bar logged-out scraping of public data, and Meta dropped the case in February 2024. That ruling is about contract terms, not privacy law.

In Europe, Poland’s data protection office fined Bisnode just over PLN 943,000 in 2019 for not telling around 6 million people it had collected their data from public sources. That’s the Article 14 duty to inform. The top administrative court upheld the decision in 2023, though the fine itself went back to the regulator to recalculate.

And in October 2024, the EU’s top court ruled in Schrems v Meta that personal data can’t be used for ads without limits on time and type of data. Lewis Silkin’s summary covers the data minimisation holding.

For your own store, the rule that bites hardest is GDPR Article 5. It asks for data “limited to what is necessary” and kept “no longer than is necessary.”

A small, purpose-built store meets that more easily than a 3TB file bought just in case.

Bought datasets add one more document to read: the licence. Check whether you can use the data commercially, train models on it, or share it.

What can’t a live API give you?

A live API can’t give you the past. Calls return a post’s current likes and views, not what they were last month, so your history starts with your first scheduled call. Live APIs also can’t see private accounts, and each call returns a limited page of items. If you need last year’s engagement curve today, a dataset or archive is the only route.

Here are our own limits, plainly.

We return what a logged-out visitor can see. Private accounts, follower lists and DMs are out of reach.

A list call returns at most 50 items, and free keys get 5 items per call. Big backfills take many calls, so plan your schedule around that.

We don’t sell datasets. If you want a file of the past, buy one from a dataset vendor and use live queries to keep it current.

And cached results can be hours old by design: up to 3 hours for post lists and 12 hours for profiles. Use fresh=true when the timestamp has to be exact.

If you’re wiring this into an agent rather than a cron job, my guide on what a social media API needs to do for an agent covers cost caps and error handling. For academic work, see the method guide for social video transcripts.

Frequently asked questions

Can you buy a social media database?

Yes. Data vendors sell prebuilt datasets of public profiles, posts and comments. Bright Data, for example, lists 37 social media datasets and prices them from $2.50 per 1,000 records, with 100,000 records for $250 as its smallest tier. Before you pay, check three things in the free sample: when the rows were collected, whether your target accounts are in it, and what the licence lets you do.

How fresh is a social media dataset?

A dataset is only as fresh as its last collection. Like counts, view counts and follower counts start aging the moment the snapshot is taken, and deleted posts stay in the file. Vendors sell refresh plans, from one-time up to monthly, but large indexes cannot refresh every record often. Ask the vendor for the collection date of the exact rows you would buy.

It depends on the data and where the people in it live. Public posts can still be personal data under the GDPR, which means you need a purpose, you keep only what that purpose needs, and you delete it when you are done. Platform terms can add their own deletion duties. This is a general overview, not legal advice, so check your use case with a lawyer.

How much does a social media dataset cost?

Bright Data’s datasets pricing page lists $2.50 per 1,000 records, with 100,000 records for $250 as the smallest tier, and discounts of 25% to 80% for biannual to monthly refreshes. Other vendors price on request. Live queries price per item instead: ScraperSocial charges 1 credit for most items, and the $5 plan buys 1,000 credits, with 25 free credits at signup.

Where can researchers get social media data for free?

Start with university library guides and archives. George Mason University’s guide lists Kaggle, Harvard Dataverse, Stanford SNAP and several X collections, though many X datasets hold only post IDs. ICPSR’s Social Media Archive hosts the 2020 Facebook and Instagram election study data, but sensitive files sit in a secure enclave that approved researchers apply to use.

Is a social media data dump still worth downloading?

Yes, when you study the past. A dump or archive gives you posts from before you started collecting, at a fixed point in time that other researchers can reproduce. It is the wrong tool for current numbers. Engagement counts in a dump are frozen at collection, and new posts, new accounts and deletions after that date are missing.

Decide by how old your data can be

Write down the oldest number your job can live with. If it’s months, buy a dataset and check the sample’s collection date first.

If it’s days, build your own social media database from live queries. Get an API key, point the script above at two accounts on your 25 free credits, and run it twice, a week apart. Then look at what moved.

Keep reading

Try it on your own URLs

25 trial credits on signup, no card. Enough to see real responses before you decide.