VOOZH about

URL: https://apify.com/rastriq/fb-adlibrary-scraper

โ‡ฑ Facebook Ad Library Scraper โ€” Meta Ads Data ยท Apify


Pricing

from $0.40 / 1,000 results

Go to Apify Store

Facebook Ad Library Scraper

Scrapes ads from Facebook Ad Library. Select the brand and extract the historical ads.

Pricing

from $0.40 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Rastriq โ€” Structured data from the world

Rastriq โ€” Structured data from the world

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Share

Extracts ads from Facebook's public Ad Library by intercepting internal GraphQL calls. No API key or Facebook login required.

Uses Playwright + residential proxy to load the Ad Library page and capture GraphQL ad data. 4 GB memory recommended.

What it does

Navigates to facebook.com/ads/library with your search query, scrolls to load more results, and intercepts the internal GraphQL responses that contain ad data.

Two search modes

ModeFieldWhen to use
Domain searchdomainYou know the advertiser's website (e.g. leroy-merlin.es). More precise โ€” uses exact-phrase matching.
Keyword searchkeywordYou only know the brand name. Broader results.

If both are set, domain takes priority.

Output fields

FieldDescription
ad_archive_idFacebook ad archive ID (deduplication key)
page_idAdvertiser page ID
page_nameAdvertiser page name
page_urlAdvertiser page URL
statusactive / inactive
bodyAd text content (max 600 chars)
link_urlDestination URL
link_titleLink card title
start_dateFirst shown date
end_dateLast shown date (null if still active)
platformsPlatforms (facebook, instagram, etc.)
media_typetext / image / video

Example input

{
"domain":"leroymerlin.es",
"country":"ES",
"maxResults":100
}

Cost estimate

  • 50 ads (test): ~โ‚ฌ0.10, ~1โ€“2 minutes
  • 200 ads: ~โ‚ฌ0.25, ~3โ€“5 minutes
  • 500 ads: ~โ‚ฌ0.50, ~8โ€“12 minutes

Memory: 4096 MB (Playwright required; Facebook runs heavy JS).

Proxy

Residential proxies are required โ€” Facebook blocks datacenter IPs systematically. The actor defaults to RESIDENTIAL proxy from Spain (matching the default country ES).

Notes

  • Facebook may show a cookie consent dialog; handled automatically
  • Results depend on scroll depth: more maxResults = more scrolling = more time
  • Deduplicates by ad_archive_id
  • The Ad Library shows all active and recently inactive ads (last 7 years for political ads, 90 days for others)

Legal

Accesses only publicly visible ad data โ€” the same data available at facebook.com/ads/library without login. No personal user data is collected.

You might also like

Facebook Ad Library Scraper

practicaltools/facebook-ad-library-scraper

Scrapes ads from the Facebook Ad Library. Accepts search URLs or Facebook page URLs and returns structured ad data.

๐Ÿ‘ User avatar

Practical Tools

49

Facebook Ad Library Scraper

prodiger/facebook-ads-library-scraper

Scrape Facebook ads from Ad Library search results and ads run by Facebook pages. Pay per ad at $0.75 per 1,000 ads.

Facebook Ad Library Scraper

apipi/facebook-ad-library-scraper

Ultra-fast Facebook Ads Library scraper with advanced filtering. Extract ads from Meta Ads Library in seconds! Perfect for competitor analysis, market research, and ad intelligence.

Facebook Ads Library Scraper

moving_beacon-owner1/my-actor-28

A Python tool to extract ad data from the Facebook Ads Library for research, analysis, or competitive insights.

79

Facebook Ads Library Scraper API

api_creators/facebook-ads-library-scraper-api

$1 per 1000 ads! Scrape Facebook Ad Library: Extract ad data, copy & creatives from FB & Instagram. Powerful Facebook Ads Scraper for competitor research & ad intelligence. Search by keyword or Page ID. Export JSON, CSV, or Excel. Fast, reliable, and cheap Facebook Ad Library API.

150

5.0

Facebook Ads Library Scraper

scraper-engine/facebook-ads-library-scraper

The Facebook Ads Library Scraper extracts ad data from Facebookโ€™s Ad Library, including advertiser details, ad text, impressions, and targeting info. Ideal for ad research, marketing insights, and competitor analysis, it delivers clean, structured data for analysis or integration via API.

๐Ÿ‘ User avatar

Scraper Engine

403

4.2