Facebook Ads Library Scraper avatar

Facebook Ads Library Scraper

Pricing

from $0.35 / 1,000 ads

Go to Apify Store
Facebook Ads Library Scraper

Facebook Ads Library Scraper

Track competitors' Facebook & Instagram ads in the Facebook Ads Library by keyword, page or country: dates, platforms, ad copy, media. From $0.35 per 1,000 ads. Until 2 Feb 2027 an Apify free plan account gets up to 300 ads a day uncharged, then waits for the reset; paid plans have no daily limit.

Pricing

from $0.35 / 1,000 ads

Rating

0.0

(0)

Developer

Steadyfetch Team

Steadyfetch Team

Maintained by Community

Actor stats

0

Bookmarked

9

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

Facebook Ads Library Scraper for tracking competitors: type a keyword or an advertiser's name, or paste an Ad Library link, and get their Facebook and Instagram ads back as structured rows. That link can be a single ad's own link (…/ads/library/?id=123…), a bare ad ID, an advertiser's page link, or an Ad Library search link (the address after you search, country ALL included — it runs as that search, except a link carrying a filter this actor cannot apply — stopped ads only, image or text-only ads, one ad category such as political ads, a date range, platforms or languages — which comes back as one uncharged row saying so); a single ad is a first-class input here, not a workaround. One JSON row per ad: the advertiser and page ID, when the ad started and stopped, whether it is still running, the platforms it runs on, the ad's headline, caption and body copy, its landing page, its video or image URL, the collation it belongs to, and the EU spend and impressions bands where Meta publishes them. From $0.35 per 1,000 ads on paid plans ($0.50 on the free plan), platform usage included, no start fee. You are charged only when an ad row lands in your dataset: a search that matches nothing, a walled or rate-limited fetch and an ad whose row cannot be read all cost $0.

Until 2 February 2027, an Apify free plan account gets up to 300 ads a day uncharged; past that, a free-plan run stops with the ads it collected and says, in UTC, when its allowance resets (paid plans have no daily limit).

Using an AI agent? Pin this actor in Apify's MCP server with one link: https://mcp.apify.com?tools=steadyfetch/facebook-ad-library-scraper

  • Actor id: steadyfetch/facebook-ad-library-scraper
  • Input: { "searchQueries": ["fitness app"] } — the one field you have to set.
  • Cap the bill: set maxTotalChargeUsd on the run (a run option, not Actor input), e.g. 0.50 — the run stops when it reaches it.
  • Your cap is the cap. maxAds (default 100) caps the whole run and searchMaxAds (default 25) caps each keyword or page — the run never delivers or bills a row past either. If your input carries maxItems, resultsLimit, limit or count instead — the names other Ad Library scrapers use — the smallest of them is read as maxAds and one uncharged note row says so. Add maxTotalChargeUsd and the run stops at whichever comes first; rows already in hand ship, uncharged if they could not be billed.

Just want to see it work? Click Start with nothing set and the run is a 3-ad sample — currently running US ads matching "fitness app", charged like any run (about $0.001 on a paid plan; uncharged on the free plan, inside its 300 ads a day). Set only the settings — a country, an ad format, a cap — and no keyword or link, and that same sample runs under your settings, with one uncharged note row saying which ones it used.

Want the ad's words too? Turn on Add the ad's transcript (includeTranscript) and every ad with a video creative is also transcribed — transcript, the first-3-seconds hook3s, language, durationSeconds and timestamped segments ride the same row. That is charged as one extra Ad transcript, and only when a transcript is actually delivered. If transcripts are the whole reason you are here, our Facebook Ads Transcript Scraper is built around them and also reads image-ad text and on-screen text on silent ads.

What you get

