Public ad-library research
Ad Intelligence API for Competitor Ad Research
For structured competitor ad research, Social Media Scraper lets you query public ad libraries and collect available ad copy, advertiser details, and source links as JSON. Test brand or keyword lookups in our browser tool, then integrate API-key REST requests into your research workflow.

Why Build an Ad Research Archive with Dated Snapshots?
Public ad library listings can change between research sessions. Save returned records with your query and collection time to keep an ad research archive instead of relying on open browser tabs.
Compare competitor ads across dates
Keep a collection timestamp with saved ad text and links so you can review competitor ads across research sessions.
Save repeatable JSON snapshots
Run the same keywords to build consistent JSON files you can compare across weeks without taking dozens of screenshots.
Keep source links with creative notes
Save returned public ad links alongside ad copy so your team can open the original listing during creative reviews.
What Ad Creative Research Fields Can You Save?
Use this ad intelligence endpoint to inspect returned IDs, ad text, titles, public links, and available advertiser details. Save matching records and open the original listing to check visual context.
Advertiser names and ad IDs
Use returned IDs and public advertiser labels when present to organize records. Check the original public listing to confirm advertiser details.
Ad copy, titles, and public links
Save returned titles, ad text, and public links so writers can review hooks and calls to action together.
Nulls for missing platform fields
When a public listing omits optional fields, responses leave them absent or null so missing values stay distinct from text or counts.
{
"items": [
{
"id": "string",
"title": "string | null",
"text": "string | null",
"url": "string | null"
}
],
"cursor": "string | null"
}How Do You Collect Public Ad Records for Research?
Start with a keyword in the free browser tool, then move repeat queries into a script or HTTP step with your API key. Saving JSON with a collection timestamp and ad IDs keeps your dataset clean.
- Search query and filters
- Public ad-library read
- Dated JSON snapshot
Search keywords and advertiser terms
Send a GET request with your query string and supported filters to collect public ad records in one structured response.
Save responses with a collection timestamp
Write your query, filters, and current UTC timestamp with the returned records into a local JSON file.
Deduplicate by ad ID across runs
Combine snapshots by ad identifier so the same public ad is counted once per review window.
How Can You Query Public Ad Records via REST?
Set SOCIALSCRAPER_API_KEY in your environment, run the GET request below, and inspect the JSON response. Add a collection timestamp when saving records in your research process.
curl --get "https://socialmediascraper.org/v1/facebook/adlibrary_search_ads" \
--header "x-api-key: $SOCIALSCRAPER_API_KEY" \
--data-urlencode "query=running"
Copy or download the request, Python script, or n8n workflow, then run it in your own environment with an active API key and balance.
Who Uses Competitor Ad Research for Creative Briefs?
Agencies, ecommerce teams, and product marketers use public ad records to shape creative briefs and compare rival messaging. Teams usually move saved JSON into spreadsheets, docs, or review workflows.
Agencies drafting creative briefs
Pull public ads in a category to map common formats, hooks, and seasonal angles before writing creative briefs.
Ecommerce teams checking rival offers
Read available ad copy and open the public link to inspect bundles, discounts, or shipping claims a rival published.
SaaS teams reviewing category messaging
Compare how competing software teams frame workflows, security, or integrations across public Facebook ad records.
When Should You Question Ad Longevity and Metrics?
Public ad libraries show transparency records, not private ad-account analytics. Checking these limits keeps you from reading ad age or missing numbers as performance proof.
No private spend, impressions, or ROAS
Responses include public ad fields only and never return spend, impressions, click-through rates, ROAS, or audience targeting.
Long-running ads do not prove profit
An older listing only reflects public library presence; brands often keep awareness or retargeting ads running without proven profit.
Single snapshots are not full history
Social Media Scraper reads current public records on demand without hosted history, so removed or regional ads outside your query will not appear.
What Should You Know About Saving Ad Library Data?
Run a search in the browser tool or call the REST endpoint, then save the returned JSON locally with your query and UTC timestamp. You can open that saved JSON later in a spreadsheet, script, or downstream storage tool.
Query keywords or brand names to gather public ad text, advertiser labels, and links, then compare snapshots across dates. Your scripts or downstream tools handle storage, tagging, and analysis after retrieval.
Read the saved JSON in your script, spreadsheet, or workflow step and map the fields your downstream system needs. Social Media Scraper returns the public records without built-in databases, alerts, or third-party connectors.
The browser tool allows three shared anonymous lookups per network per UTC day without an account. Scripted REST requests require an x-api-key header and a funded account balance.
Keep any returned public link with the record and visit the page separately if you need more context. The API does not guarantee landing-page captures, screenshots, start dates, or active flags, and your own fetch time is not an ad start date.
This is a read-only public data API for ad research, not an ad-management tool. It cannot create ads, change budgets, or connect to private ad accounts.
When Should You Run a Live Browser Search?
Test a brand name or topic keyword in the free browser tool first to inspect returned fields before wiring the endpoint into your scripts.