LinkedIn Ads Library Scraper — Ad Copy & Creatives
Pricing
from $4.00 / 1,000 linkedin ad records
LinkedIn Ads Library Scraper — Ad Copy & Creatives
Search the LinkedIn Ads Library by keyword, advertiser or ad URL. Export ad copy, headlines, formats, payer labels and media links. USD 5 per 1,000 ads.
Pricing
from $4.00 / 1,000 linkedin ad records
Rating
0.0
(0)
Developer
Muhammad Afzal
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Features
Share
LinkedIn Ads Library Scraper searches LinkedIn's public Ad Library by keyword, advertiser name, or ad URL and returns each ad's copy, headline, format, advertiser, payer label, and image or video links as clean JSON. It is built for B2B marketers, agencies, and competitive-intelligence teams, and it costs USD 5.00 per 1,000 ads on the Apify Free tier plus a USD 0.01 start fee.
No LinkedIn account, cookies, browser, or proxy setup is needed. The Actor handles data access, deduplicates ads by Library ID, and only charges for ads it saves.
What data does the LinkedIn Ads Library Scraper return?
It returns one dataset row per unique public ad, with the same 11 fields on every row. Optional fields are null when LinkedIn does not show them.
| Field | What it contains |
|---|---|
adId | LinkedIn Ad Library ID, for example 1611688034 |
adUrl | Public ad detail page, https://www.linkedin.com/ad-library/detail/<adId> |
advertiserName | Company or person shown as the advertiser |
advertiserUrl | LinkedIn company page link, or null (for example on ads run from a personal profile) |
adType | Ad format, such as Single Image Ad, Video Ad, or LinkedIn Article Ad |
text | Ad copy (the post text above the creative) |
headline | Creative headline, when the format has one |
imageUrl | Image or video poster link |
videoUrl | Video stream link for video ads |
paidForBy | Payer or "Promoted by" label shown with the ad, when present |
searchUrl | The LinkedIn Ad Library search that found the ad; null for direct URL lookups |
The Actor does not return spend, impressions, targeting, click data, or run dates.
When should I use it, and when not?
Use it when you need LinkedIn ads in a spreadsheet or pipeline instead of scrolling the Ad Library by hand:
- Track the ad copy and creative formats a competitor is running right now.
- Collect B2B messaging examples for a topic, such as
marketing automationorcybersecurity. - Refresh a swipe file or a competitor-monitoring dashboard on a schedule.
- Look up a known list of ad URLs and get structured fields back.
Do not use it for:
- Spend, reach, or performance data. LinkedIn's public library does not provide it, and the Actor does not estimate it.
- Country or date filtering. The input has no country or date filter; filter the exported dataset instead.
- Organic company posts. Use LinkedIn Company Posts Scraper.
- TikTok or Meta ads. Use TikTok Ads Library Scraper or Facebook Ads Library Scraper.
How do I search the LinkedIn Ads Library by keyword or advertiser?
Enter a keyword, an advertiser name, or both, and set maxResults (1–100, default 10). The keyword searches ad text. The advertiser field is a name search, so it can also match similarly named companies; it is not an exact company-ID filter.
| Input | Use |
|---|---|
keyword | Words in the ad copy, for example marketing automation (prefilled in the Console; API calls without it search only by advertiser) |
advertiser | Advertiser name, for example Microsoft |
adUrls | Up to 100 direct https://www.linkedin.com/ad-library/detail/<ID> URLs; when set, search fields are ignored |
maxResults | Unique ads to save, 1–100, default 10 |
includeDetails | Kept for compatibility; true and false return the same fields |
Keyword search:
{ "keyword": "marketing automation", "maxResults": 10 }
Advertiser search:
{ "advertiser": "Microsoft", "maxResults": 25 }
Direct ad lookups:
{ "adUrls": ["https://www.linkedin.com/ad-library/detail/1611688034"], "maxResults": 1 }
A search run reads at most five result pages. A run with the default input finished in about 10 seconds on 2026-10-26 and returned 10 ads. Invalid input, such as a non-LinkedIn URL or an empty search, is rejected before any data is requested.
Use it from an AI assistant
LinkedIn Ads Library Scraper works from Claude, ChatGPT, Cursor, or any MCP client through Apify's MCP server. Add this single-tool URL to your client: https://mcp.apify.com/?tools=muhammadafzal/linkedin-ads-library-scraper. Then ask in plain language, for example: "Pull the 20 most recent LinkedIn ads that mention 'revenue operations' and summarize the hooks and formats they use."
How do I call it from the API?
JavaScript (apify-client):
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('muhammadafzal/linkedin-ads-library-scraper').call({keyword: 'marketing automation',maxResults: 25,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items.map((ad) => [ad.advertiserName, ad.adType, ad.adUrl]));
Python (apify-client 3.x):
import osfrom apify_client import ApifyClientclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("muhammadafzal/linkedin-ads-library-scraper").call(run_input={"advertiser": "Microsoft", "maxResults": 25})for ad in client.dataset(run.default_dataset_id).iterate_items():print(ad["advertiserName"], ad["adType"], ad["adUrl"])
What does the output look like?
Two rows from a keyword search (text shortened):
[{"adId": "1611688034","adUrl": "https://www.linkedin.com/ad-library/detail/1611688034","advertiserName": "Mayfield","advertiserUrl": "https://www.linkedin.com/company/26438","adType": "LinkedIn Article Ad","text": "AI can design new molecules, but a design only becomes useful when scientists can make it, test it...","headline": null,"imageUrl": "https://media.licdn.com/dms/image/v2/...","videoUrl": null,"paidForBy": "Promoted by Mayfield","searchUrl": "https://www.linkedin.com/ad-library/search?keyword=marketing+automation"},{"adId": "1569053494","adUrl": "https://www.linkedin.com/ad-library/detail/1569053494","advertiserName": "Microsoft","advertiserUrl": "https://www.linkedin.com/company/1035","adType": "Single Image Ad","text": "The hardest part of a good idea? Starting it.","headline": "From Idea to First Commit","imageUrl": null,"videoUrl": null,"paidForBy": null,"searchUrl": "https://www.linkedin.com/ad-library/search?accountOwner=Microsoft"}]
The default key-value store also holds a SUMMARY record with the outcome (data, empty, rejected, partial, or failed), delivered count, stop reason, warnings, and charged event counts.
Pricing: how much does LinkedIn ad data cost?
You pay per ad saved plus a small start fee. Platform usage is included in these prices.
| Event | FREE | BRONZE | SILVER | GOLD, PLATINUM, DIAMOND |
|---|---|---|---|---|
| LinkedIn ad record (per ad saved) | USD 0.005 | USD 0.0047 | USD 0.0045 | USD 0.004 |
| Actor start (per started GB of allocated memory) | USD 0.01 | USD 0.01 | USD 0.01 | USD 0.01 |
Worked totals on the FREE tier with the default 256 MB memory (one start event):
- 10 ads: 10 × USD 0.005 + USD 0.01 = USD 0.06
- 100 ads: 100 × USD 0.005 + USD 0.01 = USD 0.51 (USD 0.41 on GOLD)
An empty search or rejected input costs only the start fee. The Actor checks your run's charge limit before each save and stops cleanly when it is reached.
How reliable is it, and what are the limits?
- Maximum 100 ads per run and five search pages per search run.
- Results reflect what LinkedIn's public Ad Library shows at run time, which changes as ads start and stop. There is no completeness guarantee for every ad an advertiser has ever run.
- Image and video links can expire; download the media you need soon after the run.
- If data access fails, the run reports
failedinSUMMARYinstead of returning an empty success.
FAQ
Is there an ads library for LinkedIn?
Yes. LinkedIn's Ad Library at linkedin.com/ad-library is public and needs no login. This Actor searches it and exports the results as JSON, CSV, or Excel.
How can I find a competitor's ads on LinkedIn?
Put the company name in advertiser and run the Actor. Because it is a name search, check advertiserName and advertiserUrl to drop similarly named companies.
Can I get LinkedIn Ads Library data through an API?
Yes. Call the Actor through the Apify API with the JavaScript or Python client shown above, or from an AI assistant through the MCP URL. Each run returns structured JSON.
Does it show ad spend, impressions, or targeting?
No. The public library does not expose spend, and the Actor does not return impressions, targeting, or run dates.
Why is advertiserUrl empty on some ads?
Some ads run from a person's profile rather than a company page. In that case LinkedIn shows a person as the advertiser and no company link.
Can I monitor new ads automatically?
Yes. Save your input as an Apify Task and attach a Schedule. Each run deduplicates ads by adId within the run; compare adId values across runs to spot new ads.
Related Actors
- TikTok Ads Library Scraper: TikTok ads with reach ranges, first and last shown dates, and landing pages.
- Facebook Ads Library Scraper: ads from the Meta Ad Library for Facebook and Instagram.
- LinkedIn Company Posts Scraper: organic posts from LinkedIn company pages.
Legal and responsible use
This Actor collects only ads that LinkedIn publishes in its public Ad Library. It is not affiliated with or endorsed by LinkedIn. Some advertisers are individual people, so treat names as personal data: collect only what you need, follow LinkedIn's terms and applicable privacy laws, and do not use the output for spam or harassment.
Last verified: 2026-10-27