adtestbench Higgsfield
EN

Facebook ads scraper and other ad library scrapers

By Alexandre S. Published Last checked

A Facebook ads scraper, or any ad library scraper, reads the public ad libraries of Meta, TikTok and LinkedIn for you.

It hands back each ad as data: rows you can drop into a spreadsheet, a script or an AI assistant, instead of screenshots. You get the advertiser, the text, the media links, the dates and whatever extra fields the library shows.

There are three ways to get that data. Meta’s own API is free but narrow.

A scraping API such as Scrape Atlas costs cents per 1,000 ads on list calls and $1.90 per 1,000 with full details, with no identity check. An ad spy app such as Foreplay adds saved boards and alerts for a monthly fee.

Three ways to get ad library data, and who each fits
Route What it costs What you get Fits
Official APIs (Meta Ad Library API, TikTok Commercial Content API) Free Meta: political and issue ads, plus any ad delivered to the UK or EU in the past year. TikTok: EU data only Researchers working on EU ads who can pass Meta’s identity check
Scraping API (Scrape Atlas) $19 once for 10,000 calls; 100 free credits to start JSON from the Meta, TikTok and LinkedIn libraries, through code, a CLI, n8n or an AI assistant Media buyers, analysts and developers who want ads in a sheet or a script
Ad spy app (Foreplay, Atria) Foreplay from $59 a month Saved boards, tracking, archives of stopped ads, a finished interface Creative teams who want a swipe file without building anything

Scroll sideways for all 4 columns

Visit Scrape Atlas Free · checked

What is an ad library scraper?

It does what you do by hand in the Ad Library: search a brand, scroll, open each ad. Then it returns the results in JSON. That is a plain text format that lists each field by name (“advertiser”, “start date”, “video URL”), so a spreadsheet or script can read it.

Scrape Atlas sells this as an API: a web address your code calls with a question, which answers with data. You pay in credits, and each successful call uses one. Its pricing section sells credits as one-time packs that never expire, with no subscription.

The operator is OD. Media & Technology LLC, registered in Sharjah, UAE. Its user evidence is thin: twelve short G2 reviews, all shown through the vendor’s own site. Its privacy policy (section 10) says G2 reviews can earn rewards. None of the twelve mentions the ad library endpoints.

Why not use Meta’s own Ad Library API?

Because it leaves out the ads most buyers want: ordinary commercial ads shown outside Europe. Meta’s API page covers political and issue ads worldwide, plus “Ads of any type that were delivered to the United Kingdom (UK) or European Union during the past year”.

A US-only ecommerce ad is outside both sets. Getting access also takes an identity check at Facebook.com/ID, which Meta says “can take a few days”, a developer account and an app. The full walkthrough is on how to use the Meta Ad Library.

TikTok’s own Commercial Content API has the same shape: EU data only in this phase.

A scraping API reads the public library pages you browse yourself. Those list every active ad, whatever its topic. Scrape Atlas asks for an account and a key, with no identity check.

How do you pull a competitor’s Meta ads with Scrape Atlas?

You need an account, a key and two calls: one to find the brand’s Page ID, one to list its ads. Here is the route from sign-up to a sheet.

  1. Create an account at scrapeatlas.com. It grants 100 free credits once per account, with no card.
  2. Create an API key on your account page. Treat it like a password: anyone with it spends your credits.
  3. Find the brand. Call the company search, GET /v1/facebook/adLibrary/search/companies, with the brand name. It returns matching advertisers and their Page IDs, for 1 credit.
  4. List its ads. Call GET /v1/facebook/adLibrary/company/ads with that pageId and status=ACTIVE. Each page of results costs 1 credit; follow the cursor field to fetch the next page.
  5. Add detail where you need it. The single-ad call returns creative variants, payer and beneficiary. The transcript call returns the speech from a video ad, at 1 credit per ad.
  6. Send the rows to a sheet. n8n is a workflow tool that links apps without code. There, the Scrape Atlas node makes the call and a Google Sheets node writes each ad as a row.
Scrape Atlas docs: the eight Meta Ad Library endpoints, from search ads and ad details to company ads and ad video transcript
The eight Meta Ad Library endpoints in Scrape Atlas’s docs Scrape Atlas Meta Ad Library endpoints, captured

If you prefer a terminal, the CLI does the same with one command per call. It needs Node.js 22 or later:

npm install -g @scrapeatlas/cli
scrapeatlas auth login
scrapeatlas call metaAdsCompanyAdsGet --input '{"pageId": "PAGE_ID", "status": "ACTIVE"}'

