Free data sample
Services 01Trajectories 02Difference 03Method 04Cases 05Stack 06Team 07Engagement 08 Questions 09 Web Scraping →Automation →Dashboards →Web systems → Request a Free Data Sample

Atoms / Web Scraping / Media and apps data / Meta Ad Library scraper

Advertising data · active ads, copy, start dates and platforms

Meta Ad Library data for marketers and agencies: competitors' active ads and copy.

The Meta Ad Library lets anyone search ads running across Meta's apps by keyword or advertiser and country. Each result shows whether the ad is active, its Library ID, the date it started running, the platforms it runs on, the advertiser's page name, the ad copy and the creative, with links to ad details. Searches report how many results match and can be filtered by ad type, media type and status. Performance marketers use the data to see which angles competitors keep running, agencies to build creative research decks, and analysts to track how many ads a category runs and for how long. We can collect Meta Ad Library results for the keywords, advertisers and countries you choose and deliver them as files, feeds or a custom API.

  • Active ads by keyword, advertiser and country
  • Ad copy, page names and creatives
  • Start dates and run length
  • Platforms each ad runs on
  • New and stopped ads flagged between checks

Tell us which data you need. We'll confirm the scope and prepare a sample for your review. No prepayment.

Meta Ad Library dataat a glance
Dataads, copy, run dates, platforms
Scopekeywords, advertisers, countries
Coveragesearches you choose
Freshnessdaily or weekly
DeliveryCSV, Excel, JSON, Google Sheets
IntegrationsBI, research boards, API — scoped
Paymentafter you accept the result
Request → Confirm scope → Free sample1,000+ scrapers built
Who it's for

Who uses Meta Ad Library data, and what they get from it.

Ads that run for months usually work. These teams use the library to see what competitors keep paying for.

PerformanceWinning angles

Performance marketers

Competitors' long-running ads and the copy behind them.

AgenciesCreative research

Creative and media agencies

Ad examples by category for pitches and briefs.

E-commerceOffer tracking

E-commerce brands

Discounts and offers rivals promote in ads.

CILaunch signals

Competitive-intelligence analysts

New ads that hint at launches or new markets.

AnalystsCategory volume

Ad-research analysts

How many ads a category runs and for how long.

Brand safetyCopycat checks

Brand protection teams

Ads using their brand name by other advertisers.

Data you can get

What Meta Ad Library data you can get.

Available data may include what a visitor sees on public Meta Ad Library pages without logging in, for the keywords, advertisers and countries in the agreed scope. The final field list is confirmed for your project.

DataWhat it isExampleWhat it is used for

Library ID

Unique ad ID in the library

100000000000001

Ad records

Status

Active or inactive

Active

Lifecycle

Start date

Date the ad started running

2026-06-01

Run length

Advertiser

Page name

Example Running Co.

Competitor mapping

Ad copy

Ad body text

Light, fast, made for long runs…

Messaging

Creative

Image or video reference

Video · 1 creative

Format

Platforms

Apps where the ad runs

Facebook, Instagram

Placement

Country

Country of the search

US

Markets

Result count

Ads matching a search

~47,000

Category volume

Details link

Link to ad details

See ad details

Follow-up

Only data shown publicly in the Meta Ad Library without logging in, within the scope confirmed for your project. Each record keeps its search, country and check time.

Use cases

What you can do with Meta Ad Library data.

Six ways marketing teams use Meta Ad Library data. Each one reads the same ad records differently.

Find competitors' long-running ads

Problem

Teams want to know which ads rivals keep paying for.

Data

Active ads with start dates by advertiser.

Action

Ads can be ranked by days running.

Result

A list of proven angles.

Build creative research boards

Problem

Agencies need many examples for briefs.

Data

Ad copy and creatives by keyword.

Action

Ads can be grouped by theme and format.

Result

A research board per category.

Track offers and prices

Problem

Brands want to know which offers rivals push.

Data

Ad copy mentioning discounts or prices.

Action

Offers can be extracted and dated.

Result

An offer timeline.

Spot launches early

Problem

New ads can signal new products or markets.

