Facebook Ads Collector avatar
Facebook Ads Collector

Pricing

$0.50 / 1,000 results

Go to Apify Store
Facebook Ads Collector

Facebook Ads Collector

See what ads your competitors run on Facebook & Instagram. Get images, videos, landing pages, and ad copy. 15 data fields per ad. Works in any country. No Facebook account needed. $0.50 per 1,000 ads.

Pricing

$0.50 / 1,000 results

Rating

0.0

(0)

Developer

Qo Qa

Qo Qa

Maintained by Community

Actor stats

1

Bookmarked

6

Total users

4

Monthly active users

3 days ago

Last modified

Share

Facebook Ad Library Scraper

Collect ads from Meta's Ad Library. See what your competitors run on Facebook and Instagram. Get images, videos, ad copy, and landing pages.

  • Fast — 1,000 ads in about 15 minutes
  • Cheap — About $0.25 per 1,000 ads
  • No login needed — Uses the public Ad Library

Works for any country where Facebook operates.


What You Get

Each ad includes:

FieldDescription
ad_idUnique ID for the ad
page_nameWho's running the ad
ad_textFull text of the ad
image_urlsLinks to all images
video_urlsLinks to all videos
cta_linkWhere the ad sends people
cta_typeButton type (Shop Now, Learn More, etc.)
started_runningWhen the ad started
is_activeIs it still running?
platformsFacebook, Instagram, Messenger (with "Get More Details" on)
total_active_timeHow long it's been running (with "Get More Details" on)

How to Use

Find ads by keyword

Search for "coffee" in the US:

{
"searchQuery": "coffee",
"country": "US",
"maxItems": 100
}

Spy on a competitor

Get all ads from a specific Facebook page:

{
"pageIds": ["123456789"],
"maxItems": 100
}

Find the Page ID in the page's URL. For example, facebook.com/nike has Page ID nike. Some pages use numbers instead.

Find winning ads

Ads that run for a long time are usually profitable. Search a niche, enable "Get More Details", then sort results by total_active_time.


Example Output

{
"ad_id": "123456789",
"page_name": "Nike",
"page_id": "987654321",
"ad_text": "Just Do It. Shop the latest running shoes now.",
"media_type": "video",
"image_urls": ["https://scontent.facebook.com/..."],
"video_urls": ["https://video.facebook.com/..."],
"cta_type": "SHOP_NOW",
"cta_link": "https://nike.com/running",
"is_active": true,
"started_running": "Dec 1, 2024",
"ad_library_url": "https://facebook.com/ads/library/?id=123456789"
}

Use Cases

Competitor Research

See every ad a competitor runs. Track what they test, what copy works, and where they send traffic.

Ad Inspiration

Build a swipe file of ads in your niche. See what's working for others before you spend money on ads.

Product Research

Find products with proven ad spend. If someone pays to run ads for months, the product probably sells.

AI and Automation

Get data in JSON format. Send it to n8n, Make, Zapier, or your own scripts. Analyze trends or generate reports.


Pricing

About $0.25 per 1,000 ads with default settings.

AdsApprox. Cost
100$0.03
1,000$0.25
10,000$2.50

Costs may vary based on proxy usage and options selected.


Tips

Speed vs. Safety

The default speed (2 seconds) works for most people. If you get blocked, slow down to 3-5 seconds.

Get More Details

This option clicks each ad to get extra info like platforms and run time. It takes about 3x longer. Only turn it on if you need that data.

Download Media

Leave this OFF to save money. You still get URLs to all images and videos. Turn it ON only if you need to download files right away.


Why Not Use Meta's Official API?

Meta's Ad Library API only returns non-political ads for the EU and UK. If you need ads from the US, Latin America, Asia, or anywhere else, the official API won't work.

This scraper works for all countries.


FAQ

Do I need a Facebook account? No. The Ad Library is public.

How fresh is the data? Real-time. We scrape directly from the live Ad Library.

Can I get old ads? Only ads still in the library. Political ads stay for 7 years. Regular ads disappear soon after they stop.

What if I get blocked? Switch to Residential proxy in the settings. It costs more but works better.


Integrations

Works with:

  • Google Sheets
  • Airtable
  • n8n
  • Make (Integromat)
  • Zapier
  • Webhooks
  • Any tool that accepts JSON

Support

Questions? Open an issue on this actor's page or contact Apify support.


Keywords: facebook ad library scraper, meta ad library, facebook ad spy tool, competitor ad research, ad intelligence, facebook ads database, instagram ad scraper, ad creative scraper, dropshipping product research