The CLI fetches one page per command, with no automatic paging or retries, so a script loops over the cursor itself.

An AI assistant can skip both. Scrape Atlas runs an MCP server, a standard way for assistants such as Claude to call outside tools, labelled “PREVIEW” on its MCP page.

You paste one config block with your key, then ask in plain words: “list every active Meta ad from this brand in Germany”. Setup steps are on the Scrape Atlas profile.

Open Scrape Atlas Free · checked

What fields come back from each library?

Each library returns what its owner publishes, so the fields differ by platform. Meta lists spend only on political and issue ads; TikTok top ads show a budget tier.

What Scrape Atlas returns from each ad library
Library Search by Fields on an ad Coverage
Meta (8 endpoints) Keyword, advertiser, Page ID; filters for country, status, media type, language, dates Creative variants, Page, delivery dates, payer and beneficiary; EU, UK and Brazil transparency fields; video transcript Any country code or ALL
TikTok Ads Library (5 endpoints) Keyword, advertiser, region, dates, reach band, age, gender Landing page, call to action, objective, payer, targeting, reach by country, age and gender EU and EEA countries, Switzerland, Turkey, the UK and Brazil
TikTok Creative Center top ads Market, period, industry, objective, language Rank, brand, CTR, budget tier, likes, comments, shares, per-second analytics 27 markets including the US
LinkedIn (4 endpoints) Company, keyword, country, payer, date range, impressions Creative media, advertiser, payer, disclosed targeting, dates, impressions The countries LinkedIn’s library lists

Scroll sideways for all 4 columns

The Meta endpoints page lists the filters, and its schema caps a results page at 100 items. Scrape Atlas does not publish the usual page size for Meta or LinkedIn.

Can you get TikTok ads from the US?

Only the top performers. TikTok’s own library lists ads shown in Europe, Turkey and Brazil, so the library search offers those regions and no US option.

US TikTok ads come through the Creative Center top ads call instead. That is TikTok’s chart of high performers in 27 markets. It ranks them by impressions, CTR, play rate, conversion rate or likes over 7, 30 or 180 days. It shows a chosen set, never a rival’s whole account.

The TikTok endpoints are new. They arrived on 17 November 2026. On 19 November, the changelog records, TikTok’s library refused every request, and library search came back the same day.

Does it read Google ads?

No. Scrape Atlas has no endpoint for Google’s Ads Transparency Center, and none for X, Pinterest, Snapchat or Reddit ads either. Google’s own Ads Transparency Center is free to browse by advertiser or website name, step by step on how to see competitor ads.

What does 1,000 ads cost?

Cents on the list calls, under two dollars on ad-by-ad detail. Every ad endpoint costs 1 credit per successful call, partial results included, and failed calls cost nothing. The table works on the Starter pack at $1.90 per 1,000 credits.

Scrape Atlas credits and cost per 1,000 ads, on the Starter pack
Call Ads per call Credits per 1,000 ads Cost per 1,000 ads
TikTok library search 12 84 $0.16
TikTok Creative Center top ads Up to 20 50 $0.10
Meta search or company ads Up to 100 10 or more From $0.02
Meta ad details or transcript 1 1,000 $1.90
LinkedIn ad details 1 1,000 $1.90

Scroll sideways for all 4 columns

A worked job: one competitor with 300 active Meta ads. The Page ID search and the list pages take about 4 to 11 credits, about $0.021 at most. Transcripts for 120 of its video ads add 120 credits, about $0.25 in all.

So the free 100 credits cover the ad lists of about nine competitors. The larger packs cut the rate: Scale’s 200,000 credits for $249 bring ad details to $1.25 per 1,000. Every pack is on Scrape Atlas pricing.

When is an ad spy app the better buy?

When you want the work done for you. Scrape Atlas returns JSON and nothing else. It keeps no copy of results (terms section 7), so an ad that leaves the library is gone unless you saved it. There are no boards, alerts or AI briefs, and the terms (section 8) promise no uptime.

Foreplay keeps ads after they stop: its Spyder tracker saves tracked brands, on Workflow at $175 a month. Atria pairs a library with reports on your own ads, from $159 a month. Foreplay was read on , Atria on . The full comparison is on ad spy tools compared, and the Foreplay profile covers its plans.

Scrape Atlas fits the buyer who asks one question often: what is this brand running right now? A one-time pack answers it inside a sheet or an assistant for months.

What may you do with the ads you pull?

