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
| Channel | Link | Access details |
|---|---|---|
| OpenData Shop | Facebook Ad Library Public Ads Database[3] | free sample CSV · 中文商品页 |
| Apify Store | lentic_clockss/facebook-ad-library-scraper[1] | Publisher page apify.com/lentic_clockss; API, schedules, n8n, Make and Clay |
| RapidAPI Hub | Not listed | — |
| API.market | Not listed | — |
| AI MCP server | Not on the MCP server | Claude and Gemini can run the Actor through the Apify MCP server |
| x402 micropayments | Not on the x402 gateway | — |
| APIHub.io gateway | Not on APIHub.io | — |
| Workflows and docs | n8n-nodes-opendata-actors (OpenData Catalog node, source facebook-com) · opendata-best-mcp · pi-opendata-mcp | specification 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.
| Field | Type | Description |
|---|---|---|
rowType | string | Row type |
id | string | Stable row ID |
adArchiveId | string | Ad archive ID |
pageId | string | Page ID |
pageName | string | Page name |
pageProfileUrl | string | Page profile URL |
pageProfilePictureUrl | string | Page profile picture URL |
bodyText | string | Ad body text |
title | string | Ad title |
linkUrl | string | Destination URL |
ctaText | string | CTA text |
displayFormat | string | Display format |
createdAt | string | Created at |
startDate | string | Start date |
endDate | string | When the ad stopped running; absent while it still runs. |
imageUrls | array | Image URLs |
videoUrls | array | Video URLs |
cards | array | Carousel cards |
publisherPlatforms | array | Publisher platforms |
categories | array | Categories |
spend | object | Disclosed spend range (political/issue ads when available) |
impressions | object | Disclosed impressions range (when available) |
currency | string | Currency |
collationId | string | Collation ID |
collationCount | integer | Collation count |
isActive | boolean | null | Whether Meta lists the ad as running; null when the Ad Library did not say. |
searchQuery | string | Keyword or advertiser search label |
searchType | string | KEYWORD or PAGE |
searchedPageId | string | Page ID used for PAGE search |
euTotalReach | integer | EU 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
- Facebook Ad Library Scraper on the Apify Store https://apify.com/lentic_clockss/facebook-ad-library-scraper
- Specification page for facebook-com https://kaneliu120.github.io/datasets/facebook-com/
- 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