FieldWhat it is
adArchiveIdThe ad's Ad Library ID — the one stable key.
adLibraryUrlA link straight back to the ad in Meta's Ad Library.
pageName · pageId · pageProfileUri · pageProfilePictureUrlThe advertiser: their page name, its numeric ID, their profile link and their logo.
pageCategories · pageLikeCount · pageIsDeleted · bylineHow Meta files the advertiser, their follower count, and the disclaimer byline on political ads.
brandedContentOn a branded-content ad, the other page it names beside the advertiser (pageId, pageName, pageProfileUri, pageIsDeleted); null otherwise.
isActive · startDate · endDate · totalActiveTimeSecondsThe flight: whether it is still running, and when it ran.
publisherPlatforms · countriesWhere the ad runs — Facebook, Instagram, Messenger, Audience Network, Threads — and the countries Meta names for it.
displayFormat · videoUrl · imageUrlThe creative: its format, and a direct link to the video or image.
videos · imagesEvery video and every image the ad holds, one entry per file — each video with a lower-quality copy (videoSdUrl, when there is one), its cover image (thumbnailUrl) and that version's own card text (title, adText, linkUrl, linkDescription, ctaText, ctaType, null where it has none), each image with its card text where it has one (null where it has none). On a video ad the first videos entry is the videoUrl above, and on an image ad the first images entry is the imageUrl above; [] when the ad has none.
title · caption · linkDescription · linkUrlThe ad's headline, its display URL and the page it sends people to.
extraTexts · extraLinksThe ad's other texts and links, as the Ad Library lists them; [] when there are none.
adText · adTextIsTemplateThe ad's body copy — and a flag that is true when Meta serves a dynamic-product placeholder ({{product.name}}) instead of words in the body, the headline (title) or the link description, so you can filter template ads out instead of reading them as copy.
ctaText · ctaTypeThe call-to-action button.
categories · gatedType · containsSensitiveContent · containsDigitalCreatedMedia · disclaimerLabelMeta's own classification of the ad, including its AI-generated-media flag.
collationId · collationCountOne creative running under several ad IDs: the group, and how many ads are in it.
currency · spend · impressionsText · reachEstimateThe EU spend, impressions and reach bands, where the law makes Meta publish them.
transcript · hook3s · language · durationSeconds · segmentsOnly with Add the ad's transcript on.
searchQuery · sourceIndexWhich keyword, page or link this row came from, so a multi-query run sorts itself.
status · charged · statusReasonWhat happened to this ad, whether it was billed, and why — on every row.
retryable · chargedEventsWhether a re-run can change this row's answer, and exactly what it was charged ({} when nothing) — on every row. The run ends with one "_summary": true row, never charged, that totals what it delivered and charged (a run Apify moves to another server part-way carries one such row per stretch; filter on _summary to keep it out of a sheet).

What is null, and why. spend, impressionsText and reachEstimate are filled only where the law makes Meta publish them — EU-targeted and political ads. On an ordinary US ad they are null, and that is the Ad Library's answer, not a scrape miss. The advertiser's phone number, business address and page history live on the advertiser's About tab, not on the ad, and are not on this row. Every one of the 58 fields is present on every ad row: a value or null, never a column that comes and goes.

Column names are ours and they stay put. Meta's wire is read in one place and renamed once, so a Meta rename does not rename your columns, and a fixed-schema table or sheet never breaks on a new row. What a field means is in the table above, not in a Facebook internal name.

What a row looks like

One delivered row from a real run — the keyword fitness app, 2026-09-12, shown with the flags and fields this build writes (its {{product.name}} headline sets adTextIsTemplate). One ad row is one Ad charge; the transcript fields are null because this run did not turn transcripts on. Every link in it is shown here as a placeholder — Facebook signs the media URL and expires it within days.

{
"status": "delivered",
"charged": true,
"statusReason": null,
"adArchiveId": "1507887230933843",
"adLibraryUrl": "https://…/ads/library/?id=1507887230933843",
"searchQuery": "fitness app",
"pageId": "102806245720688",
"pageName": "Troponin Supplements",
"pageProfileUri": "https://…",
"pageProfilePictureUrl": "https://…",
"pageCategories": ["Vitamins/supplements"],
"pageLikeCount": 1632,
"pageIsDeleted": false,
"byline": null,
"brandedContent": null,
"isActive": true,
"startDate": "2026-03-20T07:00:00.000Z",
"endDate": "2026-09-12T07:00:00.000Z",
"totalActiveTimeSeconds": null,
"publisherPlatforms": ["FACEBOOK","INSTAGRAM","AUDIENCE_NETWORK"],
"countries": null,
"displayFormat": "DCO",
"title": "{{product.name}}",
"caption": "troponiniq.com",
"linkUrl": "https://…",
"linkDescription": null,
"extraTexts": [],
"extraLinks": [],
"adText": "Always Intelligent, Never Artificial",
"adTextIsTemplate": true,
"ctaText": "Sign up",
"ctaType": "SIGN_UP",
"videoUrl": null,
"videos": [],
"imageUrl": "https://…",
"images": [{ "imageUrl": "https://…", "title": "…", "adText": "…", "linkUrl": "https://…", "linkDescription": null, "ctaText": "Sign up", "ctaType": "SIGN_UP" }],
"categories": ["UNKNOWN"],
"gatedType": "ELIGIBLE",
"containsSensitiveContent": false,
"containsDigitalCreatedMedia": false,
"disclaimerLabel": null,
"collationId": "2432929267140392",
"collationCount": 1,
"currency": null,
"spend": null,
"impressionsText": null,
"reachEstimate": null,
"transcriptStatus": null,
"transcript": null,
"hook3s": null,
"hookStartSeconds": null,
"language": null,
"durationSeconds": null,
"segments": null,
"chargeEvents": {"adRow":1,"transcript":0,"surchargeMinutes":0},
"retryable": false,
"chargedEvents": {"ad-row":1},
"sourceIndex": 1,
"#k": "ad:1507887230933843",
"#ce": {"ad-row":1}
}

