Facebook ad library scraper avatar

Facebook ad library scraper

Try for free

Pay $0.75 for 1,000 ads

Go to Store
Facebook ad library scraper

Facebook ad library scraper

curious_coder/facebook-ads-library-scraper
Try for free

Pay $0.75 for 1,000 ads

Scrape facebook ads search and ads run by facebook pages - Fast and lightweight

You can access the Facebook ad library 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  "urls": [
3    {
4      "url": "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=IN&q=linkedin&search_type=keyword_unordered&media_type=all"
5    },
6    {
7      "url": "https://www.facebook.com/ZapierApp"
8    }
9  ],
10  "scrapePageAds.activeStatus": "all",
11  "period": "",
12  "count": 100
13}' |
14apify call curious_coder/facebook-ads-library-scraper --silent --output-dataset

Facebook ad library scraper API through CLI

The Apify CLI is the official tool that allows you to use Facebook ad library 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:

Developer
Maintained by Community

Actor Metrics

  • 447 monthly users

  • 56 stars

  • >99% runs succeeded

  • 4.5 days response time

  • Created in Aug 2023

  • Modified 2 days ago