Meta & Facebook Ad Library Scraper API – Video, Image, Text Ads avatar

Meta & Facebook Ad Library Scraper API – Video, Image, Text Ads

Pricing

from $0.76 / 1,000 ads

Go to Apify Store
Meta & Facebook Ad Library Scraper API – Video, Image, Text Ads

Meta & Facebook Ad Library Scraper API – Video, Image, Text Ads

Facebook Ad Library scraper API: get Meta ads (Facebook, Instagram) from brand names, page links or keywords. Returns video URL, thumbnail, ad copy, CTA, landing page, platforms and dates; optional image, carousel and text ads. $1.50 per 1,000 ads; brands with no ads are free. · by TubeText

Pricing

from $0.76 / 1,000 ads

Rating

0.0

(0)

Developer

TubeText Labs

TubeText Labs

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

1

Monthly active users

12 days ago

Last modified

Share

TubeText · Video & ad analysis · Pay per result. No login. Ready for AI agents. All tools

Quick start (no coding)

Meta Ad Library Scraper quick start: click Try for free, paste your input, click Start, export to Excel

  1. Click Try for free at the top of this page. A free Apify account is enough – it includes monthly credit.
  2. In Brands, Facebook pages or page IDs, paste one brand per line – a brand name (like HelloFresh), a facebook.com/<page> link or a page ID.
  3. Click Start. Usually under a minute per brand.
  4. When it says Succeeded, open the Output tab and click Export → Excel (or CSV). One row per video ad: video URL, ad copy, headline, CTA, landing page, platforms and dates.

Cost: $0.0015 per ad – 100 ads ≈ $0.15. From Oct 29, 2026: $0.001 per ad + $0.03 per brand or keyword that returns ads (1 brand × 100 ads ≈ $0.13).

Common mistakes

  • A brand name is ambiguous or cannot be confirmed → paste the intended facebook.com/<page> link or page ID.
  • Ads shown under a creator's name may be partnership ads → check the returned advertiser page and profile details; isPartnershipAd flags a name difference.
  • Want the creative teardown (hook, angle, script) → send the ads to our Video Ad Analyzer.
  • Want every advertiser on a topic, not one brand → use Or: search words (all advertisers) (like meal kit).
  • Want image and text ads too → set Ad types to all.

Questions or problems? Open an issue (we read every one). Need a custom version? Ask in an issue or email us – we build it as a private Actor on Apify.

Use from Claude, Cursor or any MCP client

Add https://mcp.apify.com?tools=tubetext/meta-ad-library-videos as a remote MCP server and sign in to Apify (Claude: Settings → Connectors → Add custom connector). Claude Code:

$claude mcp add --transport http tubetext "https://mcp.apify.com?tools=tubetext/meta-ad-library-videos"

Then ask, for example: "Get HelloFresh's active Facebook and Instagram video ads with copy, CTA and landing page." or "Search the Meta Ad Library for 'protein powder' ads, all ad formats, and summarize the offers."

🆓 Free to try: Apify's free plan includes $5 of usage every month, no credit card needed – enough for about 3,300 ads with this tool.

What you get – real output from a test run, shortened. One row per video ad (plus video URL, landing page and dates in more columns):

Brand searchedShown asHeadlineCTAAd copy
HelloFreshKirsten SchafferGet 10 Free MealsGet offerSkip overprices takeout, keep restaurant-quality…
HelloFreshHelloFreshDitch TakeoutGet offerNo wait. Half the cost of takeout. HelloFresh mak…
HelloFreshThe DodoDitch TakeoutGet offer#ad No wait. Half the cost of takeout. HelloFresh…

Meta Ad Library API alternative for ad intelligence

Call it from your back end with the Apify API. One request runs the Actor and returns the rows as JSON:

curl -X POST "https://api.apify.com/v2/acts/tubetext~meta-ad-library-videos/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H 'Content-Type: application/json' -d '{"brands":["HelloFresh"],"country":"US","maxAdsPerBrand":30,"activeOnly":true,"adTypes":"all"}'
  • Monitoring: Weekly competitor watch: schedule the run with your brand list and activeOnly: true. startDate on each row tells you which ads are new. Add an Apify webhook to get notified when each run finishes.
  • Cost at volume: 200 brands × 30 ads a week ≈ 6,000 ads ≈ $9/week at the free-plan price ($0.0015/ad). From Oct 29, 2026 it's $0.001/ad + $0.03 per brand or keyword with results, so fetch more ads per brand: 50 brands × 300 ads ≈ $16.50.
  • Stable output: field names don't change between runs. Failed or empty items come back as status rows with no ad or search fee, and every row has charged: true/false. The run-start fee is separate and may still apply.
  • Why not the official API: Meta's official Ad Library API covers political and issue ads (and ads shown in the EU) only. This returns commercial ads with video URLs, copy, CTA and landing page.