An ad with several videos lists every one. A second real row, from a keyword search captured 2026-08-30, trimmed to the columns this shows (the rest are as above): Freeletics runs one version of its ad per language, and videos carries each version's video, cover and card text — three of its six entries shown, links shortened. The first entry is the row's videoUrl.

{
"adArchiveId": "2156931295218359",
"adLibraryUrl": "https://…/ads/library/?id=2156931295218359",
"searchQuery": "fitness app",
"pageId": "501656423181530",
"pageName": "Freeletics",
"pageProfileUri": "https://…",
"pageProfilePictureUrl": "https://…",
"brandedContent": null,
"displayFormat": "DCO",
"extraTexts": [],
"extraLinks": [],
"adText": "Get your personalized Training Coach and get in the best shape ever! …",
"videoUrl": "https://…",
"videos": [
{"videoUrl": "https://…", "videoSdUrl": "https://…", "thumbnailUrl": "https://…", "title": "Freeletics: Europe's #1 Fitness App", "adText": "Get your personalized Training Coach and get in the best shape ever! …", "linkUrl": "https://…", "linkDescription": null, "ctaText": "Learn More", "ctaType": "LEARN_MORE"},
{"videoUrl": "https://…", "videoSdUrl": "https://…", "thumbnailUrl": "https://…", "title": "Freeletics: Europas Fitness-App Nr. 1", "adText": "Hol dir deinen personalisierten Training Coach und komm in die Form deines Lebens. …", "linkUrl": "https://…", "linkDescription": null, "ctaText": "Learn More", "ctaType": "LEARN_MORE"},
{"videoUrl": "https://…", "videoSdUrl": "https://…", "thumbnailUrl": "https://…", "title": "Descarga Freeletics hoy", "adText": "¡Obtén tu Coach de entrenamiento personalizado y ponte en la mejor forma de tu vida! …", "linkUrl": "https://…", "linkDescription": null, "ctaText": "Learn More", "ctaType": "LEARN_MORE"}
],
"imageUrl": null,
"images": []
}

How often the data changes

Meta's Ad Library updates continuously: new ads appear within hours of going live, and an ad's isActive and endDate change the day an advertiser stops it. For competitor monitoring a daily run is the useful cadence; for a market survey, weekly. The spend, impressions and reach bands on EU political ads move slowly — monthly is enough. Video and image URLs are signed by Facebook's CDN and expire within hours to days, so fetch the creative soon after the run, or re-run to get fresh links.

Use it as an API endpoint (Standby)

You can also call this actor like an API: send the same fields a run takes — searchQueries, adLibraryUrls, country and the rest — and get the ads back in the same response, with no run to start and no dataset to read. The endpoint is https://steadyfetch--facebook-ad-library-scraper.apify.actor; the actor's Endpoints tab documents it and lets you try it from the browser.

curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
"https://steadyfetch--facebook-ad-library-scraper.apify.actor/?searchQueries=fitness%20app&country=US&maxAds=20"

Send a list by repeating the parameter (?searchQueries=Nike&searchQueries=fitness%20app), or POST the run's own JSON input as the body. One request returns at most 100 ads (25 with includeTranscript, 10 on the Apify free plan) and takes up to 10 keywords and links together; for bigger jobs, run the actor as usual.