Study them. Scrape Atlas’s terms (section 4) allow use “for lawful research, internal operations, and applications you build for your users”. They add that “Rights in retrieved content remain with their respective owners”.

Its public data notice says “Publicly accessible does not mean public domain”. A competitor’s video stays theirs: pulling it for analysis is one thing, running it in your own ads is another.

One privacy line matters for competitor work. The privacy policy (section 4) says the gateway may keep a full response in memory for up to six hours. It may serve that copy to anyone who makes the identical request.

Start on Scrape Atlas Free · checked

Questions about ad library scrapers

Is there a free Facebook ads scraper?

Scrape Atlas gives 100 free credits once per account, enough to list a few competitors’ Meta ads. Meta’s own Ad Library API is free but covers political and issue ads and ads delivered to the UK or EU.

Does a scraper show a competitor’s ad spend?

Not for most ads. Meta’s library lists spend, as a range, for ads about social issues, elections or politics. TikTok’s Creative Center top ads show a budget tier, and LinkedIn shows impressions.

Is there a TikTok Ad Library API?

Yes, two. TikTok’s own Commercial Content API serves EU data only. Scrape Atlas reads the TikTok Ads Library in Europe, Turkey and Brazil, plus Creative Center top ads in 27 markets including the US.

Do Scrape Atlas credits expire?

No. Its pricing section says credits never expire and there is no monthly commitment. Credits are non-refundable once delivered, except for a billing mistake or a service failure (terms section 6).

Is the Scrape Atlas Apify actor the same thing?

No. Its Apify Store listing covers TikTok, Instagram, Meetup and Couchsurfing, with no ad library actor. The ad library endpoints sit on its own API.

Sources

  1. Scrape Atlas: Scrape Atlas pricing, one-time credit packs in US dollars that never expire; 100 free credits once per account; Starter 10,000, Growth 50,000 and Scale 200,000 credits; one credit per successful request, failed requests free. Checked
  2. Scrape Atlas docs: Meta Ad Library endpoints, 8 endpoints; search by keyword or advertiser; filters for country, status, media type, language and dates; ad details with payer, beneficiary and EU, UK and Brazil transparency; transcripts; results up to 100 items a page. Checked
  3. Scrape Atlas docs: TikTok Ads Library endpoints, 5 endpoints; library search returns 12 ads a page in the regions TikTok’s library lists, none in the US; Creative Center top ads in 27 markets including the US, up to 20 a call. Checked
  4. Scrape Atlas docs: LinkedIn Ad Library endpoints, 4 endpoints; search by company, keyword, country, payer and date; ad details with payer, disclosed targeting and impressions. Checked
  5. Scrape Atlas docs: Errors and responses, 120 requests a minute and four concurrent requests per account. Checked
  6. Scrape Atlas docs: Scrape Atlas CLI, Node.js 22 or later; install, log in, list and call commands; no automatic pagination or retries. Checked
  7. Scrape Atlas docs: Scrape Atlas n8n node, the n8n node for calling the API inside a workflow. Checked
  8. Scrape Atlas: Scrape Atlas MCP server, labelled PREVIEW; 413 tools; same credit rate as the API. Checked
  9. Scrape Atlas: Scrape Atlas changelog, TikTok Ads Library added 17 November 2026; TikTok library search restored on 19 November 2026 after the library refused requests that day. Checked
  10. OD. Media & Technology LLC: Scrape Atlas terms of service, updated 29 September 2026; section 4 allows lawful research, internal operations and apps you build; rights in retrieved content stay with their owners; section 7 no stored results; section 8 no promised uptime. Checked
  11. OD. Media & Technology LLC: Scrape Atlas public data notice, updated 29 September 2026; section 4 says publicly accessible does not mean public domain. Checked
  12. OD. Media & Technology LLC: Scrape Atlas privacy policy, updated 19 November 2026; section 4 response cache of up to six hours; section 10 G2 review links kept to verify review rewards. Checked
  13. Apify: Scrape Atlas on Apify Store, 8 actors covering TikTok, Instagram, Meetup and Couchsurfing; no ad library actor. Checked
  14. Meta: Meta Ad Library API, political and issue ads anywhere for 7 years and any ad delivered to the UK or EU in the past year; identity check, developer account and app; read from the Wayback Machine capture of 5 October 2025. Checked
  15. TikTok for Developers: Commercial Content API, EU data only in this phase. Checked
Portrait of Alexandre S.

Alexandre S.

Alexandre S. is a creative ad strategist and copywriter with ten years' experience in digital marketing across multiple channels.