Facebook Ads Library Scraper avatar

Facebook Ads Library Scraper

Pricing

from $3.40 / 1,000 ads

Go to Apify Store
Facebook Ads Library Scraper

Facebook Ads Library Scraper

Extract advertising data from Facebook, Instagram, WhatsApp, Threads. Get ads, publishers, prices, reach estimates, impressions, links, images, IDs, timestamps, product info, and more from Facebook Ad Library. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.

Pricing

from $3.40 / 1,000 ads

Rating

3.0

(41)

Developer

Apify

Apify

Maintained by Apify

Actor stats

421

Bookmarked

27K

Total users

3.8K

Monthly active users

22 hours

Issues response

5 hours ago

Last modified

Share

📢 New: e-commerce data enrichment, powered by Facebook Ads Library Scraper × E-commerce Scraping Tool.

🛍️ With this add-on, you can now extract the products and prices behind each ad, not only the ad data itself to combine competitor ad research, product research, and pricing intelligence in a single run.

What can Facebook Ads Library Scraper do?

Facebook Ads Library Scraper extracts data from the Meta Ad Library across multiple Meta platforms beyond what official APIs provide. Add one or multiple Facebook page URLs or Facebook Ads Library URLs, and you can:

🧩 Scrape ads published across Meta platforms, including Facebook, Instagram, WhatsApp, Threads, Messenger, and Audience Network

🔎 Prefilter ads by brand, keyword, country, language, media type, status (active or inactive), ad type (product, political, housing), and creative format

📅 Refine ads before scraping with date filters, sorting (default, impressions high to low, or most recent), and active status (active or inactive) — for cleaner, cheaper runs

🏢 Get advertiser transparency signals from the Facebook Ads Library About page, including business address, admin countries and counts, and page creation/merging or name change history

🌍 Track ad performance across countries, languages, and brands to compare regional strategies and localization efforts

🎨 Analyze and reuse complete ad creatives, including images, videos, carousels, memes, ad copy, and CTA links

🛒 Enrich ads with the products and prices behind them, more details

⬇️ Export ad data in JSON, CSV, Excel, or XML

🦾 Access the ad data programmatically via API endpoints, SDKs (Python & Node.js), and webhooks

Add Facebook Ads Library Scraper to your ad research and transparency toolkit to support competitor monitoring, content strategy optimization, benchmarking, performance analysis, and regulatory reporting.

What Facebook and Instagram ad data can I extract?

With this Meta Ads API, you will be able to extract the following ad data from Meta platforms:

🏢 Page & advertiser data

📝 Page name, ID, alias, category, verification status🔗 Page URL & profile links
📊 Page metrics (likes, Instagram followers)📸 Page profile & cover images
🧑‍💼 Page owner & transparency info🏢 Advertiser's business address and phone
🌍 Page admin locations by country🧮 Page admin count per country
📅 Page creation date & name change history

🛍 Ad data

🛍 Ad text & messaging🏷 Ad category & type (e.g. product, political, social issue)
🎨 Ad creatives (images, videos, carousels)🖼 Creative variants & display format
🖱 CTA text & CTA type🔗 Destination links (when available)
📢 Publisher platforms (Facebook, Instagram, WhatsApp, Threads, Audience Network)🌐 Language & country signals (when available)
⏱ Ad start & end dates📅 Visibility timeframe & activity history
💸 Ad spend data & currency (when available)👀 Reach & impression estimates (when available)
🧮 Report count & user reports🚦 Ad status (active/inactive)
📦 Branded content & partner page details🔎 Compliance, eligibility & safety flags

🛒 E-commerce enrichment (add-on)

🛒 Product name & URL💲 Product price & currency
🏷 Product brand🖼 Product image
📄 Product description⭐ Product rating & review count

Enrich ads with product and pricing data 🛍️

With the new e-commerce add-on, Facebook Ads Library Scraper doesn't stop at the ad — it follows the destination link and pulls the actual products and prices behind each ad. The enrichment is powered by the E-commerce Scraping Tool, which extracts data from almost any retail site, marketplace, or delivery platform.

On top of the standard ad data, you can capture:

  • 🏷 Product details — name, product description, brand, product URL
  • 💲 Pricing — current price and currency
  • Reviews & ratings — number of reviews and current rating
  • 🖼️ Images of the extracted product

This turns a single run into competitor ad research, product research, and pricing intelligence at once — ideal for price monitoring, catalog and offer comparison, and market mapping. See the E-commerce Scraping Tool for the full list of supported data and sites.

How much will scraping ads data from Facebook or Instagram cost you?

