Go to example tasks

Export Facebook Ads Library search results from a URL

Paste a Facebook Ads Library search URL and export its results. This example exports active image ads for outdoor clothing shown in the United Kingdom, with every filter in the URL kept.

Try for free
Facebook Ads Library API & Instagram Ads Scraper
Facebook Ads Library API & Instagram Ads Scraperwhoareyouanas/meta-ad-lite-scraper
Ad ID
Advertiser
Page ID
Active
+12 fields
Text
Number
Boolean
List
Object

Input

Ad Library search URL:https://www.facebook.com/ads/library/?active_status=active&ad_type=all&country=GB&media_type=image&q=outdoor%20clothing&search_type=keyword_unordered
Maximum ads:25

Output fields

Ad ID
Advertiser
Page ID
Active
Ad copy
Headline
Call to action
Landing page
Format
Platforms
Started
Ended
Partnership creator
Images
Videos
View ad

How it works

Sign up on Apify or log in

The Facebook Ads Library API & Instagram Ads Scraper Actor is ready to run with the inputs already set for "Export Facebook Ads Library search results from a URL". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Export Facebook Ads Library search results from a URL" task

The Facebook Ads Library API & Instagram Ads Scraper Actor will start running based on the input automatically. You can also change all the input fields, like ad library search url and maximum ads, to match your specific use case.

Receive the "Export Facebook Ads Library search results from a URL" 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 Facebook Ads Library search results from a URL" task via API.

Image

Integrate "Export Facebook Ads Library search results from a URL" into your workflow

Connect "Export Facebook Ads Library search results from a URL" 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

Open the Meta Ad Library in your browser, choose a country, ad category and keyword or advertiser, apply your filters, then copy the address bar and paste it as the search URL.

Country, active status, media type, platform, language, search type, sort and date range are kept. Tracking parameters such as fbclid or utm_source are ignored and listed in the run summary.

Every run saves a dataset you can download as JSON, CSV, Excel, XML or HTML from the Storage tab or through the Apify API.

You pay per ad saved to the dataset, at the rate on the Actor's Pricing tab, with no start fee. Lower maxAds to spend less; duplicates and skipped records are never charged.