Facebook Ad Library Web Scraper
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative ActorsFacebook Ad Library Web Scraper
Scrape advertising data from one or multiple Facebook Pages(Facebook Ad Library ).Fast and cost-effective
You can access the Facebook Ad Library Web Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "startUrls": [
3 {
4 "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&media_type=all&search_type=page&view_all_page_id=131719452422201"
5 }
6 ]
7}' |
8apify call alexrt/facebook-ad-library-web-scraper --silent --output-dataset
Facebook Ad Scraper API through CLI
The Apify CLI is the official tool that allows you to use Facebook Ad Library Web Scraper locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include: