Export Facebook Ads Library search results from a URL
Anas Nadeem
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.
Input
Output fields
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.

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
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
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.