Data

New Library IDs by advertiser and country.

Action

New ads can be flagged on each refresh.

Result

Launch alerts.

Measure category activity

Problem

Analysts want to know how busy a category is.

Data

Result counts and active ads by keyword.

Action

Counts can be stored over time.

Result

A category activity chart.

Watch for brand misuse

Problem

Other advertisers may use a brand's name.

Data

Ads matching brand keywords from other pages.

Action

Matches can be listed for review.

Result

A brand misuse report.

Request a Free Data Sample

Tell us which data you need — long-running ads, research boards, offer timelines or launch alerts — and we'll confirm the scope and prepare a sample.

Illustrative Data Sample

What a Meta Ad Library export can look like.

A spreadsheet with one row per ad per check. Columns are set to your task.

Library IDAdvertiserStatusStartedDays runningPlatformsFormatCopy (start)

100000000000001

Example Running Co.

Active

2026-06-01

146

Facebook, Instagram

Video

Light, fast, made for long runs…

100000000000002

Example Sport

Active

2026-09-14

41

Instagram

Image

Autumn sale: 30% off trail shoes…

100000000000003

Example Running Co.

Active

2026-10-20

5

Facebook, Instagram, Messenger

Carousel

New colours just dropped…

100000000000004

Example Outlet

Active

2026-08-02

84

Facebook

Image

Free shipping on all running gear…

100000000000005

Example Fit

Inactive

2026-05-10

—

Instagram

Video

Train for your first marathon…

Illustrative Data Sample. Example of a possible data export. Actual fields depend on the agreed scope, source availability and permitted access. Advertisers, IDs and copy are made up.

How you receive the data

You receive Meta Ad Library data in a format your team already uses.

We can deliver the data as CSV, Excel or JSON files or a Google Sheet, and scope feeds into research boards, BI dashboards, databases or a custom API based on your workflow.

StandardFiles

CSV, Excel or JSON

Files per search on each refresh.

StandardSpreadsheet

Google Sheets

Shared ad trackers, refreshed on schedule.

ScopedPer project

Research boards

Ads with creative links for research tools — agreed during scoping.

ScopedPer project

BI, database or API

Tables for Power BI, Tableau or Looker, a warehouse, webhooks or a REST API — agreed during scoping.

Why Atoms

Why Atoms for Meta Ad Library data.

  • Ads keyed by Library ID, so run length is tracked correctly.
  • New and stopped ads flagged between refreshes.
  • Copy stored in full for text analysis.
  • Advertisers matched with Google Ads Transparency records, subject to availability and project requirements.
How we start

Start with a free data sample.

No prepayment: you review the sample first and pay for the agreed work only after accepting the result.

1Request

Tell us what you need

The Meta Ad Library data, the area and the fields you need, and how often. Two lines are enough.

You getA confirmed scope

2Review

Free data sample

We confirm the scope and prepare a sample of the agreed size for your review.

You getData you can check

3Run

Regular delivery

If the sample fits, we agree the schedule and price. You pay for the agreed work after accepting the result.

You getData on your schedule

Request a Free Data Sample

Tell us which data you need. We'll confirm the scope and prepare a sample for your review.

FAQ

Meta Ad Library data: questions business owners ask.

Short answers for business owners and teams.

What data can you collect from the Meta Ad Library?
Library IDs, status, start dates, platforms, page names, ad copy, creative references and result counts for your searches.
Can you track specific competitors?
Yes. Searches can be set up by advertiser as well as by keyword.
Which countries can you cover?
The countries you choose; each is searched separately.
Can you tell how long an ad has run?
Yes. Run length is calculated from the start date and the last time the ad was seen active.
How much does it cost?
It depends on the searches, countries, fields and how often you need updates. After your request we confirm the scope and prepare a free sample of agreed size; you pay for the agreed work only after accepting the result.
Can you deliver Meta Ad Library data through an API?
Yes. We can build a custom API that returns ad records for your scope as JSON. It is a data delivery built for your project, not a Meta service.
Can you combine Meta and Google ads?
Yes. Advertisers can be matched with Google Ads Transparency records.
For technical teamsTechnical details

Meta Ad Library scraper: technical details.

For developers, CTOs and data teams: the Meta Ad Library data schema, collection challenges, custom Meta Ad Library data API delivery, output formats and technical FAQ.

Data schema

Meta Ad Library data fields.

Records are keyed by Library ID and check time, delivered in a stable schema adapted to your system.

Field groupTypical fieldsNotes

Search

search_id, query, advertiser, country, status_filter, media_type, result_count, checked_at

Per refresh

Ad

library_id, page_name, start_date, first_seen_at, last_seen_active_at

Ad records

Status

library_id, checked_at, status

Lifecycle

Copy

library_id, body_text

Messaging

Creative

library_id, format, creative_count, media_refs[]

Format

Platforms

library_id, platform

Placement

Hit

search_id, library_id, position

Search results

Event

library_id, event (new/stopped), detected_at

Change log

Matching

page_name, external_source, external_id, match_method

Cross-source matching

Scraping specifics

What makes Meta Ad Library data hard to collect well.

The Meta Ad Library is a script-heavy search tool with large result sets. These are the main challenges and how a custom Meta Ad Library data service can address them.

01

Access and load

Meta limits automated traffic. Collection is paced and scheduled, monitored for gaps and re-run where needed. We do not publish technical methods for working around site protections.

02

Large result sets

Broad keywords return tens of thousands of ads. Searches are narrowed by advertiser, country and filters to stay complete.

03

Infinite scroll

Results load as the page scrolls. Results are loaded until the agreed depth is reached.

04

Long copy

Ad copy can run for many paragraphs. Full text is stored as shown.

05

Icon-only platforms

Platforms are shown as icons. Icons are mapped to platform names.

06

Duplicate creatives

Advertisers run many versions of one ad. Versions are kept by Library ID and can be grouped by copy.

07

Run length

Pages show start dates, not end dates. End is estimated from the last time an ad was seen active.

Data delivery via API

Meta Ad Library Data API — custom data delivery.

Atoms can build a custom API to deliver data collected from the Meta Ad Library, based on your required fields, searches, refresh schedule and integration needs — ad records as structured JSON. It is a data delivery service built for your project, not a Meta API.

API01

How you receive the data

Your systems call a REST API set up for your project and receive JSON; scheduled files can run alongside it.

API02

Fields you choose

Library IDs, status, start dates, platforms, page names, copy and creative references.

API03

Filters and pagination

Filter by advertiser, keyword, country, status, format or run length; results are paginated.

API04

Updates and webhooks

Refreshes can run daily, with webhooks when a watched advertiser launches a new ad.

API05

App and BI integration

Feeds can power research boards, dashboards or alert bots.

API06

Custom endpoints and access

Endpoints such as longest-running ads, new ads or offer timeline can be designed for your workflow, with API keys.

Request — example endpoints

GET /api/ads?advertiser=example-running-co&country=us&status=active
GET /api/ads?keyword=running+shoes&min_days_running=60&page=1
GET /api/ads/new?advertisers=watchlist&since=2026-10-20
GET /api/searches/running-shoes-us/volume?days=90

Webhook (sent to your URL)
POST https://your-app.example/hooks/meta-ads
{"event": "new_ad", "advertiser": "Example Sport", "library_id": "100000000000006"}

Response — JSON

{
  "page": 1,
  "per_page": 50,
  "total": 128,
  "results": [
    {
      "library_id": "100000000000001",
      "advertiser": "Example Running Co.",
      "status": "active",
      "start_date": "2026-06-01",
      "days_running": 146,
      "platforms": ["facebook", "instagram"],
      "format": "video"
    }
  ]
}

Illustrative API example. Endpoint structure and available fields are defined for each project.

Approach and tools

How a Meta Ad Library scraper is built.

A typical stack, and where the effort actually goes.

Ad-library scrapers are commonly written in Python or Node with a browser tool such as Playwright, since results render and load as you scroll; parsers read cards, Postgres stores ads and events and a scheduler runs per search.

