原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check

作者:AnshumanAtrey版本 1.0.11i★ –i在云端运行
注册名称io.github.AnshumanAtrey/facebook-ads-library-api

安装

概览

作者提供的说明(英文原文)

Facebook/Meta Ads Library Scraper - Winning Ads

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 营销与社交媒体
  • 你需要填写:Authorization

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

在终端中运行这条命令

claude mcp add --transport http facebook-ads-library-api 'https://mcp.apify.com/?tools=anshumanatrey/facebook-ads-library-api' --header 'Authorization: your-value'

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "facebook-ads-library-api": {
      "url": "https://mcp.apify.com/?tools=anshumanatrey/facebook-ads-library-api",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "facebook-ads-library-api": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=anshumanatrey/facebook-ads-library-api",
      "headers": {
        "Authorization": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • Authorization 机密 必填 HTTP header
    Apify API token, as 'Bearer '. Runs bill to this account.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

服务器要求先登录,才会列出它的工具。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 AnshumanAtrey 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • ✓ 通过

    端点有响应

    在 39 毫秒内响应(HTTP 401)

  • ✓ 通过

    使用 OAuth 登录

    声明支持 OAuth 登录,你的 AI 应用可以带你去登录

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 2987 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2987 个服务器的 80% 更新
  • 基础检查结果等于或优于此分类中其他 2987 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:Authorization

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.11)于9天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

作者:jkawamoto

An MCP server retrieving transcripts of YouTube videos

在你的电脑上运行★ 495MIT10天前更新
安装

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

在你的电脑上运行★ 244MIT10天前更新
安装

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

在云端运行★ 137MIT10天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Facebook/Meta Ads Library Scraper API - Winning Ads, Scam Check

Scrape the Facebook Ads Library, which Meta now calls the Meta Ad Library (ads on Facebook, Instagram, Messenger, Threads and Audience Network), with no login, no cookies and no Meta API token. Type a keyword or paste a Facebook page, and get every matching ad as a row: the advertiser, how many days the ad has run, how many versions it has, the text, headline and button, the landing page and its domain, image and video links, platforms, and the reach, spend and EU audience data Meta publishes. On top of that: an advertiser list (businesses advertising on a keyword right now, one row each) and a brand scam check (ads that use a brand's name from pages that are not the brand's own). $0.70 per 1,000 ads, no start fee. Use it from the Apify Console, the API, Python, JavaScript, n8n, Make, Zapier or an AI agent through the Apify MCP server.

What does it do?

It reads the public Meta Ad Library, the same one at facebook.com/ads/library, and returns what you would otherwise copy by hand, for as many keywords or advertisers as you give it:

  • Ads for keywords (`ads`): every ad matching your words in a country or worldwide.
  • Ads of advertisers (`pages`): all ads of the Facebook pages you list, by link, page id or just the name.
  • Advertiser list (`advertisers`): the businesses advertising on your keywords now, with how many ads, their longest-running ad and the websites they send people to.
  • Brand scam check (`impersonation`): ads that name a brand but come from other pages, each with a risk level and the signals behind it (look-alike page name, look-alike landing domain, a new ad from a small page).

Why do people use the Ad Library data?

Answer: to see what already works in someone else's ads. Meta shows every running ad but no results, so the best free signal is time: an ad that has run for 30 to 90 days is almost always paying for itself, because nobody keeps paying for an ad that loses money.

  • Media buyers and DTC brands find competitors' long-running ads and copy the hook, offer and format instead of paying to test from zero. daysRunning and versions are here for that: several live versions of one ad are an A/B test, and the survivors are the winners.
  • Creative strategists and agencies keep a weekly watchlist of 10 to 20 brands and build swipe files; the landing domain shows the funnel behind each ad.
  • Agencies prospecting use the advertiser list: a business spending on ads now has a budget, so it is a warm lead.
  • E-commerce and dropshipping spot products pushed with many long-running ads.
  • Developers build ad-spy tools, n8n and Make flows (scrape, then have GPT or Gemini pull out hooks and write new variations) and AI-agent tools on top of it, without maintaining a scraper.
  • Brand protection and security teams run the brand scam check. Meta itself estimated about 15 billion scam ads are shown every day and expanded its brand-impersonation detection in March 2026; this finds the ones using your name.

How is it different from other Facebook Ads Library scrapers?

  • Cheaper than the two most-used Facebook/Meta Ads Library scrapers: $0.70 per 1,000 ads against $5.80 for Apify's own and $0.75 plus a start fee for curious_coder (together about 70% of this category's users). With no start fee it is also the cheapest for small runs: under 40 ads compared with automation-lab and under 250 compared with memo23. On large runs those two and jmlp cost less per ad; the table below shows every price.
  • Winning-ad signals built in: daysRunning is computed for every ad, versions is Meta's own count of an ad's variants, and Min days live (`minDaysRunning`) keeps only the long runners.
  • Landing domain on every ad, so you can group ads by the site they send people to.
  • Advertiser list and brand scam check in the same actor, charged the same way.
  • Simple for anyone: type a keyword and press Start; country names work (India, USA, UK), commas split keywords, and a pasted Ad Library link or Facebook page link is understood.
  • No proxy to set up: Meta blocks cloud and datacenter IPs (in our 2026-09-25 test both returned 0 ads), so every search runs on Apify's residential proxy, included in the price.
  • You pay only for rows saved, and a spending limit stops the run cleanly between batches.

