Facebook Ads Library | No Login avatar

Facebook Ads Library | No Login

Pricing

from $5.00 / 1,000 ads

Go to Apify Store
Facebook Ads Library | No Login

Facebook Ads Library | No Login

Scrape public ads from the Meta Ad Library by keyword, country and ad type. Returns adArchiveId, pageName and adText. No login. Pay per ad.

Pricing

from $5.00 / 1,000 ads

Rating

0.0

(0)

Developer

Technical Dost Solutions

Technical Dost Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Share

Facebook Ads Library Scraper

Find and export public ads from Meta's Facebook Ad Library without logging in, buying an API key, or configuring a paid proxy. Search by keyword, advertiser, or Page name and receive structured creative, advertiser, delivery, platform, and transparency data.

Use this Actor for competitor ad research, creative inspiration, campaign monitoring, offer analysis, brand intelligence, and political-ad transparency research.

Input

FieldTypeRequiredDefaultDescription
querystringYesnike (prefill)Search term, advertiser, or Page name.
countrystringNoUSTwo-letter country code, such as US, GB, or DE.
adTypestringNoallall or political_and_issue_ads.
activeStatusstringNoallall, active, or inactive.
maxAdsintegerNo50Maximum unique ads to return, from 1 to 200.

Example input:

{
"query": "nike",
"country": "US",
"adType": "all",
"activeStatus": "all",
"maxAds": 50
}

Output

Each dataset item contains:

  • adArchiveId, pageName, and pageId — Meta Ad Library and advertiser identifiers
  • adText and title — the primary creative copy
  • ctaText, ctaType, linkUrl, and displayUrl — call-to-action and destination data
  • images — image URLs found in the creative
  • videos — video asset metadata exposed by Meta
  • startDate and endDate — ISO 8601 delivery dates
  • isActive and platforms — current status and publisher platforms
  • impressionsText and spendText — transparency ranges when Meta publishes them

Example output:

{
"adArchiveId": "123456789012345",
"pageName": "Example Brand",
"pageId": "123456789",
"adText": "Discover our latest collection.",
"title": "Shop new arrivals",
"ctaText": "Shop now",
"ctaType": "SHOP_NOW",
"linkUrl": "https://example.com/new",
"displayUrl": "example.com",
"images": ["https://scontent.example/image.jpg"],
"videos": [],
"startDate": "2026-07-01T07:00:00.000Z",
"endDate": "",
"isActive": true,
"platforms": ["FACEBOOK", "INSTAGRAM"],
"impressionsText": "",
"spendText": ""
}

Run locally

Use Node.js 20 or newer:

npm install
npm start

For local Apify storage, save the input as storage/key_value_stores/default/INPUT.json before starting the Actor. Results are written to storage/datasets/default/.

Data source and cost

The Actor reads Meta's free, public Ad Library web data with native fetch. It uses the legacy async search response when available and Meta's current anonymous Relay response when the endpoint variant changes. It does not require Facebook login credentials, paid APIs, or paid proxy services. Use of the data remains subject to Meta's applicable terms and policies.