Go to example tasks

Export any Meta Ad Library search to CSV or JSON

Set up a search in the Meta Ad Library, paste its URL, and get every matching ad as structured data. Every filter in the URL is kept: country, status, platform, language, dates and sort.

Try for free
Facebook Ads Library Scraper — Meta & Instagram Ads + EU Reach
Facebook Ads Library Scraper — Meta & Instagram Ads + EU Reachaffiliatescope/meta-ads-scraper
Ad ID
Advertiser
Page ID
Copy
+11 fields
Text
Number
Boolean
List
Object

Input

Ad Library URLs
url:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=US&is_targeted_country=false&media_type=all&q=meal%20kit&search_type=keyword_unordered&sort_data[direction]=desc&sort_data[mode]=total_impressions
Max ads per source:100

Output fields

Ad ID
Advertiser
Page ID
Copy
CTA
Landing
Platforms
Start (unix)
Stop (unix)
Active
Query
Country
Page #
Order
Ad Library

How it works

Sign up on Apify or log in

The Facebook Ads Library Scraper — Meta & Instagram Ads + EU Reach Actor is ready to run with the inputs already set for "Export any Meta Ad Library search to CSV or JSON". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export any Meta Ad Library search to CSV or JSON" task

The Facebook Ads Library Scraper — Meta & Instagram Ads + EU Reach Actor will start running based on the input automatically. You can also change all the input fields, like ad library urls and max ads per source, to match your specific use case.

Receive the "Export any Meta Ad Library search to CSV or JSON" 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 ad id, advertiser, page id, 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 "Export any Meta Ad Library search to CSV or JSON" task via API.

Image

Integrate "Export any Meta Ad Library search to CSV or JSON" into your workflow

Connect "Export any Meta Ad Library search to CSV or JSON" 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