Facebook Ads Library Scraper - Meta & Instagram Ads, No Login avatar

Facebook Ads Library Scraper - Meta & Instagram Ads, No Login

Pricing

from $2.00 / 1,000 ad scrapeds

Go to Apify Store
Facebook Ads Library Scraper - Meta & Instagram Ads, No Login

Facebook Ads Library Scraper - Meta & Instagram Ads, No Login

Facebook Ad Library scraper for Meta & Instagram ads by keyword or Page: ad copy, headlines, CTAs, landing pages, images & videos, platforms, run dates, plus spend & reach where Meta discloses it. No login; optional official API token mode. $2 / 1,000 ads.

Pricing

from $2.00 / 1,000 ad scrapeds

Rating

0.0

(0)

Developer

Abi Fadeyi

Abi Fadeyi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Facebook Ads Library Scraper — Meta & Instagram ads with copy, CTAs, landing pages & spend

Scrape the Facebook Ad Library (Meta Ad Library) without a Facebook account: every Facebook & Instagram ad for a keyword or Page, with ad copy, headline, CTA, landing page, images/videos, platforms and run dates — ready for spreadsheets, BI tools or AI.

Extract ads from the public Meta Ad Library (Facebook, Instagram, Messenger, Audience Network, Threads) by keyword or Facebook Page — no Facebook login. Get clean, normalized JSON: body text, headline, CTA, landing page, images & videos, carousel cards, platforms, start/end dates, active status, plus spend and impressions where Meta discloses them (political/issue ads, EU).

Optional official API mode: paste your own free Meta Ad Library API token to use the Graph API ads_archive endpoint instead.

What can you do with it?

  • Facebook ad spy / competitor research — see every creative, hook and offer a rival is running right now and how long each has run.
  • Creative swipe files — bulk-export image & video URLs, carousel cards and copy for a niche keyword.
  • Agency pitches & audits — pull a prospect's and its competitors' Meta ads in minutes.
  • E-commerce & dropshipping research — find which products and landing pages brands are pushing on Facebook and Instagram.
  • Political & EU transparency research — spend and impression ranges where Meta discloses them.

Quick start

  1. Click Try for free (or Start) — the input is pre-filled with a small, fast example.
  2. Change the brand / keyword, set Max results, and press Start.
  3. Download the ads as JSON, CSV, Excel or HTML, or fetch them via API / integrations below.
{
"searchQueries": ["nike"],
"country": "US",
"activeStatus": "active",
"maxResults": 20
}

Use searchQueries (keywords) or pages (Page IDs/URLs). Residential proxy is the default because Meta rate-limits pagination from datacenter IPs.

Why this Meta Ad Library scraper?

  • Clean schema, not raw GraphQL — dynamic creative (DCO) {{product.name}} placeholders are resolved to the real card copy; carousel cards are split out; dates are ISO.
  • Fast — first 30 ads for a query in ~5 s; reads the server-rendered results directly, then pages through Meta's own pagination query.
  • Resilient — passes Meta's JS challenge automatically, rotates residential sessions on rate limits and resumes from the same cursor.
  • Fair pricing — pay per ad delivered.

Data fields

adArchiveId, pageId, pageName, pageUrl, pageLikeCount, startDate, endDate, isActive, platforms, creativeType (IMAGE / VIDEO / DCO / CAROUSEL…), headline, bodyText, ctaText, ctaType, linkCaption, landingPageUrl, mediaUrls, imageUrls, videoUrls, cards[], collationCount, spendRange, impressionsRange, categories, targetedOrReachedCountries, adLibraryUrl, scrapedAt, optional aiAnalysis.

Full input example

{
"searchQueries": ["running shoes"],
"pages": ["20409006880", "https://www.facebook.com/nike"],
"country": "US",
"activeStatus": "active",
"adCategory": "all",
"mediaType": "all",
"maxResults": 200
}

Sample output (real record, trimmed)

{
"platform": "meta",
"adArchiveId": "952162490977746",
"pageId": "20409006880",
"pageName": "Shopify",
"pageUrl": "https://www.facebook.com/shopify/",
"pageLikeCount": 4559940,
"startDate": "2026-11-01",
"isActive": true,
"platforms": ["FACEBOOK", "INSTAGRAM"],
"creativeType": "DCO",
"headline": "Imaginez votre boutique, Shopify la crée",
"bodyText": "Vous avez quelque chose à vendre ? Créez une boutique en ligne en quelques secondes avec notre éditeur de boutique par IA.",
"ctaText": "Sign up",
"landingPageUrl": "https://www.shopify.com/se/gratis-trial",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=952162490977746",
"scrapedAt": "2026-11-19T21:13:02.000Z"
}

