Meta Ad Library: scrapers and the official API, compared

Public ads about social issues, elections and politics, plus advertiser pages in the Meta Ad Library.

Short answer

For most Meta Ad Library jobs, start with Facebook Political & Commercial Ad Transparency Extractor: it covers 3 of 5 core fields (creative url, started at, platforms) at $0.99 per 1,000 results on Apify's Free plan. The top published score for Meta Ad Library goes to Facebook Ad Library Scraper by scrapesage (83 of 100), a Store tool from another publisher, listed for reference.

From published Store listings, output schemas and the official documentation. Checked 2026-11-12. How the ranking works.

Facebook Political & Commercial Ad Transparency Extractor: inputs, code and costOpen in Apify Store

2 catalogue Actors 8 other Store tools Official API: Limited access Lowest rate  $0.75 per 1K

What do you need from Meta Ad Library?

Route map

Each line is one way to get Meta Ad Library data; each stop is a field you probably need. Green lines are catalogue Actors, ranked by the published formula.

Route diagram for Meta Ad Library dataFacebook Political & Commercial Ad Transparency Extractor: stops at 6 of the 10 fields shown; Facebook Ad Library Byline & Advertiser Ad Finder: stops at 6 of the 10 fields shown; Other Store tools (6): stops at 5 of the 10 fields shown; Meta Ad Library API: limited, field coverage not compared.Meta Ad Libraryadvertiserad copycreative urlstarted atplatformsimagesvideosage country ge…audience age g…audience locat…12+API

Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.

Catalogue Actors for Meta Ad Library

Facebook Political & Commercial Ad Transparency Extractor

Search the Facebook Ad Library by keyword, advertiser Page ID, Ad ID, or funding-entity name, and get ad text, media, run dates, platforms, and…

3/5 core fields 55 output fields $0.99 per 1K Open in Apify Store

Facebook Ad Library Byline & Advertiser Ad Finder

Pull Facebook Ad Library ads by advertiser Page ID, keyword, Ad ID, or "Paid for by" byline, with ad text, media, run dates, creative-reuse…

3/5 core fields 55 output fields $0.99 per 1K Open in Apify Store

Which route for which job

The catalogue Actors for Meta Ad Library return different records. "Only this route" lists the published fields no other Actor in this table returns, which is usually what decides the choice. Cost is the published per-result rate; start events and platform usage are extra.

Catalogue Actors for Meta Ad Library by job, with the fields only each one returns
Actor Good for Only this route Core fields 10K results
Facebook Political & Commercial Ad Transparency Extractor Research ad creatives no unique fields 3/5 $9.90
Facebook Ad Library Byline & Advertiser Ad Finder Ad monitoring no unique fields 3/5 $9.90

Field matrix: who returns what

Every tool with a published output schema, against the 5 fields most Meta Ad Library jobs need. A dot means the field name appears in the schema; rows can still leave it empty.

Which tools return each core Meta Ad Library field, from published output schemas
Tooladvertiserad copycreative urlstarted atplatformsFields
Facebook Political & Commercial Ad Transparency Extractor––●●●3/5
Facebook Ad Library Byline & Advertiser Ad Finder––●●●3/5
Facebook Ad Library ScraperReference only, by scrapesage––●●●3/5
Facebook Ad Library ScraperReference only, by corner_cutter––●––1/5
Facebook & Instagram Ad Library Scraper (Meta)Reference only, by thodor–––●●2/5
Meta (Facebook) Ad Library ScraperReference only, by whoareyouanas––●●●3/5
Facebook Ad Library Scraper [No Login] Ads & CreativesReference only, by viralanalyzer–––●●2/5
Facebook Ads Library ScraperReference only, by jy-labs–––●●2/5
Tools returning it00577

Field dictionary: the exact keys

The same core field has a different key in each Actor's output. Map these before you merge datasets; a dash means the published schema has no matching key. Need a field that is not listed here, such as email? Search every Meta Ad Library Actor by field.

Output keys for each core Meta Ad Library field in the top catalogue Actors
Core field Facebook Political & Commercia…Facebook Ad Library Byline…
advertiser ––
ad copy ––
creative url page_urlpage_url
started at start_datestart_date
platforms publisher_platformpublisher_platform

