Scrape Instagram ads for a keyword
Anas Nadeem
Find active ads that ran on Instagram for the keyword skincare in the United States, using a Meta Ad Library search URL filtered to Instagram placements.
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 "Scrape Instagram ads for a keyword". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Scrape Instagram ads for a keyword" 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 "Scrape Instagram ads for a keyword" 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 "Scrape Instagram ads for a keyword" task via API.

The Ad Library URL includes publisher_platforms[0]=instagram, the same filter the Ad Library applies when you choose Instagram as the platform. Each ad's platforms field lists every platform it ran on.
Yes. Set up a search in the Meta Ad Library in your browser, copy the address, and paste it as the search URL. Its country, status, platform, language, sort and date filters are kept; tracking parameters such as fbclid are ignored.
No. It returns ads from the Meta Ad Library that ran on Instagram, not organic posts or profile data.
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.