The code is the smaller part. The ongoing work is keeping collection stable, narrowing large searches, mapping platforms and tracking run length. That is the work a managed service can take off your team, on agreed terms.

Whatever the stack, an ad-library pipeline should be judged by completeness for your searches, clean Library IDs, correct run lengths and how quickly it recovers when pages change.

Integrations and output

Meta Ad Library data output and integrations.

Standard outputs are CSV, Excel, JSON and Google Sheets. Research-board, BI, database, warehouse, webhook and API integrations are scoped per project.

JSON — one record (illustrative)

{
  "advertiser": "Example Running Co.",
  "country": "us",
  "active_ads": 37,
  "new_last_7d": 4,
  "longest_running_days": 146,
  "formats": {"video": 21, "image": 12, "carousel": 4}
}

CSV — change events (illustrative)

checked,library_id,advertiser,status,start_date,platforms,format
2026-10-25,100000000000001,Example Running Co.,active,2026-06-01,facebook|instagram,video
2026-10-25,100000000000002,Example Sport,active,2026-09-14,instagram,image
2026-10-25,100000000000003,Example Running Co.,active,2026-10-20,facebook|instagram|messenger,carousel

Field names, IDs, values and endpoints are illustrative. Standard options: CSV, Excel, JSON, Google Sheets. Scoped per project: Parquet files, Postgres, BigQuery or Snowflake tables, webhooks, a REST API, research-board exports and BI integrations.

Build, buy or managed

Build a Meta Ad Library scraper, license ad intelligence or use a managed service.

Each option fits different teams. A managed service makes sense when you need your own searches, fields and integrations, regular updates and no in-house maintenance.

Build in-houseOff-the-shelf toolAtoms managed service

Best for

Teams with developers who want full control

Broad ad-intelligence suites

Ads for chosen advertisers and keywords

Coverage

You define it

Broad packages

Searches and countries you choose

Run length

You track it

Included

Tracked by Library ID

Cost

Engineering time

Licence fees

Agreed project price

When pages change

Your team updates the code

Not your problem

Maintenance on agreed service terms

Delivery

Whatever you build

Platform dashboards

CSV, Excel, JSON, Sheets, boards, custom API

Technical FAQ

Meta Ad Library scraping: technical questions.

Questions developers ask before a project starts.

Is this the official Meta Ad Library API?
No. Atoms is not Meta. We collect the Meta Ad Library data you need and can deliver it through a custom Meta Ad Library data API — REST endpoints returning JSON, with your fields and filters.
What does a Meta Ad Library scraper API return?
JSON ad records with Library ID, status, start date, platforms, page name, copy and creative references, with search and check time.
Can you scrape the Meta Ad Library with Python?
Yes, usually with a browser tool, since results load as you scroll. The harder parts are large searches and run-length tracking.
Why does my Meta Ad Library scraper get blocked?
Meta limits automated traffic. We don't publish methods for working around site protections.
How is run length calculated?
From the start date to the last time the ad was seen active.
Do you store creatives?
Creative references are stored; downloading media is agreed during scoping.
Can you export to CSV, JSON or Google Sheets?
Yes. CSV, Excel, JSON and Google Sheets are standard. Research-board exports, database tables, webhooks and a REST API can be scoped per project.
How do you handle very broad keywords?
By narrowing with advertiser, country and filters so each search stays complete.
Why teams work with Atoms

An engineering team built for difficult sources.

Atoms has 1,000+ scrapers built. Projects are scoped to your task and delivered as structured data — as a one-off export or as a managed monthly service on agreed terms. NDA on request.

For advertising-data projects we combine data engineering with performance-marketing know-how: ads keyed by Library ID, run length tracked, platforms mapped and new ads flagged — delivered as trackers marketers and agencies can use.

Start here

Need Meta Ad Library data?

Tell us which data you need. We'll confirm the scope and prepare a sample for your review. Name the keywords, advertisers and countries you need — long-running ads, research boards, offer timelines or launch alerts. You pay for the agreed work only after accepting the result.

Direct

Or see all data extraction services and scraper pages.