Facebook Ads Library Scraper
Pricing
from $1.00 / 1,000 results
Go to Apify Store
Under maintenance
Facebook Ads Library Scraper
Scrape ads from Facebook Ad Library without cookies or authentication. Search by keywords or page names, filter by country, ad status, ad type, and media type. Extracts ad text, page info, media URLs, dates, CTA, landing page links, and more.
Pricing
from $1.00 / 1,000 results
Rating
5.0
(4)
Developer

Crawler Bros
Maintained by Community
Actor stats
1
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Scrape ads from the Facebook Ad Library without cookies or authentication.
Features
- Search by keywords or page names
- Filter by country, ad status, ad type, and media type
- Extracts ad text, page info, media URLs, dates, platforms, and more
- No login or cookies required
- Residential proxy support for best results
Input
| Field | Type | Description | Default |
|---|---|---|---|
searchTerms | array | Keywords or page names to search | (required) |
country | string | Country code (e.g., "US", "GB") or "ALL" | "ALL" |
adActiveStatus | string | "all", "active", or "inactive" | "active" |
adType | string | "all", "political_and_issue_ads", "housing", "employment", "credit" | "all" |
mediaType | string | "all", "image", "video", "meme", "none" | "all" |
resultsPerSearch | integer | Max ads per search term (1-500) | 50 |
proxyConfiguration | object | Proxy settings (residential recommended) | Apify residential |
Output
Each ad in the dataset contains:
| Field | Description |
|---|---|
ad_id | Unique Facebook ad archive ID |
page_name | Name of the Facebook page running the ad |
page_id | Facebook page ID |
ad_text | Ad creative text/copy |
ad_snapshot_url | URL to view the ad in Facebook Ad Library |
start_date | When the ad started running |
end_date | When the ad stopped (if inactive) |
status | Active or inactive |
platforms | Platforms where the ad runs (Facebook, Instagram, etc.) |
media_type | Type of media (image, video, none) |
media_url | URL to the ad media |
cta_text | Call-to-action button text |
link_url | Destination URL of the ad |
search_term | The search term that found this ad |
scraped_at | Timestamp when the data was scraped |
Example Input
{"searchTerms": ["nike", "adidas"],"country": "US","adActiveStatus": "active","resultsPerSearch": 20}