LurkAPI

Ad library API: Meta, Google, TikTok and LinkedIn in one

Pull a competitor's Facebook, Instagram, Google, YouTube, TikTok and LinkedIn ads with one LurkAPI key, starting at $0.59 per 1,000 calls.

4 min read

A corkboard with four clusters of blank cards joined by one red string

Use LurkAPI as your Facebook Ads Library API and read Google’s, TikTok’s and LinkedIn’s ad libraries with the same key. Every call costs 1 credit, from $0.93 down to $0.59 per 1,000 calls, and brings back a full page of ads.

Per 1,000 ads, that works out to $0.093 on Meta, $0.0093 on Google, $0.077 on TikTok and $0.039 on LinkedIn. Pulling everything one competitor has live across all four platforms takes 9 calls, under 1 cent, and tracking ten competitors in a weekly Monday sheet runs $1.69 a month.

A page of Meta ads comes back in a median 756 ms, and new accounts start with 100 free credits.

What one call returns

LibraryWhat you getLurkAPI endpointsAds per callPer 1,000 ads
Meta (Facebook, Instagram)Every active or past ad for a page: copy, creative, CTA, landing URL and start datepage ID by name, a page’s ads, full ad detailsUp to 30 on page one, 10 after$0.093 to $0.059
Google (Search, YouTube, Maps, Play, Shopping)Every ad tied to a domain: format, first and last seen, total days active, with a YouTube filteradvertiser by name, a domain’s ads, full ad copy and landing pageUp to 100$0.0093 to $0.0059
TikTokSearch by advertiser or keyword for captions, video or image creatives, run dates and view countsads by advertiser or keyword, landing page, targeting and reach12$0.077 to $0.049
LinkedInSearch by company or keyword for format, headline, copy, payer and run datesads by company or keyword, full ad copy, payer and datesAround 24$0.039 to $0.025
Cost per 1,000 ads on the $39 Pro pack and the $295 Growth pack. Every endpoint is 1 credit per call.

GET/v1/facebook/adLibrary/company/ads

1 credit per request
Examples
pageId

The advertiser's Facebook page id, e.g. 15087023444 (Nike). Required unless you pass companyName.

status

Only ads that are running now (active), only stopped ads (inactive), or both (all).

More options (10)
companyName

Advertiser name, e.g. Nike. We use the top match from search companies. Ignored when pageId is set.

country

The country the ad ran in, as a 2-letter code (US, GB, DE…), or ALL for every country. One country per request.

media_type

Ad format. meme is Facebook's name for an image with text. none means text-only ads.

ad_type

Ad category. Political and issue ads also show spend and impression ranges.

language

Language of the ad text as an ISO 639-1 code, e.g. en or es.

sort_by

total_impressions puts the most-seen ads first. relevancy_monthly_grouped puts the newest first.

start_date

Only ads shown on or after this date (YYYY-MM-DD). The ad itself may have launched earlier.

end_date

Only ads shown on or before this date (YYYY-MM-DD).

cursor

The cursor from the previous response, to get the next page. Keep every other param the same.

trim

true leaves out image and video URLs, including those in snapshot.cards, for a much smaller response. All text stays.

5 free tries a day, no signup

Run it to see live data here.

All four libraries in one CSV

Pull all four libraries into a single sheet with one row per ad: platform, format, first seen, last seen, days running, landing page, copy and a direct link. Running that on Adobe pulled 186 rows from 42 calls in 47 seconds.

Sort by days_running and you spot the winners right away: five of Adobe’s Google Search ads have been live since 25 October 2021 (1,850 days), and its longest-running YouTube spot sits at 536 days. Filter to new_this_week instead and you see 73 fresh ads, 50 on Meta alone, with 45 of those pushing the same student offer.

For more on what to do with the sheet, read how long Facebook ads run and tracking a competitor’s posts.

Prices

JobCallsLurkAPI
One competitor across all four libraries, once9Under $0.01
One competitor's Monday sheet (186 ads)42$0.039
10 competitors, every Monday, for a month1,820$1.69
That same schedule for a year21,840$20.28
Priced on the $39 Pro pack at $0.93 per 1,000 calls, using 4.33 weeks per month.

Your credits never expire, so a single $39 Pro pack covers that weekly sheet for 23 months. On the $295 Growth pack, the rate drops to $0.59 per 1,000 calls, and failed calls never cost a credit.

Apify’s own Meta ads actor runs $5.00 per 1,000 ads on top of its $19 Starter plan, compared to $0.093 on LurkAPI, which is 54 times cheaper. For the 2,167 Meta ads in that monthly sheet, you pay $19 on Apify versus $0.12 here. See LurkAPI against Apify and what Apify scrapers cost.

Apify's pricing page: Free $0, Starter $19 a month, Scale $199, Business $999, each plus pay as you go
Apify's plans, November 2026.

On ScrapeCreators with the same paths, the smallest pack is $1.88 per 1,000 calls, putting the monthly workload above at $3.42 compared to $1.69 on LurkAPI. Moving over only takes swapping the base URL and key: LurkAPI against ScrapeCreators.

If you only need one library at a time, check out the Meta Ad Library API, Facebook Ad Library scrapers compared and the Google Ads Transparency API. You can also test searches free in your browser with our Facebook Ad Library search and Google Ads Transparency search.

Your 100 free signup credits are enough to pull one competitor across all four libraries (9 calls) and run two full Monday sheets. Grab an API key or check our credit packs.

Copy for AI

Questions

Is there an API for the Facebook Ad Library?

Yes. Call facebook/company-ads to pull an advertiser's Facebook and Instagram ads, up to 30 on page one and 10 on every page after that. It costs 1 credit a call, which puts 1,000 ads at $0.093 to $0.059.

Does Google have an Ads Transparency API?

Yes. LurkAPI's google/company-ads pulls up to 100 ads per call from Google's Ads Transparency Center using a domain or advertiser ID, at $0.0093 to $0.0059 per 1,000 ads.

Is there a TikTok ad library API?

Yes. Pass a keyword or advertiser name to tiktok/ad-library-search and you get 12 ads per call, working out to $0.077 to $0.049 per 1,000 ads.

How do I see a competitor's ads on every platform?

One LurkAPI key covers Meta, Google, YouTube, TikTok and LinkedIn in 9 calls, under 1 cent. Look up the brand in each library, then pull its ads.

Can I see a competitor's YouTube ads?

Yes. Call google/company-ads with platform=youtube and the brand's domain to get up to 100 YouTube ads per call.

How much does an ad library API cost?

Every call across all four libraries is 1 credit: $0.93 per 1,000 calls on the $39 Pro pack, down to $0.59 on the $295 Growth pack. You get 100 free credits when you sign up.

Keep reading