Facebook Ad Library / Page (Fetchproof) avatar

Facebook Ad Library / Page (Fetchproof)

Pricing

$12.00 / 1,000 fetchproof calls

Go to Apify Store
Facebook Ad Library / Page (Fetchproof)

Facebook Ad Library / Page (Fetchproof)

Search the Meta Ad Library or read a public Facebook page. $12 per 1,000 charged results.

Pricing

$12.00 / 1,000 fetchproof calls

Rating

0.0

(0)

Developer

Hayden Barnett

Hayden Barnett

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

Two modes, one Actor, through the Fetchproof API. You do not need a Fetchproof account or API key.

  • ad_library (default): search companies, list a page's ads, or fetch one ad by Library id or ads/library URL
  • page: read a public Facebook page profile, optionally with posts (maxPages default 1, hard cap 10)

An empty company search is not billed. An ad no longer in the library is a 404 and is not billed.

Input

FieldRequiredDescription
modenoad_library (default) or page
companyNamead_library, unless pageId / adId / adUrl is setAd Library search query
pageIdnoAd Library page id; skips the company search when set
countrynoTwo-letter country code (e.g. US) or ALL
statusnoAd status. Defaults to ACTIVE
adId / adUrlnoFetch a single ad by id or https://www.facebook.com/ads/library/?id=…
pageUrlpage modePublic Facebook page URL
includePostsnoPage mode only. Also fetch GET /v1/facebook/profile/posts
maxPagesnoPage mode with includePosts. 3 posts per page. Default 1, hard cap 10
{ "mode": "ad_library", "companyName": "Nike" }

Output

Each run writes one dataset item. kind is facebook_ad_library, facebook_ad, or facebook_page.

{
"platform": "facebook",
"kind": "facebook_ad_library",
"companies": { "success": true, "credits_charged": 1, "searchResults": [{ "pageId": "123" }] },
"pageId": "123",
"ads": { "success": true, "credits_charged": 1, "results": [{ "id": "ad1" }] },
"credits_charged": 2,
"apify_events_charged": 2,
"calls": [
{ "path": "/v1/facebook/adLibrary/search/companies", "status": 200, "credits_charged": 1, "success": true },
{ "path": "/v1/facebook/adLibrary/company/ads", "status": 200, "credits_charged": 1, "success": true }
]
}

Pricing

$0.012 per successful call ($12 per 1,000). A successful call is a Fetchproof request that actually charged credits.

Errors, blocked or timed-out requests, invalid requests and cache hits cost nothing. A not-found or empty result is charged only where that operation's published cost says so. Those cases are not billed on Apify. Set a max total charge on the run to cap spend.