Facebook Ad Library Scraper

From OpenData Knowledge Wiki

Facebook Ad Library Scraper is a public web data collector published by OpenData Best as the Apify Actor lentic_clockss/facebook-ad-library-scraper (worker ID facebook-com).[1] Collect Facebook Ad Library creatives, media links and available advertiser details by keyword or Page across selected countries. Pay per delivered ad row plus a start fee.[2] It belongs to the Social media & ads category and is available on 2 channels listed below.

Overview

A spreadsheet of ads found in Meta's public Facebook Ad Library for a keyword or brand Page, one row per ad, collected after you order.

Each row is one ad from Meta’s public Facebook Ad Library, with its message and advertiser to compare. Enter a keyword or Facebook Page links, then choose a country and Ad status to find the ads you want.

Collection modes: Keyword search, Advertiser Page search.

All publishing channels

ChannelLinkAccess details
OpenData ShopFacebook Ad Library Public Ads Database[3]free sample CSV · 中文商品页
Apify Storelentic_clockss/facebook-ad-library-scraper[1]Publisher page apify.com/lentic_clockss; API, schedules, n8n, Make and Clay
RapidAPI HubNot listed—
API.marketNot listed—
AI MCP serverNot on the MCP serverClaude and Gemini can run the Actor through the Apify MCP server
x402 micropaymentsNot on the x402 gateway—
APIHub.io gatewayNot on APIHub.io—
Workflows and docsn8n-nodes-opendata-actors (OpenData Catalog node, source facebook-com) · opendata-best-mcp · pi-opendata-mcpspecification page · GitHub card · Hugging Face preview card

Every channel uses the same collector and bills per delivered row; MCP, x402 and API.market MCP endpoints are addresses for clients (POST requests), not web pages.

Key output fields

65 documented output fields; the most used are adArchiveId, pageId, pageName, pageProfileUrl, pageProfilePictureUrl, bodyText, title, linkUrl. The first 30 are listed; the specification page lists all of them with the sample preview.

FieldTypeDescription
rowTypestringRow type
idstringStable row ID
adArchiveIdstringAd archive ID
pageIdstringPage ID
pageNamestringPage name
pageProfileUrlstringPage profile URL
pageProfilePictureUrlstringPage profile picture URL
bodyTextstringAd body text
titlestringAd title
linkUrlstringDestination URL
ctaTextstringCTA text
displayFormatstringDisplay format
createdAtstringCreated at
startDatestringStart date
endDatestringWhen the ad stopped running; absent while it still runs.
imageUrlsarrayImage URLs
videoUrlsarrayVideo URLs
cardsarrayCarousel cards
publisherPlatformsarrayPublisher platforms
categoriesarrayCategories
spendobjectDisclosed spend range (political/issue ads when available)
impressionsobjectDisclosed impressions range (when available)
currencystringCurrency
collationIdstringCollation ID
collationCountintegerCollation count
isActiveboolean | nullWhether Meta lists the ad as running; null when the Ad Library did not say.
searchQuerystringKeyword or advertiser search label
searchTypestringKEYWORD or PAGE
searchedPageIdstringPage ID used for PAGE search
euTotalReachintegerEU total reach (when enriched)

Use with Claude and Gemini

The source is not on the OpenData MCP server. Claude and Gemini can run lentic_clockss/facebook-ad-library-scraper through the Apify MCP server with an Apify token.

Example input

Example input

{
  "searchQuery": "shopify",
  "country": "US",
  "maxResults": 3
}

Billing

  • One delivered row is one billable unit on every channel. A confirmed empty result, an input error, a source failure or a timeout creates no billable rows.
  • Apify: $0.002 per row on the Free plan plus a $0.005 start event; runs stop at maxTotalChargeUsd.
  • OpenData Shop: $5.00 per 1,000 rows for the first 1,000 and $3.00 per 1,000 after, $1.00 minimum; missing rows are credited back.

Frequently asked questions

What does Facebook Ad Library Scraper return?

Collect Facebook Ad Library creatives, media links and available advertiser details by keyword or Page across selected countries. Pay per delivered ad row plus a start fee. Each row describes one entity; 65 output fields are documented.

Where can I use Facebook Ad Library Scraper?

On OpenData Shop, Apify Store.

How is it billed?

Per delivered row on every channel; empty results, input errors, source failures and timeouts are not billed.

See also

References

  1. Facebook Ad Library Scraper on the Apify Store https://apify.com/lentic_clockss/facebook-ad-library-scraper
  2. Specification page for facebook-com https://kaneliu120.github.io/datasets/facebook-com/
  3. Facebook Ad Library Public Ads Database on OpenData Shop https://shop.opendata.best/products/facebook-ad-library

Directories: Apify Actors and Workers (127) · RapidAPI APIs (112) · API.market APIs (40) · APIHub.io gateways (92) · Workflow and agent integrations · Categories: Real estate · E-commerce · Social media & ads · Food delivery · Travel · Local business · B2B & suppliers · Jobs & talent · Events & tickets · Apps & developers · Data quality & web tools