The answer is JSON: rows (each with the same fields as a row in a run's dataset, including the clearly-labelled uncharged rows), delivered, charged (per event), summary and notes for anything that was not returned, in plain words. You are charged per ad returned — and per transcript and long-video minute when you ask for transcripts — at the same per-event prices as a run (see Pricing below). A request that returns no ads is not charged, and if the charge for a request cannot be completed, its ads are not sent and nothing is charged. On the Apify free plan the endpoint is not part of the runs' daily allowance: its ads are charged at the free plan column, one request returns at most 10 ads, and all free-plan callers together get up to 300 ads and 60 transcripts a day (UTC); past that a request is told to try again after midnight UTC, with nothing charged.

What one run can reach

Each keyword or advertiser page returns at most searchMaxAds ads (default 25; up to 500 per keyword — ask for more and the run continues at 500) and the whole run at most maxAds (default 100; up to 10,000 per run — ask for more and the run continues at 10,000, with one uncharged row saying so). Meta's own search stops serving deep pages a few thousand results in, whatever its counter says — so a broad keyword is better split by country or ad format than pushed to a huge cap. The run's status line and its OUTPUT record say exactly what happened: how many ads were listed, how many rows delivered and charged, how many your date filters dropped, and how many sat beyond your cap — never a silent stop. If one search stops short because its pages stopped carrying ads new to the run — usually because another of your keywords had already listed them — an uncharged note row says exactly that, names the run's own limit as the run's own, and never reports it as a verdict about the advertiser. Pages your own date filters empty are not counted there: the run reads on toward your dates, up to as many search pages as the ads you asked for need, and if it reaches that bound without meeting them the note says your window starts deeper down than one run reads — never that the advertiser had nothing.

  • Newest ads first? There is no sort control — the Ad Library serves its own order. To get the newest, set startedAfter to a recent date and leave activeStatus on Currently running; the search runs, older ads are dropped uncharged, and the rows that land are the recent ones.

What is never charged

  • A search that returns no ads — including a keyword that matches nothing and an advertiser with nothing running in that country.
  • A search Facebook walled, rate-limited or refused: it comes back as one uncharged row that says so and can be retried — never as an empty run that looks like success.
  • An Ad Library link that will not resolve, or names an ad Meta has removed.
  • An ad whose row could not be read from Meta's response.
  • Ads dropped by your own startedAfter / startedBefore window (they filter on the ad's start date, after the search) and ads beyond your maxAds cap.
  • With Add the ad's transcript on: a silent or music-only ad, an image ad, an expired video link, and any transcription that failed. The ad row is still delivered; only the transcript goes unbilled.
  • A time limit or a cost cap ends the collecting, never the delivering: rows already in hand ship in full, and any that could not be billed ship uncharged and say so.
  • On the Apify free plan: every ad inside the daily allowance, and the one row that says the allowance was reached.

Pricing

EventWhat it isFree planBronzeSilverGold and up
AdOne ad row delivered to your dataset.$0.0005$0.00045$0.0004$0.00035
Ad transcriptOne video ad transcribed, only with includeTranscript on, only when a transcript is delivered. First 3 minutes included.$0.030$0.029$0.025$0.020
Long-video minute (surcharge)One started minute beyond the included first 3 minutes of a transcribed video.$0.005$0.005$0.005$0.005

Per 1,000 ads that is $0.50 on the free plan, $0.45 on Bronze, $0.40 on Silver and $0.35 from Gold. Platform usage is included in those prices — there is no start fee and no compute bill on top.

Your Apify plan decides which column you pay. The plan is Apify's, not this actor's, and nothing about what is collected or delivered changes with it.

On the Apify free plan, ads come out of the daily allowance above and are not charged. Each account gets up to 300 ads in any 24 hours, and all free-plan accounts on this actor share up to 15,000 ads a day, which resets at 00:00 UTC. A run that reaches either limit stops with the ads it already collected and ends normally: one uncharged row and the run page say how many ads were left and the time in UTC when the allowance resets. The allowance covers ad rows only: with Add the ad's transcript on, each transcript and each long-video minute is charged at the free plan column above, even inside the allowance. Paid plans have no daily limit.

Notes

If it earned its keep, a rating helps other buyers find it, and saving the actor keeps it one click away.

Something wrong or missing? Open an issue on this actor's Issues tab and we will answer there.

Unofficial. Not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc.