Facebook Ads Library Scraper
Pricing
from $1.40 / 1,000 ads
Facebook Ads Library Scraper
Collects public ads from Facebook Ads Library by URL, keyword, or advertiser page ID. Returns ad copy, platforms, dates, and optional advertiser details.
Facebook Ads Library Scraper
Pricing
from $1.40 / 1,000 ads
Collects public ads from Facebook Ads Library by URL, keyword, or advertiser page ID. Returns ad copy, platforms, dates, and optional advertiser details.
You can access the Facebook Ads 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 API & Integrations in Apify Console.
$echo '{< "startUrls": [< {< "url": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&is_targeted_country=false&media_type=all&q=Nike&search_type=keyword_unordered"< }< ],< "searchQueries": [< "Nike"< ],< "maxItems": 50,< "proxyConfiguration": {< "useApifyProxy": true,< "apifyProxyGroups": [< "RESIDENTIAL"< ]< }<}' |<apify call scraptivo/facebook-ads-scraper --silent --output-datasetThe Apify CLI is the official tool that allows you to use Facebook Ads Library Scraper locally, providing convenience functions and automatic retries on errors.
Using installation script (macOS/Linux):
$curl -fsSL https://apify.com/install-cli.sh | bashUsing installation script (Windows):
$irm https://apify.com/install-cli.ps1 | iexUsing Homebrew:
$brew install apify-cliUsing npm:
$npm install -g apify-cliOther API clients include: