Facebook Ads Scraper avatar

Facebook Ads Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Facebook Ads Scraper

Facebook Ads Scraper

Scrape the public Facebook Ad Library to find competitor ads by page ID or search term. Features: -Scrape ads by Facebook Page ID -Search ads by keyword -Filter by country and status -Extract ad creatives, text, and targeting info

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

0

Bookmarked

16

Total users

1

Monthly active users

21 hours ago

Last modified

Share

Facebook Ad Library Scraper - Competitor Ad Intelligence

Discover competitor Facebook ads by scraping Meta's Ad Library. Find active and inactive ads, see creatives, and analyze messaging. No per-campaign fees.


Quick Start

Run with real data

{
"countryCode": "US",
"maxItems": 50,
"adActiveStatus": "ALL",
"webhookPlatform": "custom"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
pageIdsarray-NoList of Facebook Page IDs to scrape ads from
searchTermstring-NoSearch term to find ads (alternative to pageIds)
countryCodestring"US"NoCountry to filter ads (ISO 2-letter code)
maxItemsinteger50NoMaximum number of ads to scrape per page
adActiveStatusstring"ALL"NoFilter by ad status
webhookUrlstring-NoURL to POST results when scraping completes (Zapier, Make, n8n, custom endpoint)
webhookPlatformstring"custom"NoPlatform type for webhook formatting
webhookHeadersobject-NoCustom HTTP headers to send with webhook (JSON object)

Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Ad ScrapedEach Facebook ad scraped from Ad Library$0.04

Troubleshooting

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Run the actor with the default sample input, or set demoMode to true, and it returns labeled sample ad data showing the exact live output format. Every sample item carries demo: true and a _notice field, and sample runs charge no task events. Provide page IDs or a search term to run a real scrape.


Built by John Rippy | Actor Arsenal