Download this comparison: CSV · JSON (every tool with a published schema, matching keys per core field, price and score).

All 10 tools, scored

Catalogue Actors link to their detail pages; the score (0 to 100) is the published formula, identical for every tool. Other Store tools follow in their own table, for reference. Price is the published primary-result rate per 1,000 (the Free-plan rate where the price is tiered; higher Apify plans pay less); start events and platform usage are excluded.

Catalogue Actors for Meta Ad Library, ranked by the published method
Sample fields
80 page_url, start_date, publisher_platform 55 $0.99 100% of 27 runs Oct 2026
74
Facebook Ad Library Byline & Advertiser Ad Finder Catalogue Actor, pay per event
page_url, start_date, publisher_platform 55 $0.99 11 runs, too few to rate Nov 2026

Other Store tools, for reference

Scored with the same published formula and listed for comparison only; this site does not link or recommend them.

Other Store tools for Meta Ad Library, for reference
Sample fields
83
Facebook Ad Library Scraper Reference only, by scrapesage
startDate, publisherPlatforms, adArchiveId 56 $0.75 100% of 69,694 runs Nov 2026
75
Facebook Ad Library Scraper Reference only, by curious_coder
No published schema – $0.75 100% of 2,247,481 runs Oct 2026
73
Facebook Ad Library Scraper · Meta Ads · Reach Reference only, by memo23
No published schema – $0.50 96% of 20,213 runs Nov 2026
69
Facebook Ad Library Scraper Reference only, by corner_cutter
url, result, success 6 $1.25 100% of 98 runs Jan 2026
68
Facebook & Instagram Ad Library Scraper (Meta) Reference only, by thodor
start_date, publisher_platform, page_profile_picture_url 12 $4.99 100% of 172 runs Aug 2026
65
Meta (Facebook) Ad Library Scraper Reference only, by whoareyouanas
linkTitle, startDate, platforms 19 $10 94% of 6,533 runs Nov 2026
58
Facebook Ad Library Scraper [No Login] Ads & Creatives Reference only, by viralanalyzer
startDate, platforms, id 20 $10 98% of 3,716 runs Oct 2026
58
Facebook Ads Library Scraper Reference only, by jy-labs
startDate, platforms, adStatus 18 $10 95% of 517 runs Oct 2026

What to check before you choose

Research and monitoring teams use Meta Ad Library data to follow advertiser activity, compare messages and inspect creative references. A useful collection keeps the advertiser, ad text and source snapshot connected.

Choose an advertiser-focused search when you are following known pages, or a topic search when you are tracking a public issue. For official access, check that the permitted ad categories and research requirements fit the project.

Checklist

  • Confirm category coverage for the chosen route. The published data describes official API access for social issues, elections and politics.
  • Distinguish source references from creative files. The published schemas list ad_snapshot_url and link_url, but do not list creative_url.
  • Check the definitions and availability of spend and impressions before using them as quantitative measures; the published descriptions do not explain their units or precision.

Where the data is incomplete

The published tool field descriptions do not explain how ad_text differs from resolved_ad_text, or how template_tokens are handled. Confirm which text represents the message you intend to compare.

Official API route

Meta Ad Library API

The Ad Library API is limited to ads about social issues, elections and politics. Researchers must complete identity and access checks.

Price. No API fee is published; access is gated.

Limits. Identity verification and permitted-use requirements apply.

Official documentation

Check Meta's permitted-use requirements and Ad Library use restrictions before collecting or reusing the data. This is general information, not legal advice.

Read Meta Ad Library's terms. Keep to public data, do not bypass logins or access controls, and check whether personal data is involved before you collect it. The can-I-scrape checklist walks through it.

How to start

  1. Open the recommended Meta Ad Library tool and check its documented inputs for an advertiser or narrowly defined topic.
  2. Submit a small collection within the supported ad category and search scope.
  3. Inspect advertiser identity, ad text, platform information and snapshot references before exporting the dataset or expanding monitoring.

