Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring avatar

Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring

Pricing

from $0.70 / 1,000 ad results

Go to Apify Store
Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring

Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring

Scrape public Facebook and Instagram ads from Meta Ad Library by keyword, advertiser Page ID, or URL. Export ad copy, creative URLs, CTAs, and landing pages to CSV or JSON. Monitor new or changed competitor ads across runs.

Pricing

from $0.70 / 1,000 ad results

Rating

0.0

(0)

Developer

Md Saif Ahmed

Md Saif Ahmed

Maintained by Community

Actor stats

0

Bookmarked

5

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Facebook Ads Library Scraper

Export public Facebook and Instagram ads from Meta Ad Library to CSV, Excel, or JSON. Search by product keyword, advertiser Page ID, or an Ad Library URL. Each dataset record represents an ad and includes the available advertiser, copy, creative URLs, delivery status, call to action, and landing page.

Start with an example

Open an example, select Try for free to load its input, then swap in your own keyword or advertiser. Start with a small result limit to check coverage for your market.

After the run, open the Dataset to export your results. For a repeatable CSV or JSON export, use the Actor API. Meta controls which ads and fields are publicly available. Use the export for creative research, since it does not contain private conversions or return on ad spend.

Features

  • Search by URL, one keyword query per run, or advertiser Page ID
  • Country, status, category, platform, media, and date filters
  • Images and videos with optional file downloads
  • Runs without login cookies; residential proxy support is optional for fuller coverage
  • Anonymous Meta warm-up, headful stealth Chrome, and human-paced navigation
  • Persistent firstSeenAt, lastSeenAt, and change detection
  • Incremental onlyNewOrChanged runs for scheduled monitoring
  • Automatic retries and persistent request queues
  • JSON, JSONL, CSV, XML, Excel, and API output through Apify Dataset

Only information publicly displayed by Meta on the Ads Library results page is collected.

Use searchQuery for a keyword or phrase. The Actor accepts one search query per run to keep execution time predictable and reduce timeout risk. Run separate Actor tasks for separate queries.

Run locally

Install the Apify CLI and sign in if you want to use Apify Proxy locally:

npm install
npm run build
apify login
apify run

The example input runs without Apify Proxy. Add a residential proxy for larger or more reliable production runs.

Deploy

apify login
apify push

The Actor Console creates its input form from .actor/input_schema.json. The default runs without a proxy; production users can enable an Apify residential or external proxy from the same field.

Monitoring

Set a stable monitoringKey, enable onlyNewOrChanged, and schedule the Actor. Runs that use the same key share a named key-value store. Every ad is fingerprinted from its status, content, destination, and creatives. The Dataset then receives only new or changed ads.

Output

The default Dataset contains flat fields for convenient CSV/Excel exports and a media array for structured integrations. PROGRESS and OUTPUT records are written to the default key-value store during each run.

Notes

Meta changes Ads Library markup regularly. The extractor deliberately relies on visible labels, links, media dimensions, and Library IDs instead of generated CSS class names. Fixtures should be added whenever a changed Meta layout is encountered.