Facebook ad library scraper avatar

Facebook ad library scraper

Try for free

Pay $0.75 for 1,000 ads

View all Actors
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  "count": 100
12}' |
13apify 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
  • 274 monthly users
  • 28 stars
  • 100.0% runs succeeded
  • 0.74 hours response time
  • Created in Aug 2023
  • Modified 4 days ago