Facebook Ads Library Scraper uses a pay-per-result (PPR) pricing model, where one result equals one ad campaign. On the Free plan, it costs $5.80 per 1,000 ads, with no discount applied.

Paid plans offer discounted rates and higher monthly credit. For example, the Starter plan charges $5.00 per 1,000 ads, which allows you to scrape 7,800 ads per month. The Scale and Business plans reduce the price to $4.20 with 47,000 ads per month, and $3.40 with 300,000 ads per month, respectively.

The e-commerce enrichment add-on is billed per 1,000 enriched ads, on top of the ad price, and only when you turn it on. On the Free plan it costs $5.70 per 1,000, and the Starter plan drops it to $3.20 per 1,000 — with bigger discounts on higher plans. Check the pricing tab for full details.

How do I use Facebook Ad Library Scraper?

Facebook Ads Library Scraper was designed to be easy to start with, even if you've never extracted data from the web before. Here's how you can scrape data from the Facebook Ads Library with this tool:

  1. Create a free Apify account using your email.
  2. Open Facebook Ad Library Scraper.
  3. Add a Facebook Page URL to scrape ads from.
  4. Alternatively, head over to the Facebook Ad Library. Choose the country, advertisement category, and brand name or keyword.
  5. Filter the results by platform, language, activity, media type, timeframe, or even audience size before scraping them. Copy the URL to the scraper.
  6. Click "Start" and wait for the data to be extracted.
  7. Download your data though API or in JSON, XML, CSV, Excel, HTML.

For a step-by-step guide on how to scrape Facebook Ads, follow our tutorial 📝 or this video guide

Please note that this scraper displays the extracted results only at the very end of the run. The rest of the time it will display 0 results. Please be patient to see all the extracted data.

⬇️ Input

Enter either a Facebook page URL or a Facebook Ads Library URL of a brand or an ad.

To scrape Facebook Ads, the input should be either:

  • URLs of brands or ads taken directly from Facebook Ads Library, such as https://www.facebook.com/ads/library/?active_status=active&ad_type=all&content_languages[0]=en&country=ALL&is_targeted_country=false&media_type=image&publisher_platforms[0]=instagram&publisher_platforms[1]=facebook&search_type=page&view_all_page_id=15087023444.
    • Before you copy&paste this type of URL, don't forget to include various settings, platforms, keywords, or filters available in Facebook Ads Library.
  • Alternatively, you can add one or more Facebook page URLs to scrape the ads from, such as SHEINOFFICIAL
  • Additionally, choose active or inactive ads, whether to scrape the ad details.

You can input URLs individually or in bulk using the Bulk edit function. You can also input data manually via the UI, JSON, or programmatically via an API. Click on the input tab for a full explanation of input in JSON. Scrape ads from Meta Facebook Instagram

⬆️ Output

Your Facebook Ads Library results will appear in a dataset in the Storage tab. You can view them as a table, download in JSON, CSV, Excel, or XML, or use API endpoints.

Instagram ads Meta ads Facebook ads output

Besides the table view, you can also view your data as JSON, as well as download it as CSV, XML, Excel file, or through an API.

🛍️ Meta ad data sample