Facebook Ad Library scraper and API. Get any brand's video ads from the Meta Ad Library – Facebook, Instagram, Messenger, Threads and Audience Network – with a direct video URL, thumbnail, ad copy, CTA, landing page, start/end dates and platforms. Type a brand name (HelloFresh), a Facebook page link or a page ID: brand names are matched against advertiser page names and links, rather than mentions in ad copy. Names can match multiple pages; use a Page URL or ID when you need a specific advertiser. Built for media buyers, performance agencies, UGC creators and brand teams doing competitor ad research. No login, no Facebook account. $1.50 per 1,000 ads at the current standard price.

Why this one

  • 🔍 Or search by keyword – keywords works like the Ad Library search box across all advertisers (e.g. meal kit); an ad found by two keywords is delivered once.
  • 🎯 Match an advertiser – page names and profile links guide brand resolution, with country-specific links preferred. Unconfirmed identity is reported as an error; use the intended Page URL or ID to disambiguate.
  • 🎬 Video ads with a downloadable video URL (HD when available) and thumbnail – ready for editing review, swipe files or AI analysis. Set adTypes to all to also get image, carousel and text ads (adFormat, imageUrls).
  • 🤝 Creator/partnership candidates flagged – ads returned for a matched advertiser page may appear under a creator's name. isPartnershipAd flags this name difference; check pageId, pageName, pageUrl, advertiser and matchedPageUrl together. It is not independent proof of a commercial relationship.
  • 🧩 Dynamic catalog ads flagged – template ads ({{product.name}}) get isDynamicCatalogAd: true instead of fake copy.
  • 🧠 Want the creative teardown? Use our Video Ad Analyzer – hook, angle, offer, script and shot list of every ad.

Input example

{
"brands": ["Liquid Death", "https://www.facebook.com/canva", "HelloFresh"],
"country": "US",
"maxAdsPerBrand": 30,
"activeOnly": true
}

Output example

Real output (Oct 2026, shortened):

{
"input": "Liquid Death",
"status": "ok",
"rank": 1,
"adArchiveId": "2054840681894781",
"adLibraryUrl": "https://www.facebook.com/ads/library/?id=2054840681894781",
"advertiser": "Liquid Death",
"pageName": "Liquid Death",
"pageId": "2012750189007245",
"isPartnershipAd": false,
"videoUrl": "https://video.flas1-2.fna.fbcdn.net/o1/v/t2/f2/m366/…mp4?…",
"thumbnailUrl": "https://scontent.flas1-1.fna.fbcdn.net/v/t39.35426-6/…jpg?…",
"adCopy": "AI data centers use millions of gallons of water to cool servers. But we came up with a solution: drink Liquid Death Energy.",
"ctaText": "Shop now",
"landingPage": "https://ampd.to/?retailer=amazon&route=amazon.com%2FLiquid-Death-Sparkling-Energy-Strawberry…",
"startDate": "2026-08-18T07:00:00Z",
"isActive": true,
"platforms": ["INSTAGRAM"],
"collationCount": 2,
"country": "US"
}

collationCount is how many ads share this creative (the Ad Library groups them). status is ok for delivered ads, no_ads only for a confirmed empty result under the selected page/country/filters, or error when access, parsing or advertiser resolution failed. Error rows include errorCode, retryable and fetchStage; an error does not prove that the page has no ads. In Excel/CSV export, choose the Video ads view for clean columns.

Pricing

Pay per event:

  • $1.50 per 1,000 ads (cheaper on higher Apify plans: down to $1.14) – the same for video, image, carousel and text ads.
  • Brands without results and failed searches are free.

Example: 10 competitors × 30 video ads = 300 ads ≈ $0.45.

Price change on October 29, 2026 (00:00 UTC). Each search does real work for us whether it returns 30 ads or 300, so the price moves part of the cost to the search and lowers the per-ad price:

  • $1.00 per 1,000 ads (down from $1.50; cheaper on higher Apify plans),
  • plus $0.03 per brand, page or keyword that returns at least one ad. Searches with no ads stay free.

At the free-plan price: 1 brand × 30 ads = $0.06 (now $0.045) · 1 brand × 300 ads = $0.33 (now $0.45) · 10 brands × 100 ads = $1.30 (now $1.50). Bigger pulls per brand get cheaper; very small ones cost a few cents more.

Tips

  • Video links are signed by Facebook and expire after a few days – download or analyze the videos soon after the run.
  • Most precise input: the brand's Facebook page link (facebook.com/<page>) or page ID. Big brands often run ads from several pages (regional or product pages) – add each page you care about.
  • Country: ads are listed by where they ran. Use ALL for every country.
  • Monitoring: schedule a weekly run with your competitor list and compare startDate to spot new creatives; send new rows to Slack or Google Sheets with Apify integrations, n8n, Make or Zapier.

Ready-made examples

TubeText Labs tools

TubeText Labs builds 35 pay-per-result Apify Actors for video, social and e-commerce data – no login, JSON/CSV/Excel output, and ready for ChatGPT and Claude (Apify MCP), n8n, Make and Zapier. All tools: apify.com/tubetext