Proxy & limits

Meta returns the first 30 results to most visitors but rate-limits pagination from datacenter IPs. The Actor therefore defaults to Apify RESIDENTIAL proxy, rotating sessions and resuming from the same cursor when throttled. With datacenter proxy you will reliably get ~30 ads per query.

Pricing (pay per event — no subscription)

You pay only for results. With Apify pay-per-event pricing there is no separate compute charge for this Actor — just the events below.

EventPricePer 1,000When
ad-scraped$0.002$2.00Each ad written to your dataset (primary)
ai-ad-analysis$0.02$20.00Optional, only when enabled and successful
Actor start$0.00005—Apify standard start event, once per run

Example: 1,000 Facebook/Instagram ads = $2.00; 100 ads = $0.20.

Set Max cost per run (or maxTotalChargeUsd via the API) and the run stops cleanly at your budget. New Apify accounts get free monthly platform credit, which you can use to try this Actor.

FAQ

Do I need a Facebook account? No. Web mode uses the public Ad Library exactly like a logged-out visitor.

What does API mode add? Official, stable data via your own token, including spend/impressions/demographics for ads Meta covers in the API (EU-delivered ads and political/issue ads). It does not include commercial ads outside the EU — that's what web mode is for.

How do I find a Page ID? Open the Page's ads in the Ad Library — the URL contains view_all_page_id=…. You can also paste the Page URL; slug URLs are matched by keyword + page filter.

Is it legal? The Meta Ad Library is a public transparency tool. The Actor collects advertiser-level ad data only. Check your use case and local law.

Can I run it on a schedule? Yes. Create an Apify Schedule (daily, weekly, cron) for this Actor or a saved task. To get alerts only when something changes, use the Competitor Ad Tracker.

Can I use it from an AI agent or my own app? Yes — via the Apify API, the apify-client SDKs, n8n, Make, Zapier or the Apify MCP server. See Integrations & API below.

Something broke or a field is missing? Open an issue on the Issues tab with your run ID. We run automated health checks on every AdIntel Labs Actor daily and fix breakages as quickly as we can.

Integrations & API

Use this Actor from code, no-code tools or AI agents:

  • REST API — POST https://api.apify.com/v2/acts/adintel-labs~meta-ad-library-scraper/run-sync-get-dataset-items?token=<APIFY_TOKEN> with the input JSON as the body returns the ads directly (waits up to 5 minutes; use /runs + webhooks for longer jobs).
  • n8n — Apify node (@apify/n8n-nodes-apify) → Run an Actor and get dataset, Actor adintel-labs/meta-ad-library-scraper.
  • Make — Apify app → Run an Actor (run synchronously) → Get Dataset Items, or trigger on Watch Actor Runs.
  • Zapier — Apify app → Run Actor action, or Finished Actor Run trigger + Fetch Dataset Items (for runs longer than Zapier's 30 s sync limit).
  • AI agents (MCP) — add https://mcp.apify.com?tools=adintel-labs/meta-ad-library-scraper to Claude, Cursor, VS Code or any MCP client; the Actor appears as the tool adintel-labs--meta-ad-library-scraper.
  • Schedules & webhooks — run it daily/weekly with Apify Schedules and push results to Slack, Google Sheets, Airtable, S3 and more.
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('adintel-labs/meta-ad-library-scraper').call({"searchQueries": ["nike"], "country": "US", "activeStatus": "active", "maxResults": 20}, { maxTotalChargeUsd: 1 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
import os
from apify_client import ApifyClient # pip install apify-client
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("adintel-labs/meta-ad-library-scraper").call(run_input={"searchQueries": ["nike"], "country": "US", "activeStatus": "active", "maxResults": 20})
for ad in client.dataset(run.default_dataset_id).iterate_items(): # apify-client 1.x: run["defaultDatasetId"]
print(ad)

More AdIntel Labs ad-library Actors

All built for the same job — competitor ad research — with a similar clean JSON schema and pay-per-ad pricing:

Browse them all at apify.com/adintel-labs.