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

Developer
Maintained by Community

Actor Metrics

  • 650 monthly users

  • 2.4 / 5 (9)

  • 126 bookmarks

  • >99% runs succeeded

  • 7.4 days response time

  • Created in Aug 2023

  • Modified 2 months ago

Categories

You can access the Facebook ad library scraper programmatically from your own applications by using the Apify API. You can also 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  "count": 100,
11  "scrapePageAds.activeStatus": "all",
12  "period": ""
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: