Facebook Ads Library Scraper: Meta Ads, No Login avatar

Facebook Ads Library Scraper: Meta Ads, No Login

Pricing

from $0.45 / 1,000 ads

Go to Apify Store
Facebook Ads Library Scraper: Meta Ads, No Login

Facebook Ads Library Scraper: Meta Ads, No Login

Scrape the Facebook Ad Library (Meta Ads Library) by keyword, page or Ad Library link: ad text, headline, link, images, videos, platforms, start date and page details. Political ads add spend and impressions. No login or cookies.

Pricing

from $0.45 / 1,000 ads

Rating

0.0

(0)

Developer

earlytern

earlytern

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Facebook Ads Library Scraper

Facebook Ads Library Scraper collects ads from the public Facebook Ad Library (Meta Ad Library): ad text, headline, link, button, images, videos, carousel cards, platforms (Facebook, Instagram, Messenger, Audience Network, Threads, WhatsApp), start and end dates and the page that runs each ad, with its likes and categories. Political and issue ads also come with the amount spent, impressions, reach and who paid for them. It reads the Ad Library the way any visitor sees it, so you need no Facebook account, no cookies and no API token.

What does Facebook Ads Library Scraper do?

  • Searches the Ad Library by search terms, such as a brand, a product or words from ad copy, with the same filters as the Ad Library page: country, active or inactive ads, media type (images, videos, memes) and exact phrase.
  • Gets every ad of an advertiser from a Facebook page address (https://www.facebook.com/nike), a page ID, or an Ad Library link you set up in the browser and copy (the link keeps its own filters, including the housing, employment and financial products ad categories).
  • Returns one row per ad, in the order the Ad Library shows them, up to 5,000 ads per search.
  • Fills the main text, headline and link of carousel and dynamic ads from their first card, and keeps every card.
  • Saves each ad once per run, even when several searches find it.

Why use Facebook Ads Library Scraper?

  • Competitive research: see every ad a competitor runs now, since when, on which platforms and with what offer.
  • Creative ideas: collect winning hooks, headlines and videos in your niche. Ads that run for months and in many versions are usually the ones that work.
  • E-commerce and dropshipping: spot products that stores are pushing right now.
  • Lead generation: find businesses that spend on ads, with their page, website and page likes.
  • Political ad tracking: spend, impressions and the payer of election and issue ads.

How to use Facebook Ads Library Scraper

  1. Type one or more search terms, one per line, for example running shoes, or add Facebook pages or Ad Library links.
  2. Pick a country (or all countries), the ad status and a media type if you want.
  3. Set Maximum ads per search.
  4. Click Start and download the results as JSON, CSV, Excel or HTML, or get them through the API.

Input

{
"searchTerms": ["running shoes"],
"country": "US",
"activeStatus": "active",
"mediaType": "all",
"maxAdsPerSearch": 100
}

All ads of some advertisers, active and inactive, in every country (the Ad Library link keeps its own filters: active video ads in the United Kingdom):

{
"pages": [
"https://www.facebook.com/nike",
"106485550030",
"https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=GB&media_type=video&q=coffee&search_type=keyword_unordered"
],
"activeStatus": "all",
"maxAdsPerSearch": 500
}

Output

One row per ad. Example (long links shortened):

{
"type": "ad",
"input": "running shoes",
"searchUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&is_targeted_country=false&media_type=all&q=running+shoes&search_type=keyword_unordered",
"position": 1,
"adArchiveId": "1234567890123456",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=1234567890123456",
"pageId": "106485550030",
"pageName": "Example Footwear",
"pageUrl": "https://www.facebook.com/examplefootwear/",
"pageProfilePictureUrl": "https://scontent.xx.fbcdn.net/...",
"pageLikeCount": 182400,
"pageCategories": ["Shoe store"],
"isActive": true,
"startDate": "2026-07-06",
"endDate": "2026-11-20",
"publisherPlatforms": ["FACEBOOK", "INSTAGRAM", "AUDIENCE_NETWORK"],
"displayFormat": "DCO",
"bodyText": "Meet the shoes built for heel pain relief. Free shipping and 90-day returns.",
"title": "Comfort for every mile",
"caption": "example.com",
"linkUrl": "https://www.example.com/pages/running",
"linkDescription": "Over 3M pairs sold",
"ctaText": "Shop now",
"ctaType": "SHOP_NOW",
"imageUrls": [],
"videos": [],
"cards": [
{
"title": "Comfort for every mile",
"body": "Meet the shoes built for heel pain relief. Free shipping and 90-day returns.",
"caption": "example.com",
"linkUrl": "https://www.example.com/pages/running",
"linkDescription": "Over 3M pairs sold",
"ctaText": "Shop Now",
"imageUrl": null,
"videoHdUrl": "https://video.xx.fbcdn.net/...mp4",
"videoSdUrl": "https://video.xx.fbcdn.net/...mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/..."
}
],
"versionsCount": 1,
"containsAiContent": false,
"categories": [],
"paidForBy": null,
"spend": null,
"currency": null,
"impressions": null,
"reachEstimate": null,
"targetedOrReachedCountries": [],
"message": null,
"scrapedAt": "2026-11-20T16:44:14.056Z"
}

For political and issue ads (choose Issues, elections or politics as the ad category) paidForBy, spend (for example $100K-$200K), currency, impressions and reachEstimate are filled in.

Rows with type other than ad are free and explain a search without ads, with a message that says what to do: no_results (the Ad Library shows no ads, or every ad was already saved by an earlier search), blocked (the Ad Library did not answer after several tries), invalid (the line is not a page or Ad Library link, or the page has no ads) and skipped (not read because of the maximum cost per run or the timeout). The Ads view in the Output tab shows the main columns as a table.

How much does Facebook Ads Library Scraper cost?

You pay per saved ad. There is no start fee, and explanation rows are free.

Apify planPer 1,000 ads
Free$0.60
Bronze$0.55
Silver$0.50
Gold and higher$0.45

Example: 5 competitors with 200 ads each are 1,000 ads, which cost $0.60 on the Free plan. Set a maximum cost per run in the run options to cap what a run can spend: when it is reached, the run stops cleanly and searches it could not pay for come back as free skipped rows.

Tips

  • Keep the proxy on residential (the default). Other proxies only get the first results of each search.
  • Image and video links from Facebook expire after a few days. Download the files you want to keep.
  • versionsCount above 1 and an early startDate usually mean the advertiser keeps paying for the ad, which is a sign that it works.
  • To follow a competitor, run the Actor on a schedule with their page and Active ads, and compare the adArchiveId values with the last run.
  • A page address that comes back as invalid has no Ad Library ID (the page has never run ads, or it is a personal profile). Search for the brand name as a search term instead.

The Actor reads only what the Ad Library shows publicly to visitors who are not logged in. It does not log in, use cookies or accounts. Ads are mostly business information, but ads and political ad disclaimers can name people. If you store or process personal data, you need a lawful basis under the data protection laws that apply to you (for example the GDPR in the EU or the UK GDPR) and must respect the rights of the people in the data. Meta's terms restrict automated collection; depending on your situation you may be bound by those terms, so check them before you use the results. Ads and creatives are protected by copyright: use them for research, not as your own ads. You are responsible for how you use the data; when in doubt, ask a lawyer.

Questions and feedback

Open an issue on the Issues tab; we answer within 2 working days.