Transcripts

Video & ad analysis

  • Video Breakdown AI – hook analysis, shot list, cut pacing, products shown and script of any TikTok, Reel or YouTube video
  • Shot-by-Shot Video Analysis Pro – director-level storyboard of any video: framing, camera move, emotion and why each shot works, plus replay peaks, danmaku and comments tied to shots
  • YouTube & TikTok Comments API – comments with like-weighted sentiment and themes, plus the moments viewers react to on long YouTube and Bilibili videos
  • Video Ad Analyzer – competitors' YouTube video ads by brand or domain (Google Ads Transparency), torn down by AI
  • Google Ads Transparency API – any advertiser's YouTube video ads from Google Ads Transparency, with first/last shown dates, days running, views and transcripts
  • Meta Ad Library Scraper (this tool) – Facebook and Instagram ads by brand or keyword: video URLs, images, ad copy, CTA and landing page

Social, apps & trends

  • YouTube Channel Analytics – subscribers, recent video performance, Social Blade grade, ranks and estimated earnings
  • YouTube Shorts Scraper – every Short of a channel with exact views, likes, comments and publish time, plus transcripts and the opening line
  • Bilibili Scraper – Bilibili (B站) keyword search, popular board, top-100 ranking, video stats, danmaku text and creator (UP主) followers – no login
  • China Trending Topics – Douyin, Weibo, Baidu, Toutiao and Bilibili hot-search boards in one run, in English – plus an optional AI briefing on why topics trend
  • WeChat Article Scraper – WeChat 公众号 articles by keyword or link: full text, English titles and optional English summaries
  • Google Play Reviews + AI Insights – Android app reviews by star rating, country and language, plus an AI report of complaints and praise
  • Steam Reviews Scraper + AI Insights – Steam game reviews with hours played and votes, review score and current players, plus an AI report of top complaints, praise and feature requests
  • Social Blade Scraper – Social Blade stats for YouTube, TikTok, Instagram and Twitch creators – grade, ranks, 2-week growth, daily history, earnings estimates and top-100 lists
  • Spotify Play Count Scraper – play counts for every track of an album, artist or playlist (incl. Top 50 charts), plus monthly listeners, followers, world rank and top cities

E-commerce & travel

  • TikTok Shop Product Scraper – US TikTok Shop prices, items sold, stock per SKU and shop stats
  • AliExpress Search Scraper – AliExpress search results by keyword: price, items sold, rating, shipping, badges
  • Google Hotels Scraper – hotel prices for any destination and dates, per booking site and as a 90-day price calendar
  • Taobao & Tmall Product Scraper – Taobao/Tmall products by Chinese or English keyword, category or URL: CNY prices, shops and seller scores
  • Alibaba & Yiwu Supplier Finder by Image – product photo in, similar Alibaba.com and Yiwu wholesale listings out: price, MOQ, supplier, country and rating
  • Amazon Product Search Scraper – Amazon search results, Best Sellers lists and product pages: price, rating, reviews, monthly sales signal, badges and specs
  • Google Flights Scraper – flight prices for any route or multi-city trip, a cheapest-day calendar, price insights and booking options per site
  • Agoda & Booking.com Hotel Reviews + AI – Agoda hotel reviews plus verified Booking.com reviews shown on Agoda, hotel scores and sub-scores, and an AI report of complaints, praise and action items
  • Gas Prices Scraper (US & Canada) – live gas station prices by ZIP, city or coordinates – regular, premium, diesel, E85 – with an area summary of the cheapest stations
  • Idealo Price Scraper – every shop offer for a product on idealo – price, shipping, delivery, shop rating – in Germany, Austria, France, Italy, Spain and the UK, with a summary per market

Esports & sports data

  • Esports Match Timeline – Valorant and CS2 round-by-round scores, winners and VOD timestamps read from broadcast VODs

Questions or problems? Open an issue (we read every one). Need a custom version? Ask in an issue or email us – we build it as a private Actor on Apify.

Found it useful? A short review on this page helps others find it.

Built by TubeText Labs · Pay per result. No login. Ready for AI agents.

FAQ

Do I need a Facebook account or cookies? No. The Actor only reads the public Meta Ad Library in a logged-out browser.

Does it return image ads? Yes. The default is video ads only; set Ad types (adTypes) to all to also get image, carousel and text ads, with adFormat and imageUrls. Every ad is billed the same.

Is spend or reach included? The public Ad Library shows spend and reach only for political/social-issue ads and for ads shown in the EU; for most commercial ads in other countries Meta does not publish them.

Is this legal? The Actor only collects ads that Meta publishes in its public Ad Library, without logging in, and no personal data of viewers. You are responsible for how you use the data and the creatives (copyright and Meta's terms).

Can I cap what a run costs? Yes – set Maximum cost per run in the run options. The run stops cleanly when the next ad would go over it, and you are never charged more.

Item-level “not charged” means no ad or search fee for that item. The run-start fee is separate and may still apply. Check the run’s charge summary for the total.