Call Facebook Political & Commercial Ad Transparency Extractor from code

The example input uses the Actor's published defaults; set your own Meta Ad Library query before you run it. You need an Apify API token.

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "mode": "search",
    "searchTerms": [
        "coffee"
    ],
    "country": "ALL",
    "adActiveStatus": "active",
    "adType": "all",
    "mediaType": "all",
    "searchType": "keyword_unordered",
    "sortBy": "relevance",
    "resultsPerSearch": 3,
    "maxItems": 3,
    "includeEuDetails": False,
    "rehostMedia": False,
    "onlyTotal": False
}

run = client.actor("vexaloom-labs/facebook-political-and-commercial-ad-transparency").call(run_input=run_input)
if run is None:
    raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

pip install apify-client

JavaScript

import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
    "mode": "search",
    "searchTerms": [
        "coffee"
    ],
    "country": "ALL",
    "adActiveStatus": "active",
    "adType": "all",
    "mediaType": "all",
    "searchType": "keyword_unordered",
    "sortBy": "relevance",
    "resultsPerSearch": 3,
    "maxItems": 3,
    "includeEuDetails": false,
    "rehostMedia": false,
    "onlyTotal": false
};

const run = await client.actor("vexaloom-labs/facebook-political-and-commercial-ad-transparency").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

npm install apify-client

cURL

curl -X POST "https://api.apify.com/v2/actors/vexaloom-labs~facebook-political-and-commercial-ad-transparency/run-sync-get-dataset-items"   -H "Authorization: Bearer $APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"mode":"search","searchTerms":["coffee"],"country":"ALL","adActiveStatus":"active","adType":"all","mediaType":"all","searchType":"keyword_unordered","sortBy":"relevance","resultsPerSearch":3,"maxItems":3,"includeEuDetails":false,"rehostMedia":false,"onlyTotal":false}'

Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).

MCP (AI agents)

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=vexaloom-labs/facebook-political-and-commercial-ad-transparency",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.

Questions people ask

Does an ad snapshot link provide a downloadable creative?

The published schemas list ad_snapshot_url. Confirm the output before planning a creative archive.

Can I compare spend across all returned ads?

spend is listed. Resolve those details and missing values before making comparisons.

How can I keep advertiser records consistent?

The published schemas include page_id alongside page_name and page_url. Retain those fields together and inspect their consistency before joining collections.

Does the official API cover every ad category?

The published data limits the official API route to ads about social issues, elections and politics. It also requires identity and access checks, so confirm eligibility before building around it.

What is the cheapest catalogue Actor for Meta Ad Library data?

Facebook Political & Commercial Ad Transparency Extractor lists $0.99 per 1,000 results (pay per event), with 55 fields in its published output schema. Start events and platform usage are billed separately. Checked 2026-11-12.

Which Meta Ad Library scraper returns the most core fields?

Facebook Political & Commercial Ad Transparency Extractor covers 3 of the 5 core Meta Ad Library fields this page tracks (advertiser, ad copy, creative url, started at, platforms), based on its published output schema.

Does Meta Ad Library have an official API?

Limited access: The Ad Library API is limited to ads about social issues, elections and politics. Researchers must complete identity and access checks. No API fee is published; access is gated.

Is it legal to scrape Meta Ad Library?

It depends on what you collect and how. Check Meta's permitted-use requirements and Ad Library use restrictions before collecting or reusing the data. Read Meta Ad Library's terms (https://www.facebook.com/policies_center/) before you collect, and check whether personal data is involved. This is general information, not legal advice.

More on Meta Ad Library

Sources

Text updated 2026-11-12 Data checked 2026-11-12
Cite this page

Scraper Finder. "How to get Meta Ad Library data." https://scraperfinder.com/sites/meta-ad-library/ (data checked 2026-11-12).

Highest-scoring catalogue Actor

Facebook Political & Commercial Ad Transparency Extractor: 3 of 5 core fields, $0.99 per 1,000 results, score 80. The highest score overall is 83 (Facebook Ad Library Scraper, a Store tool from another publisher); both are in the table above.

Open in Apify Store