Facebook Ads Library Scraper avatar

Facebook Ads Library Scraper

Pricing

from $1.50 / 1,000 ads

Go to Apify Store
Facebook Ads Library Scraper

Facebook Ads Library Scraper

Scrape the public Facebook and Instagram Ad Library with no login: search by keyword, advertiser page or library URL. Get advertiser, ad text, headline, images, videos, call to action, landing page, start date, platforms and countries.

Pricing

from $1.50 / 1,000 ads

Rating

0.0

(0)

Developer

Goutam Soni

Goutam Soni

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

What it does

Reads the public Facebook and Instagram Ad Library with no login, no cookies and no access token. Search by keyword, by advertiser page ID or by pasting any Ad Library URL, and get one clean row per ad: the advertiser, ad text, headline, images, video links, call to action, landing page, start date and platforms.

Use it to research competitors' creative, find active advertisers as leads, track how long ads stay live and collect ad swipe files.

Input

FieldTypeDescription
searchQuerieslistKeywords to search for.
pageIdslistNumeric advertiser page IDs, to get every ad from one advertiser.
adLibraryUrlslistAd Library URLs copied from your browser. Each keeps its own filters.
maxAdsPerSearchintegerMost ads to keep from each search, 50 by default.
countrystringTwo-letter country code, or ALL. US by default.
activeStatusstringactive, inactive or all.
adTypestringall, or political_and_issue_ads.
mediaTypestringall, image, video, meme or none.
exactPhrasebooleanMatch the search term as an exact phrase.
maxConcurrencyintegerSearches run at once, 3 by default.
proxyConfigurationobjectLeave the default unless you have a reason to change it.

Example input

{
"searchQueries": ["running shoes"],
"country": "US",
"activeStatus": "active",
"maxAdsPerSearch": 100
}

Output sample

{
"input": "running shoes",
"adArchiveId": "1000000000000000",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=1000000000000000",
"pageId": "100000000000000",
"pageName": "Acme Co",
"pageUrl": "https://www.facebook.com/example-page/",
"pageLikes": 12500,
"pageCategories": ["Shopping & retail"],
"isActive": true,
"startDate": "2026-10-01T07:00:00.000Z",
"endDate": "2026-11-05T08:00:00.000Z",
"platforms": ["FACEBOOK", "INSTAGRAM"],
"displayFormat": "VIDEO",
"title": "Our lightest running shoe yet",
"body": "Built for every mile.",
"caption": "example.com",
"ctaText": "Shop now",
"ctaType": "SHOP_NOW",
"linkUrl": "https://example.com/shoes",
"images": [],
"videos": [{"hdUrl": "https://example.com/ad.mp4", "sdUrl": "https://example.com/ad-sd.mp4", "previewImageUrl": "https://example.com/ad.jpg"}],
"cards": [],
"collationCount": 3,
"totalResultsFound": 2913,
"scrapedAt": "2026-11-05T00:00:00.000Z"
}

Notes

  • You pay per ad delivered. A search that could not be read comes back as a row with a status and a message, and it is not charged.
  • totalResultsFound is the library's own figure for the search. It stops counting at around 50,000.
  • spend, currency, reachEstimate, impressions and disclaimer (who paid for the ad) are filled only for political and issue ads, which the library makes public by law. Set adType to political_and_issue_ads to get them. For every other ad they read null.
  • images, videos and cards depend on the ad's format, so an ad has one of them filled, not all three.
  • Media links are temporary, so download any files you want to keep soon after the run.
  • This actor is independent and is not affiliated with or endorsed by Meta or Facebook.
  • To improve our actors we collect anonymized usage telemetry (run stats and input patterns). No personal account data is collected.

Found this useful? Leave a quick review. It takes a few seconds and it genuinely helps other people find the actor.