Meta Ad Library Scraper for Facebook & Instagram avatar

Meta Ad Library Scraper for Facebook & Instagram

Pricing

from $3.20 / 1,000 ad returneds

Go to Apify Store
Meta Ad Library Scraper for Facebook & Instagram

Meta Ad Library Scraper for Facebook & Instagram

Search public Facebook and Instagram ads by keyword or advertiser in the Meta Ad Library. Filter by country, ad status, or format, then export ad copy, creative URLs, calls to action, landing pages, and run dates.

Pricing

from $3.20 / 1,000 ad returneds

Rating

0.0

(0)

Developer

FetchCraft Labs

FetchCraft Labs

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

2

Monthly active users

12 days ago

Last modified

Features

Limited permissions

Share

Search public Facebook and Instagram ads in the Meta Ad Library by keyword or advertiser page. Export ad copy, image and video URLs, calls to action, landing pages, and run dates to an Apify dataset for competitor research or creative analysis.

Quick start

  1. Enter one or more terms in Keyword searches, or add a numeric Facebook Page ID or a Meta Ad Library page URL under Advertiser page IDs. For advertiser-only research, clear any prefilled keyword.
  2. Select a country and ad status. Start with a single search and set Max ads per search to 20.
  3. Run the Actor and open Ads in the run output. Use Creative and delivery for creative and delivery fields, or export the dataset as CSV, Excel, or JSON.

The example below searches for up to 20 active ads matching “running shoes” in the United States. Paste it into the JSON tab of the Actor input.

{
"queries": ["running shoes"],
"country": "US",
"activeStatus": "active",
"mediaType": "all",
"maxAdsPerQuery": 20
}

What you can research

  • Competitor campaigns. Search by advertiser page to compare a brand's current ad copy, offers, calls to action, and landing pages.
  • Creative formats. Search a product category, filter by image or video, and compare the creatives you find.
  • Market comparisons. Run the same search for two countries and compare the ads Meta returns for each.
  • Campaign monitoring. Save the Actor input as an Apify task and schedule repeat runs. Compare the ad_archive_id values in each export to identify newly observed ads.

Search options

InputHow to use it
Keyword searches (queries)Add search terms such as running shoes or meal delivery. Each term runs as its own search.
Advertiser page IDs (advertiserPageIds)Enter a numeric Facebook Page ID or a Meta Ad Library URL with a view_all_page_id parameter.
Country (country)Use a two-letter code such as US, GB, or DE, or enter ALL for a worldwide search. The default is US.
Ad status (activeStatus)Choose active, inactive, or all. The default is active.
Ad type and creative typeSearch across ad types or select political and issue ads. Filter creatives by image, video, or meme.
Started after (startDate)Limit results by the ad start date.
Sort order (sortMode)Choose total impressions, time active, or relevancy.
Max ads per search (maxAdsPerQuery)Set the upper limit separately for each keyword or advertiser. The default is 100.

What the output includes

DataExample fields
Ad and advertiserad_archive_id, ad_snapshot_url, page_id, page_name
Copy and calls to actiontitle, body, cta_text, link_url
Creative and placementdisplay_format, images, videos, video_thumbnails, publisher_platforms
Status and datesis_active, start_date, end_date
Search contextsearch_mode, search_query, search_page_id, search_country, scraped_at

Each dataset row represents an ad returned by one search. Search summary shows how many rows each search produced. This abbreviated example uses illustrative data.

{
"ad_archive_id": "123456789012345",
"page_name": "Example Running Co.",
"body": "Find your next pair of running shoes.",
"cta_text": "Shop now",
"link_url": "https://example.com/running-shoes",
"is_active": true,
"publisher_platforms": ["FACEBOOK", "INSTAGRAM"],
"search_query": "running shoes",
"search_country": "US"
}

FAQ

Can I search for ads from a specific brand?

Yes. Use the brand's numeric Facebook Page ID or its advertiser page URL from the Meta Ad Library. A keyword search can return ads from multiple advertisers.

Why did I get fewer ads than my limit?

The limit is a maximum per search. Availability depends on the country, filters, and ads Meta makes available. Check Search summary for each search, and broaden the filters if you need more matches.

Can I see inactive ads or delivery metrics?

Choose Inactive or All to include inactive ads where Meta makes them available. Fields such as end date, impressions, and reach may be empty when Meta does not publish them for a particular ad.

Can the same ad appear more than once?

The Actor deduplicates results within each search. An ad that matches two searches can appear in both. Use ad_archive_id to deduplicate an export across searches.

Do I get image and video files?

The dataset provides image, video, and thumbnail URLs when Meta supplies them. Media URLs can change over time.

Can I use the results in my own workflow?

Yes. Export from the dataset or retrieve the results programmatically. The Actor's API tab shows how to start a run and read its dataset.