[
{
"inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&is_targeted_country=false&media_type=all&search_type=page&sort_data[mode]=total_impressions&sort_data[direction]=desc&view_all_page_id=16453004404",
"pageID": "16453004404",
"adArchiveID": "1229350099285014",
"startDateFormatted": "2026-03-16T07:00:00.000Z",
"endDateFormatted": "2026-07-09T07:00:00.000Z",
"adArchiveId": "1229350099285014",
"collationCount": 1,
"collationId": "936389910871080",
"pageId": "16453004404",
"snapshot": {
"brandedContent": null,
"pageId": "16453004404",
"pageIsDeleted": false,
"pageProfileUri": "https://www.facebook.com/sephora/",
"rootResharedPost": null,
"byline": null,
"disclaimerLabel": null,
"pageName": "Sephora",
"pageProfilePictureUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/420097314_profile.jpg",
"event": null,
"caption": "sephora.com",
"ctaText": "Download",
"cards": [
{
"body": "Major beauty benefits are waiting for you on the app 💞",
"ctaType": "DOWNLOAD",
"caption": "",
"linkDescription": "Download now",
"linkUrl": "https://www.sephora.com/beauty/app",
"title": "Our App = Your Beauty BFF",
"ctaText": "Download",
"videoHdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQPloWW025_hd.mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/420071819_preview.jpg",
"videoSdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQNBDatym5_sd.mp4",
"watermarkedVideoHdUrl": "",
"watermarkedVideoSdUrl": "",
"imageCrops": [],
"originalImageUrl": null,
"resizedImageUrl": null,
"watermarkedResizedImageUrl": null
},
{
"body": "Major beauty benefits are waiting for you on the app 💞",
"ctaType": "DOWNLOAD",
"caption": "",
"linkDescription": "Download now",
"linkUrl": "https://www.sephora.com/beauty/app",
"title": "Our App = Your Beauty BFF",
"ctaText": "Download",
"videoHdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQP6ka8Ul6RD_hd.mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/421895314_preview.jpg",
"videoSdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQNthR9RJnca_sd.mp4",
"watermarkedVideoHdUrl": "",
"watermarkedVideoSdUrl": "",
"imageCrops": [],
"originalImageUrl": null,
"resizedImageUrl": null,
"watermarkedResizedImageUrl": null
},
{
"body": "Major beauty benefits are waiting for you on the app 💞",
"ctaType": "DOWNLOAD",
"caption": "",
"linkDescription": "Download now",
"linkUrl": "https://www.sephora.com/beauty/app",
"title": "Our App = Your Beauty BFF",
"ctaText": "Download",
"videoHdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQNzU2WVmzmn_hd.mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/420071819_preview.jpg",
"videoSdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQP3AEf0mm7j_sd.mp4",
"watermarkedVideoHdUrl": "",
"watermarkedVideoSdUrl": "",
"imageCrops": [],
"originalImageUrl": null,
"resizedImageUrl": null,
"watermarkedResizedImageUrl": null
}
],
"body": { "text": "{{product.brand}}" },
"ctaType": "DOWNLOAD",
"displayFormat": "DCO",
"linkDescription": "{{product.description}}",
"linkUrl": "https://www.sephora.com/beauty/app",
"images": [],
"pageCategories": ["Health/beauty", "Beauty Supplies", "Health & Beauty"],
"pageLikeCount": 20327208,
"title": "{{product.name}}",
"videos": [],
"isReshared": false,
"extraLinks": [],
"extraTexts": [],
"extraImages": [],
"extraVideos": [],
"countryIsoCode": null,
"brazilTaxId": null,
"additionalInfo": null,
"ecCertificates": []
},
"isActive": true,
"hasUserReported": false,
"reportCount": null,
"menuItems": [],
"stateMediaRunLabel": null,
"pageIsDeleted": false,
"pageName": "Sephora",
"impressionsWithIndex": { "impressionsText": null, "impressionsIndex": -1 },
"gatedType": "ELIGIBLE",
"categories": ["UNKNOWN"],
"isAaaEligible": false,
"containsDigitalCreatedMedia": false,
"reachEstimate": null,
"currency": "",
"spend": null,
"endDate": 1783580400,
"publisherPlatform": ["FACEBOOK", "INSTAGRAM"],
"startDate": 1773644400,
"containsSensitiveContent": false,
"totalActiveTime": null,
"regionalRegulationData": {
"finserv": { "isDeemedFinserv": false, "isLimitedDelivery": false },
"twAntiScam": { "isLimitedDelivery": false }
},
"hideDataStatus": "NONE",
"fevInfo": null,
"adId": null,
"targetedOrReachedCountries": [],
"ad_details": {
"advertiser": {
"page": {
"about": { "text": "We Belong to Something Beautiful" },
"is_delegate_page_with_linked_primary_profile": false,
"id": "16453004404"
},
"ad_library_page_info": {
"page_spend": {
"current_week": null,
"lifetime_by_disclaimer": [],
"weekly_by_disclaimer": [],
"is_political_page": false
},
"page_info": {
"entity_type": "PERSON_PROFILE",
"ig_followers": 22663627,
"ig_username": "sephora",
"ig_verification": true,
"likes": 20327208,
"page_alias": "sephora",
"page_category": "Health/beauty",
"page_cover_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-6/481205189_cover.jpg",
"page_id": "16453004404",
"page_is_deleted": false,
"page_is_restricted": false,
"page_name": "Sephora",
"page_profile_uri": "https://www.facebook.com/sephora/",
"page_verification": "BLUE_VERIFIED",
"profile_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381282579_profile.jpg",
"is_profile_page": false
}
}
},
"violation_types": [],
"verified_voice_context": null
},
"pageInfo": {
"adLibrarySystemStatus": {
"systemStatus": {
"status": "NO_KNOWN_ISSUES",
"activeIssues": [
{ "product": "Ad Library", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library Report", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library API", "status": "NO_KNOWN_ISSUES" },
{ "product": "Branded Content", "status": "NO_KNOWN_ISSUES" }
]
}
},
"xfbAdLibraryIsCaptchaRequired": false,
"adLibraryPageInfo": {
"pageInfo": {
"relatedPages": [
{
"categoryName": "Health/beauty",
"country": "CZ",
"countryName": "Czech Republic",
"pageId": "141422642653037",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/343736955_cz.jpg"
},
{
"categoryName": "Health/beauty",
"country": "CA",
"countryName": "Canada",
"pageId": "1651784498372756",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381525849_ca.jpg"
},
{
"categoryName": "Health/beauty",
"country": "RO",
"countryName": "Romania",
"pageId": "216565628451130",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/431141575_ro.jpg"
},
{
"categoryName": "Health/beauty",
"country": "GR",
"countryName": "Greece",
"pageId": "127637600614842",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/345646932_gr.jpg"
}
],
"hasBlankAds": false,
"hiddenAds": 0,
"pageIsDeleted": false
}
},
"page": {
"name": "Sephora",
"id": "16453004404",
"url": "https://facebook.com/sephora",
"about": { "text": "We Belong to Something Beautiful" },
"isDelegatePageWithLinkedPrimaryProfile": false,
"confirmedPageOwner": {
"name": "SEPHORA USA, INC.",
"information": {
"address": {
"city": "SAN FRANCISCO",
"country": "United States of America",
"postalCode": "94105",
"state": "CA"
},
"phoneNumber": null
},
"id": "10152404065929405"
},
"pagesTransparencyInfo": {
"historyItems": [
{
"eventTime": 1665135415,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2022-10-07T09:36:55.000Z"
},
{
"eventTime": 1446222683,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2015-10-30T16:31:23.000Z"
},
{
"eventTime": 1213117433,
"itemType": "CREATION",
"eventTimeFormatted": "2008-06-10T17:03:53.000Z"
}
],
"stateMediaCountryLabel": null,
"id": "dHJhbnNwYXJlbmN5OjE2NDUzMDA0NDA0",
"adminLocations": {
"adminCountryCounts": [
{
"count": 50,
"country": { "isoName": "United States", "id": "109078688522" }
},
{ "count": 5, "country": { "isoName": "India", "id": "92061054329" } },
{ "count": 4, "country": { "isoName": "Brazil", "id": "90994063252" } },
{ "count": 4, "country": { "isoName": "Canada", "id": "111030136976" } }
]
}
},
"adLibraryPageTargetingInsight": null
},
"adLibraryUser": null
}
},
{
"inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&is_targeted_country=false&media_type=all&search_type=page&sort_data[mode]=total_impressions&sort_data[direction]=desc&view_all_page_id=16453004404",
"pageID": "16453004404",
"adArchiveID": "1310216507331960",
"startDateFormatted": "2026-06-07T07:00:00.000Z",
"endDateFormatted": "2026-07-07T07:00:00.000Z",
"adArchiveId": "1310216507331960",
"collationCount": null,
"collationId": "1968588860514082",
"pageId": "16453004404",
"snapshot": {
"brandedContent": null,
"pageId": "16453004404",
"pageIsDeleted": false,
"pageProfileUri": "https://www.facebook.com/sephora/",
"rootResharedPost": null,
"byline": null,
"disclaimerLabel": null,
"pageName": "Sephora",
"pageProfilePictureUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/715098644_profile.jpg",
"event": null,
"caption": "SEPHORA.COM",
"ctaText": "Shop now",
"cards": [],
"body": {
"text": "The perfect new SPF, according to Cazzie David. Who may or may not be a sunscreen expert."
},
"ctaType": "SHOP_NOW",
"displayFormat": "VIDEO",
"linkDescription": "Get the latest at Sephora",
"linkUrl": "https://www.sephora.com/shop/exclusive-products",
"images": [],
"pageCategories": ["Health/beauty"],
"pageLikeCount": 20327208,
"title": "New. Hot. Only at Sephora.",
"videos": [
{
"videoHdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQN4x3da6BVd_hd.mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/717186269_preview.jpg",
"videoSdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQMVPKpSiSsO_sd.mp4",
"watermarkedVideoHdUrl": null,
"watermarkedVideoSdUrl": null
}
],
"isReshared": false,
"extraLinks": [],
"extraTexts": [],
"extraImages": [],
"extraVideos": [],
"countryIsoCode": null,
"brazilTaxId": null,
"additionalInfo": null,
"ecCertificates": []
},
"isActive": true,
"hasUserReported": false,
"reportCount": null,
"menuItems": [],
"stateMediaRunLabel": null,
"pageIsDeleted": false,
"pageName": "Sephora",
"impressionsWithIndex": { "impressionsText": null, "impressionsIndex": -1 },
"gatedType": "ELIGIBLE",
"categories": ["UNKNOWN"],
"isAaaEligible": false,
"containsDigitalCreatedMedia": false,
"reachEstimate": null,
"currency": "",
"spend": null,
"endDate": 1783407600,
"publisherPlatform": ["FACEBOOK", "INSTAGRAM", "THREADS"],
"startDate": 1780815600,
"containsSensitiveContent": false,
"totalActiveTime": null,
"regionalRegulationData": {
"finserv": { "isDeemedFinserv": false, "isLimitedDelivery": false },
"twAntiScam": { "isLimitedDelivery": false }
},
"hideDataStatus": "NONE",
"fevInfo": null,
"adId": null,
"targetedOrReachedCountries": [],
"ad_details": {
"advertiser": {
"page": {
"about": { "text": "We Belong to Something Beautiful" },
"is_delegate_page_with_linked_primary_profile": false,
"id": "16453004404"
},
"ad_library_page_info": {
"page_spend": {
"current_week": null,
"lifetime_by_disclaimer": [],
"weekly_by_disclaimer": [],
"is_political_page": false
},
"page_info": {
"entity_type": "PERSON_PROFILE",
"ig_followers": 22663627,
"ig_username": "sephora",
"ig_verification": true,
"likes": 20327485,
"page_alias": "sephora",
"page_category": "Health/beauty",
"page_cover_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-6/481205189_cover.jpg",
"page_id": "16453004404",
"page_is_deleted": false,
"page_is_restricted": false,
"page_name": "Sephora",
"page_profile_uri": "https://www.facebook.com/sephora/",
"page_verification": "BLUE_VERIFIED",
"profile_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381282579_profile.jpg",
"is_profile_page": false
}
}
},
"violation_types": [],
"verified_voice_context": null
},
"pageInfo": {
"adLibrarySystemStatus": {
"systemStatus": {
"status": "NO_KNOWN_ISSUES",
"activeIssues": [
{ "product": "Ad Library", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library Report", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library API", "status": "NO_KNOWN_ISSUES" },
{ "product": "Branded Content", "status": "NO_KNOWN_ISSUES" }
]
}
},
"xfbAdLibraryIsCaptchaRequired": false,
"adLibraryPageInfo": {
"pageInfo": {
"relatedPages": [
{
"categoryName": "Health/beauty",
"country": "CZ",
"countryName": "Czech Republic",
"pageId": "141422642653037",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/343736955_cz.jpg"
},
{
"categoryName": "Health/beauty",
"country": "CA",
"countryName": "Canada",
"pageId": "1651784498372756",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381525849_ca.jpg"
},
{
"categoryName": "Health/beauty",
"country": "RO",
"countryName": "Romania",
"pageId": "216565628451130",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/431141575_ro.jpg"
},
{
"categoryName": "Health/beauty",
"country": "GR",
"countryName": "Greece",
"pageId": "127637600614842",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/345646932_gr.jpg"
}
],
"hasBlankAds": false,
"hiddenAds": 0,
"pageIsDeleted": false
}
},
"page": {
"name": "Sephora",
"id": "16453004404",
"url": "https://facebook.com/sephora",
"about": { "text": "We Belong to Something Beautiful" },
"isDelegatePageWithLinkedPrimaryProfile": false,
"confirmedPageOwner": {
"name": "SEPHORA USA, INC.",
"information": {
"address": {
"city": "SAN FRANCISCO",
"country": "United States of America",
"postalCode": "94105",
"state": "CA"
},
"phoneNumber": null
},
"id": "10152404065929405"
},
"pagesTransparencyInfo": {
"historyItems": [
{
"eventTime": 1665135415,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2022-10-07T09:36:55.000Z"
},
{
"eventTime": 1446222683,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2015-10-30T16:31:23.000Z"
},
{
"eventTime": 1213117433,
"itemType": "CREATION",
"eventTimeFormatted": "2008-06-10T17:03:53.000Z"
}
],
"stateMediaCountryLabel": null,
"id": "dHJhbnNwYXJlbmN5OjE2NDUzMDA0NDA0",
"adminLocations": {
"adminCountryCounts": [
{
"count": 50,
"country": { "isoName": "United States", "id": "109078688522" }
},
{ "count": 5, "country": { "isoName": "India", "id": "92061054329" } },
{ "count": 4, "country": { "isoName": "Brazil", "id": "90994063252" } },
{ "count": 4, "country": { "isoName": "Canada", "id": "111030136976" } }
]
}
},
"adLibraryPageTargetingInsight": null
},
"adLibraryUser": null
}
},
{
"inputUrl": "https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=ALL&is_targeted_country=false&media_type=all&search_type=page&sort_data[mode]=total_impressions&sort_data[direction]=desc&view_all_page_id=16453004404",
"pageID": "16453004404",
"adArchiveID": "2525430031261760",
"startDateFormatted": "2026-06-08T07:00:00.000Z",
"endDateFormatted": "2026-07-08T07:00:00.000Z",
"adArchiveId": "2525430031261760",
"collationCount": 4,
"collationId": "1968588860514082",
"pageId": "16453004404",
"snapshot": {
"brandedContent": null,
"pageId": "16453004404",
"pageIsDeleted": false,
"pageProfileUri": "https://www.facebook.com/sephora/",
"rootResharedPost": null,
"byline": null,
"disclaimerLabel": null,
"pageName": "Sephora",
"pageProfilePictureUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/713484736_profile.jpg",
"event": null,
"caption": "SEPHORA.COM",
"ctaText": "Shop now",
"cards": [],
"body": {
"text": "The perfect new SPF, according to Cazzie David. Who may or may not be a sunscreen expert."
},
"ctaType": "SHOP_NOW",
"displayFormat": "VIDEO",
"linkDescription": "Get the latest at Sephora",
"linkUrl": "https://www.sephora.com/shop/exclusive-products",
"images": [],
"pageCategories": ["Health/beauty"],
"pageLikeCount": 20327208,
"title": "New. Hot. Only at Sephora.",
"videos": [
{
"videoHdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQN4x3da6BVd_hd.mp4",
"videoPreviewImageUrl": "https://scontent.xx.fbcdn.net/v/t39.35426-6/715512011_preview.jpg",
"videoSdUrl": "https://video.xx.fbcdn.net/o1/v/t2/f2/AQMVPKpSiSsO_sd.mp4",
"watermarkedVideoHdUrl": null,
"watermarkedVideoSdUrl": null
}
],
"isReshared": false,
"extraLinks": [],
"extraTexts": [],
"extraImages": [],
"extraVideos": [],
"countryIsoCode": null,
"brazilTaxId": null,
"additionalInfo": null,
"ecCertificates": []
},
"isActive": true,
"hasUserReported": false,
"reportCount": null,
"menuItems": [],
"stateMediaRunLabel": null,
"pageIsDeleted": false,
"pageName": "Sephora",
"impressionsWithIndex": { "impressionsText": null, "impressionsIndex": -1 },
"gatedType": "ELIGIBLE",
"categories": ["UNKNOWN"],
"isAaaEligible": false,
"containsDigitalCreatedMedia": false,
"reachEstimate": null,
"currency": "",
"spend": null,
"endDate": 1783494000,
"publisherPlatform": ["FACEBOOK", "INSTAGRAM", "THREADS"],
"startDate": 1780902000,
"containsSensitiveContent": false,
"totalActiveTime": null,
"regionalRegulationData": {
"finserv": { "isDeemedFinserv": false, "isLimitedDelivery": false },
"twAntiScam": { "isLimitedDelivery": false }
},
"hideDataStatus": "NONE",
"fevInfo": null,
"adId": null,
"targetedOrReachedCountries": [],
"ad_details": {
"advertiser": {
"page": {
"about": { "text": "We Belong to Something Beautiful" },
"is_delegate_page_with_linked_primary_profile": false,
"id": "16453004404"
},
"ad_library_page_info": {
"page_spend": {
"current_week": null,
"lifetime_by_disclaimer": [],
"weekly_by_disclaimer": [],
"is_political_page": false
},
"page_info": {
"entity_type": "PERSON_PROFILE",
"ig_followers": 22663627,
"ig_username": "sephora",
"ig_verification": true,
"likes": 20327492,
"page_alias": "sephora",
"page_category": "Health/beauty",
"page_cover_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-6/481205189_cover.jpg",
"page_id": "16453004404",
"page_is_deleted": false,
"page_is_restricted": false,
"page_name": "Sephora",
"page_profile_uri": "https://www.facebook.com/sephora/",
"page_verification": "BLUE_VERIFIED",
"profile_photo": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381282579_profile.jpg",
"is_profile_page": false
}
}
},
"violation_types": [],
"verified_voice_context": null
},
"pageInfo": {
"adLibrarySystemStatus": {
"systemStatus": {
"status": "NO_KNOWN_ISSUES",
"activeIssues": [
{ "product": "Ad Library", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library Report", "status": "NO_KNOWN_ISSUES" },
{ "product": "Ad Library API", "status": "NO_KNOWN_ISSUES" },
{ "product": "Branded Content", "status": "NO_KNOWN_ISSUES" }
]
}
},
"xfbAdLibraryIsCaptchaRequired": false,
"adLibraryPageInfo": {
"pageInfo": {
"relatedPages": [
{
"categoryName": "Health/beauty",
"country": "CZ",
"countryName": "Czech Republic",
"pageId": "141422642653037",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/343736955_cz.jpg"
},
{
"categoryName": "Health/beauty",
"country": "CA",
"countryName": "Canada",
"pageId": "1651784498372756",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/381525849_ca.jpg"
},
{
"categoryName": "Health/beauty",
"country": "RO",
"countryName": "Romania",
"pageId": "216565628451130",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/431141575_ro.jpg"
},
{
"categoryName": "Health/beauty",
"country": "GR",
"countryName": "Greece",
"pageId": "127637600614842",
"pageName": "SEPHORA",
"pageVerification": "BLUE_VERIFIED",
"profileImageUri": "https://scontent.xx.fbcdn.net/v/t39.30808-1/345646932_gr.jpg"
}
],
"hasBlankAds": false,
"hiddenAds": 0,
"pageIsDeleted": false
}
},
"page": {
"name": "Sephora",
"id": "16453004404",
"url": "https://facebook.com/sephora",
"about": { "text": "We Belong to Something Beautiful" },
"isDelegatePageWithLinkedPrimaryProfile": false,
"confirmedPageOwner": {
"name": "SEPHORA USA, INC.",
"information": {
"address": {
"city": "SAN FRANCISCO",
"country": "United States of America",
"postalCode": "94105",
"state": "CA"
},
"phoneNumber": null
},
"id": "10152404065929405"
},
"pagesTransparencyInfo": {
"historyItems": [
{
"eventTime": 1665135415,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2022-10-07T09:36:55.000Z"
},
{
"eventTime": 1446222683,
"itemType": "NAME_CHANGE",
"eventTimeFormatted": "2015-10-30T16:31:23.000Z"
},
{
"eventTime": 1213117433,
"itemType": "CREATION",
"eventTimeFormatted": "2008-06-10T17:03:53.000Z"
}
],
"stateMediaCountryLabel": null,
"id": "dHJhbnNwYXJlbmN5OjE2NDUzMDA0NDA0",
"adminLocations": {
"adminCountryCounts": [
{
"count": 50,
"country": { "isoName": "United States", "id": "109078688522" }
},
{ "count": 5, "country": { "isoName": "India", "id": "92061054329" } },
{ "count": 4, "country": { "isoName": "Brazil", "id": "90994063252" } },
{ "count": 4, "country": { "isoName": "Canada", "id": "111030136976" } }
]
}
},
"adLibraryPageTargetingInsight": null
},
"adLibraryUser": null
}
}
]

Please note that startDate and endDate (if available) will be added as formatted ISO values as startDateFormatted: "2026-02-12T07:00:00.000Z" and endDateFormatted : "2026-02-12T07:00:00.000Z"

🛍️ E-commerce enrichment data sample

When the e-commerce enrichment add-on is enabled, each ad's destination is followed to extract the products and prices behind it, returned under ecommerceData:

{
"ecommerceData": [
{
"linkUrl": "https://www.sephora.cz/p/eau-des-merveilles---toaletni-voda-108455.html",
"url": "https://www.sephora.cz/p/eau-des-merveilles---toaletni-voda-108455.html",
"name": "Eau Des Merveilles - Toaletní voda",
"offers": {
"price": "2990.0",
"priceCurrency": "CZK"
},
"brand": {
"slogan": "HERMÈS"
},
"image": "https://media.sephora.eu/content/dam/gdam/europe/digital/massivpimupload/H/HERMS/108455/10707-media_swatch.jpg?scaleWidth=750&scaleHeight=750&scaleMode=fit",
"description": "Pohádkově kouzelný a jiskřivý parfém s teplou a omamnou vůní. Vůně připomínající sladké, vanilkové benzoe a dřeviny s nádechem ambry, úžasná procházka mezi svěžími divokými oranžovníky.\n\nOd roku 2004 je Eau des Merveilles klíčem k zázračnému světu Hermès. Mezi nevinností a fantazií, dětskými sny a ženskostí. Svět, ve kterém se nevšednost zjevuje za bílého dne. Každým rokem nás unášejí kouzelné a poetické vůně. Zachycené do oblého flakonu připomínajícího lupu, skrývajícího magickou moc, která umožňuje vidět svět z nového, zázračného úhlu. Je klíčem k zázrakům, zdrojem hvězd zářících za bílého dne.",
"reviewCount": 107,
"rating": 4.4
},
{
"linkUrl": "https://www.sephora.cz/p/coco-mademoiselle---eau-de-toilette-10021.html",
"url": "https://www.sephora.cz/p/coco-mademoiselle---eau-de-toilette-10021.html",
"name": "COCO MADEMOISELLE - Toaletní voda s rozprašovačem | CHANEL ≡ SEPHORA",
"offers": {
"price": 2920,
"priceCurrency": "Kč"
},
"brand": {
"slogan": null
},
"image": "https://media.sephora.eu/content/dam/gdam/europe/digital/massivpimupload/C/CHANEL/10021/4914-media_swatch.jpg?scaleWidth=750&scaleHeight=750&scaleMode=fit",
"description": "Popis\n\nEsence odvážné a nezávislé ženy. Orientálně-svěží a éterická vůně, uložená v plnitelném rozprašovači. Kultovní předmět, ideální na cesty."
},
{
"linkUrl": "https://www.sephora.cz/p/men-smooth-shave---gel-na-holeni-bez-alkoholu-11063.html",
"url": "https://www.sephora.cz/p/men-smooth-shave---gel-na-holeni-bez-alkoholu-11063.html",
"name": "Men Smooth Shave - Gel na holení bez alkoholu | CLARINS ≡ SEPHORA",
"offers": {
"price": 371,
"priceCurrency": "Kč"
},
"brand": {
"slogan": null
},
"image": "https://media.sephora.eu/content/dam/gdam/europe/digital/pim/published/C/CLARINS/11063/40596-media_swatch.jpg?scaleWidth=750&scaleHeight=750&scaleMode=fit",
"description": "Pěnivý gel bez alkoholu usnadňuje holení a zabraňuje podráždění pleti. Zklidňuje a zjemňuje pleť."
}
]
}

Want to scrape Facebook comments or groups?

You can use the dedicated scrapers below if you want to scrape specific Facebook data. Each of them is built particularly for the relevant Facebook or Instagram scraping case, be it posts, comments, reels, or search results. Feel free to browse them:

📷 Instagram Scraper🕵️‍♀️ Facebook Search Scraper👥 Facebook Groups Scraper
😎 Facebook Followers & Following Scraper👀 Facebook Marketplace Scraper🎞 Facebook Reels Scraper
🌟 Facebook Reviews Scraper📝 Facebook Posts Scraper📹 Facebook Video Search Scraper
💬 Facebook Comments Scraper👍 Facebook Likes and Reactions Scraperℹ️ Facebook Page Contact Information
📘 Facebook Pages Scraper🏞 Facebook Photos Scraper🗓 Facebook Events Scraper
🔮 Brand Collaboration Scraper

❓FAQ

Our Facebook Ads Library Scraper only collects data that is publicly available in the Facebook Ad Library. It does not access private content or extract sensitive user information such as email addresses or precise location. You should be aware that some public data may still be considered personal data under regulations like the GDPR. Only scrape data if you have a legitimate reason. For more context, see our blog posts on the legality of web scraping and ethical web scraping.

Why is my ecommerceData showing null?

We only enrich URLs that are actual product pages. If an ad leads somewhere else — for example, a sign-up or landing page — we skip the enrichment to save you money when the add-on is enabled. So a null value most likely means the ad's destination wasn't a product URL.

To check, look into the snapshot field: it contains cardslinkUrl, the link that leads from the ad to its destination page. Open that link and you'll see whether it's a product page or not. If you're convinced it is a product page but still aren't getting your e-commerce data, please open an issue on the Issues tab.

Can I integrate Facebook Ads data with other services?

Yes. Scraped ads data can be integrated with almost any cloud service or web app. Apify supports Make, Zapier, n8n, Slack, Airbyte, Asana, GitHub, Google Sheets, Google Drive, and more. You can also use webhooks to trigger actions when a run finishes, such as sending notifications or syncing results to another system.

Can I access Meta Ads data through an MCP server?

Yes. You can connect your scraped Instagram or Facebook ads to an MCP server using clients like ClaudeDesktop or LibreChat, or build your own integration. For Facebook Ads Library Scraper:

  1. Start a Server-Sent Events (SSE) session to receive a sessionId.
  2. Send API messages using that sessionId to trigger the scraper.
  3. The message starts the Facebook Ads Library Scraper with the provided input.
  4. The response should be: Accepted.

Learn more in the MCP setup guide.

Can I use the Facebook Ads Library Scraper with API?

Yes. The Apify API provides programmatic access to run Actors, fetch datasets, monitor performance, and manage versions and schedules. For Node.js, use the apify-client NPM package. For Python, use the apify-client PyPI package. Full details are available in the Apify API reference, or check the API tab for ready-to-use code examples.

Facebook Ads Library Scraper not working

The Apify team continuously improves Actor performance. If you run into technical issues or find a bug, please create an issue on the Actor’s Issues tab in Apify Console.