How much does it cost to scrape the Facebook Ads Library?

$0.0007 per ad ($0.70 per 1,000), $0.008 per advertiser in the Advertiser list and $0.002 per ad in the brand scam check (it first reads the brand's own pages to learn their real websites). No start fee, no monthly fee, platform usage and residential proxy included. On paid Apify plans every price is 10% less on Scale and 20% less on Business and above ($0.56 per 1,000 ads on Business).

RunChargedPrice
The example input (20 ads for "running shoes")20 ads$0.014
100 ads for one keyword100 ads$0.07
1,000 ads across 10 keywords1,000 ads$0.70
Advertiser list from 200 ads, 60 advertisers found60 advertisers$0.48
Brand scam check that finds 40 ads from other pages40 scam-check ads$0.08
A search where Meta has no matching ads0$0.00

Apify's free plan includes $5 of monthly credit, which covers about 7,000 ads.

How does the price compare with other Facebook Ads Library scrapers?

The Facebook Ads Library actors with 250 or more users in the last 30 days on 2026-09-25, ordered by those users, at their Apify free-plan price.

ScraperPrice per 1,000 adsStart feeUsers, 30 days
This actor$0.70NoneNew
Facebook Ads Library Scraper by apify$5.80None6,040
Facebook Ads Library Scraper by curious_coder$0.75$0.000055,853
Facebook Ad Library Scraper by igolaizola$0.75$0.00751,048
Facebook Ads Library by automation-lab$0.575$0.005458
Facebook Ads Library Scraper by memo23$0.50$0.05340
Facebook Ads Library Scraper by brilliant_gum$15.00 + platform usage$0.001271
Meta Ad Scraper by whoareyouanas$10.00None256
Meta Ad Library Scraper by jmlp$0.15 + platform usageNone254

Several of these discount their prices on paid Apify plans, and some bill platform usage on top; automation-lab, memo23 and jmlp cost less per ad on large runs. Compare at your own plan if you run large volumes.

Which inputs does it take?

Every field has a plain name with its JSON key in brackets. Only Keywords is needed.

Field (JSON key)RequiredWhat it does
Report type (mode)Noads (default), pages, advertisers or impersonation (brand scam check)
Keywords (searchTerms)Yes, except for pagesOne per line; a, b on one line is two keywords; a pasted Ad Library search link works. For the scam check, the brand
Advertisers (pages)For pagesFacebook page links, page ids or names, for example https://www.facebook.com/nike or Gymshark
Country (country)NoALL (worldwide, default), a name such as India or a code such as IN
Ads per search (maxAds)NoMost ads saved per keyword or advertiser, default 100
Ad status (status)Noactive (default), inactive or all
Ad category (adType)Noall (default), political, housing, employment, credit
Media type (mediaType)Noall, image, video, meme, none
Min days live (minDaysRunning)NoKeep only ads that ran at least this many days
Exact phrase (exactPhrase)NoMatch the keywords as one phrase
Merge versions (groupVersions)NoOne row per group of ad versions
Order (sortBy)Noimpressions (most seen first, default) or relevance
Official pages (officialPages)NoFor the scam check: the brand's own pages; left empty, pages named exactly like the brand are used and listed in the run summary
{ "searchTerms": ["running shoes"], "country": "US", "minDaysRunning": 30, "maxAds": 200 }

What does the output look like?

One row per ad (or per advertiser in the Advertiser list). Every key is always present, empty when Meta has no such part. An example ad row, shortened:

{

"adId": "866569929827744", "adLibraryUrl": "https://www.facebook.com/ads/library/?id=866569929827744", "pageName": "Example Brand", "pageId": "1234567890", "pageLikes": 48210, "isActive": true, "startDate": "2026-06-01T12:30:00", "daysRunning": 116, "versions": 3, "platforms": ["FACEBOOK", "INSTAGRAM", "THREADS"], "adText": "Our best-selling trainer is back in stock...", "headline": "Free shipping this week", "callToAction": "Shop now", "landingUrl": "https://www.example.com/sale", "landingDomain": "example.com", "imageUrls": ["https://scontent.xx.fbcdn.net/..."], "videoUrls": [], "spend": null, "ageGender": [], "impersonation": null }

Brand scam check rows add impersonation: {"brand": "Nike", "risk": "high", "signals": ["page name uses the brand but it is not an official page", "sends people to nike-outlet-sale.shop, a look-alike site, not an official domain"]}. The signals are for you to review, not a verdict: resellers such as Foot Locker also use brand names and come back as low risk.

The run summary is the OUTPUT record: status, notes about anything we changed in your input, one entry per search with how many ads were read and saved, and the charged events.

How fast is it?

In our 2026-09-25 tests on Apify (256 MB, peak 57-70 MB): 20 ads in 16 s, 200 ads for one keyword in 106 s, 3 keywords of 50 ads each in 49 s (they run at once, each on its own residential IP), 60 ads of 2 advertisers in 48 s, and an advertiser list of 86 businesses from 100 ads in 66 s. No run was rate-limited.

Common questions

Q: Is the Facebook Ads Library the same as the Meta Ad Library? Yes. It is the same public library at facebook.com/ads/library; Meta now calls it the Meta Ad Library, and it covers ads on Facebook, Instagram, Messenger, Threads and Audience Network. This actor reads all of them.

Q: Do I need a Facebook account, cookies or a Meta API token? No. It reads the public Ad Library the way a logged-out visitor sees it.

Q: Can I see how much an ad spends or how many people it reached? For political and issue ads, yes: Meta publishes spend and impressions ranges. For ads delivered in the EU, Meta publishes reach by age, gender and region. For other ads Meta shows no numbers, which is why daysRunning and versions matter.

Q: How do I find winning ads? Set Min days live (minDaysRunning) to 30 or more. Ads that keep running for weeks are the ones making money, and versions shows which ones are being tested in several variants.

Q: Is this the official Meta Ad Library API? No. The official API needs a developer account and identity verification and covers political and issue ads plus ads shown in the EU. This actor covers every ad the public Ad Library shows.

Q: Can I monitor competitors every week? Yes. Save the input as an Apify task and schedule it; Ad status (status) active with Order (sortBy) impressions gives the ads that matter first.

Q: Why do I need a residential proxy? You do not set one up. Meta rate-limits cloud and datacenter IPs to zero ads, so the actor uses Apify's residential prox

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx