Go to example tasks

Scrape Facebook & Instagram ads by keyword (skincare, US)

The first 100 active ads in the US matching the keyword "skincare" in the Meta Ad Library: advertiser, ad text, headline, call to action, landing page, platforms and run dates. Change the keyword or the country in the URL to research any market. No Facebook account, no cookies.

Try for free
Facebook & Meta Ads: Instagram, WhatsApp, Threads, Messenger
Facebook & Meta Ads: Instagram, WhatsApp, Threads, Messengerfairfetcher/meta-ad-library
Logo
Advertiser
Ad copy
Headline
+9 fields
Text
Number
Boolean
List
Object

Input

Ad Library or Facebook page URLs
url:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&media_type=all&q=skincare&search_type=keyword_unordered
Limit per URL:100
Scrape ad details (same price):false

Output fields

Logo
Advertiser
Ad copy
Headline
Platforms
Active
Started
Last seen
Ads in group
CTA
Landing page
Ad Library
Problem

How it works

Sign up on Apify or log in

The Facebook & Meta Ads: Instagram, WhatsApp, Threads, Messenger Actor is ready to run with the inputs already set for "Scrape Facebook & Instagram ads by keyword (skincare, US)". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Scrape Facebook & Instagram ads by keyword (skincare, US)" task

The Facebook & Meta Ads: Instagram, WhatsApp, Threads, Messenger Actor will start running based on the input automatically. You can also change all the input fields, like ad library or facebook page urls, limit per url, and more, to match your specific use case.

Receive the "Scrape Facebook & Instagram ads by keyword (skincare, US)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as logo, advertiser, ad copy, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Scrape Facebook & Instagram ads by keyword (skincare, US)" task via API.

Image

Integrate "Scrape Facebook & Instagram ads by keyword (skincare, US)" into your workflow

Connect "Scrape Facebook & Instagram ads by keyword (skincare, US)" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

Replace skincare after q= in the URL with your keyword (use %20 for spaces) and US after country= with a two-letter country code, or ALL for every country.

Everything the Meta Ad Library covers: Facebook, Instagram, WhatsApp, Threads, Messenger and Audience Network. The publisher_platform field lists where each ad ran.

From $0.35 per 1,000 ads by Apify plan ($0.42 Free, $0.39 Bronze, $0.37 Silver, $0.35 Gold and above), plus $0.00005 per run; the $5 monthly free credit covers about 11,900 ads. You pay only for the ads you get.

Yes. Copy this task and edit its input before you run it; the task always runs with the input shown here.