Facebook Ad Library avatar
Facebook Ad Library

Pricing

$0.70 / 1,000 ads

Go to Store
Facebook Ad Library

Facebook Ad Library

Developed by

InsightAPILabs

InsightAPILabs

Maintained by Community

Scrape Facebook ads library efficiently!

4.0 (1)

Pricing

$0.70 / 1,000 ads

9

Total users

139

Monthly users

39

Runs succeeded

>99%

Last modified

a month ago

You can access the Facebook Ad Library 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.

$echo '{
< "facebook_ad_library_search_url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&q=real estate&search_type=keyword_unordered&media_type=all"
<}' |
<apify call insight_api_labs/facebook-ad-library --silent --output-dataset

Facebook Ad Library API through CLI

The Apify CLI is the official tool that allows you to use Facebook Ad Library locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

$npm i -g apify-cli
$apify login

Other API clients include: