LinkedIn Ad Library Keyword & Advertiser Scraper

Search the public LinkedIn Ad Library by keyword, advertiser, country, or date range, and get headline, body copy, advertiser info, media URLs, and call-to-action for the ads each search returns.

Open in Apify Store$0.99 / 1K on Free

Short answer

LinkedIn Ad Library Keyword & Advertiser Scraper is an Apify Store Actor for LinkedIn Ad Library data that returns 19 published output fields, including advertiser_name, start_date, country, ad_format. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 23 input settings, none required. It covers 3 of the 5 core LinkedIn Ad Library fields this site tracks. Last updated Oct 27, 2026.

From the public Store listing and published build schema, synced 2026-11-12.
LinkedIn Ad Library Social mediaLead generationAutomation

What it returns

19 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.

  • advertiser_name
  • ad_format
  • headline
  • body_text
  • cta_text
  • start_date
  • end_date
  • total_impressions
  • country
  • ad_url
  • body_text_full
  • image_urls
  • video_urls
  • video_poster_url
  • landing_url
  • impressions_by_country
  • targeting_language
  • targeting_location_included
  • targeting_parameters

Not in the schema among the core LinkedIn Ad Library fields: ad_copy, creative_url. The field matrix shows which other tools return them.

Input

Input settings for LinkedIn Ad Library Keyword & Advertiser Scraper
SettingTypeRequiredDefaultWhat it does
mode string No search What to collect: search the library, open specific ads, process pasted URLs, or count matches only.
searchTerms array No [] One or more keyword searches, e.g. 'AI' or 'cloud computing'. Each keyword is an independent search (union), not a combination.
advertisers array No [] Advertiser names (fuzzy accountOwner search) or LinkedIn company URLs. Each name is an independent search. Use companyIds for exact matching.
companyIds array No [] Exact numeric LinkedIn company IDs (for example, Microsoft is 1035). Multiple IDs are OR-ed in one exact search. Company URLs are accepted too.
companyUrls array No [] LinkedIn company page URLs. The actor resolves each public page to its numeric organization ID and searches it exactly.
payer array No [] Search ads by the legal entity that paid for them, e.g. 'Microsoft Corporation'. Each payer is an independent search.
advertiserMatch string No startsWith Client-side precision for advertiser-name searches. Exact company IDs are never filtered. 'Starts with' removes partner-noise results while keeping names such as 'Microsoft in Business'.
countries array No [] ISO-3166 alpha-2 delivery country codes (US, GB, DE, ...) or ALL. Multiple codes are sent in one comma-separated filter.
dateOption string No last-30-days LinkedIn's date window. Use custom-date-range with startDate/endDate for an exact period (maximum 12 months back).
startDate string No – Start of a custom range (YYYY-MM-DD). Required when dateOption is custom-date-range.
Show the other 13 settings
More input settings for LinkedIn Ad Library Keyword & Advertiser Scraper
SettingTypeRequiredDefaultWhat it does
endDate string No – End of a custom range (YYYY-MM-DD). Required when dateOption is custom-date-range.
sortOrder string No newest Newest first or oldest first.
impressionsMinValue integer No – Lower bound of the impression range (EU transparency data only). LinkedIn requires both a minimum and a maximum value.
impressionsMinUnit string No none Unit for the minimum impression value.
impressionsMaxValue integer No – Upper bound of the impression range (EU transparency data only). Required together with the minimum value.
impressionsMaxUnit string No none Unit for the maximum impression value.
targetingIncluded array No [] Filters ads that target any of these categories (EU transparency data only). Values: LANGUAGE, LOCATION, AUDIENCE, DEMOGRAPHIC, COMPANY, EDUCATION, JOB, INTERESTS_AND_TRAITS.
targetingExcluded array No [] Filters ads that exclude any of these categories (EU transparency data only). Values: LANGUAGE, LOCATION, AUDIENCE, DEMOGRAPHIC, COMPANY, EDUCATION, JOB, INTERESTS_AND_TRAITS.
includeDetails boolean No true Open each ad's detail page for full copy, CTA, landing URL, video, payer, and EU transparency data. Adds one request per ad.
decodeShortLinks boolean No false Resolve lnkd.in and similar short links to their final landing URL. Adds one request per short link.
adIds array No [] Numeric ad IDs or linkedin.com/ad-library/detail/... URLs. Used by mode adDetails.
directUrls array No [] Pasted Ad Library search URLs, ad detail URLs, or LinkedIn company page URLs. Search filters are preserved.
maxItems integer No 50 Global cap on ads returned across all searches (1-4800). Each search can return at most 4,800 ads (200 pages of 24).

Example input

Built from the input form's published example values and defaults.

{
  "mode": "search",
  "searchTerms": [],
  "advertisers": [],
  "companyIds": [
    "1035"
  ],
  "companyUrls": [],
  "payer": [],
  "advertiserMatch": "startsWith",
  "countries": [],
  "dateOption": "last-30-days",
  "sortOrder": "newest",
  "impressionsMinUnit": "none",
  "impressionsMaxUnit": "none",
  "targetingIncluded": [],
  "targetingExcluded": [],
  "includeDetails": true,
  "decodeShortLinks": false,
  "adIds": [],
  "directUrls": [],
  "maxItems": 3
}

Run it from code or an AI agent

The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "mode": "search",
    "searchTerms": [],
    "advertisers": [],
    "companyIds": [
        "1035"
    ],
    "companyUrls": [],
    "payer": [],
    "advertiserMatch": "startsWith",
    "countries": [],
    "dateOption": "last-30-days",
    "sortOrder": "newest",
    "impressionsMinUnit": "none",
    "impressionsMaxUnit": "none",
    "targetingIncluded": [],
    "targetingExcluded": [],
    "includeDetails": True,
    "decodeShortLinks": False,
    "adIds": [],
    "directUrls": [],
    "maxItems": 3
}

run = client.actor("nimbryxo-studio/linkedin-ad-library-keyword-and-advertiser-scraper").call(run_input=run_input)
if run is None:
    raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

pip install apify-client

JavaScript

import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
    "mode": "search",
    "searchTerms": [],
    "advertisers": [],
    "companyIds": [
        "1035"
    ],
    "companyUrls": [],
    "payer": [],
    "advertiserMatch": "startsWith",
    "countries": [],
    "dateOption": "last-30-days",
    "sortOrder": "newest",
    "impressionsMinUnit": "none",
    "impressionsMaxUnit": "none",
    "targetingIncluded": [],
    "targetingExcluded": [],
    "includeDetails": true,
    "decodeShortLinks": false,
    "adIds": [],
    "directUrls": [],
    "maxItems": 3
};

const run = await client.actor("nimbryxo-studio/linkedin-ad-library-keyword-and-advertiser-scraper").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

npm install apify-client

cURL

curl -X POST "https://api.apify.com/v2/actors/nimbryxo-studio~linkedin-ad-library-keyword-and-advertiser-scraper/run-sync-get-dataset-items"   -H "Authorization: Bearer $APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"mode":"search","searchTerms":[],"advertisers":[],"companyIds":["1035"],"companyUrls":[],"payer":[],"advertiserMatch":"startsWith","countries":[],"dateOption":"last-30-days","sortOrder":"newest","impressionsMinUnit":"none","impressionsMaxUnit":"none","targetingIncluded":[],"targetingExcluded":[],"includeDetails":true,"decodeShortLinks":false,"adIds":[],"directUrls":[],"maxItems":3}'

Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).

MCP (AI agents)

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=nimbryxo-studio/linkedin-ad-library-keyword-and-advertiser-scraper",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.

What a run costs

The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.

Cost of LinkedIn Ad Library Keyword & Advertiser Scraper results by Apify plan
Apify planPer 1,00010,000 results100,000 results
Free plan$0.99$9.90$99
Starter plan$0.82$8.20$82
Scale plan$0.66$6.60$66
Business plan$0.49$4.90$49
  • Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
  • The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
  • Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
  • Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.

Where it fits among LinkedIn Ad Library routes

It ranks 1 of 1 catalogue Actors for LinkedIn Ad Library on the published formula (fields, price, reliability, freshness). Its line is highlighted on the map.

Route diagram for LinkedIn Ad Library dataLinkedIn Ad Library Keyword & Advertiser Scraper: stops at 3 of the 10 fields shown; Other Store tools (8): stops at 9 of the 10 fields shown; No public ad-library API: none, field coverage not compared.LinkedIn Ad Librarycreative urladvertiserad copystarted atcountrydestinationUrlformatscrapedAturlcarousel images1+API

Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.

Official route: No public ad-library API

No open API. LinkedIn publishes a public ad library for transparency, but no open API for querying it is documented for general use.

Not applicable.

Official documentation

Other Store tools for LinkedIn Ad Library

Reference only, from their public listings.

Other Store tools for LinkedIn Ad Library
ToolFieldsPrice / 1K
LinkedIn Ad Library Scraper31$0.50
LinkedIn Ad Library Scraper29$0.50
LinkedIn Ad Library Scraper (LinkedIn Ads Library)10$2.00
LinkedIn Ad Library Scraper19$1.00
LinkedIn Ad Library Scraper: LinkedIn Ads, No Login30$1.00

What people use it for

  • Research ad campaigns
  • Analyze ad targeting
  • Collect ad creatives

TikTok DSA Ads Transparency Library Scraper

Search TikTok's EU/EEA ad transparency database by keyword, advertiser or ad ID. Get creative media, advertiser identity, impression buckets,…

31 output fields $0.99 per 1K

Facebook Ad Library Byline & Advertiser Ad Finder

Pull Facebook Ad Library ads by advertiser Page ID, keyword, Ad ID, or "Paid for by" byline, with ad text, media, run dates, creative-reuse…

55 output fields $0.99 per 1K

LinkedIn Keyword & Hashtag Post Discovery Scraper

Search LinkedIn posts by keyword or hashtag with filters for date, author type, industry, connection degree, mentions, and minimum reactions.…

9 output fields $0.99 per 1K

Snapchat EU Ads Library Impressions & Targeting Extractor

Search Snapchat's EU ad transparency library by advertiser or creator, or browse all sponsored content, returning headline, creative, call to…

$0.99 per 1K

Facebook Business Page Finder by Keyword & City

Find Facebook business pages by direct URL, or discover them by keyword and city, and get names, categories, addresses, follower counts, contact…

25 output fields $0.99 per 1K

Facebook Page & Profile Finder by Keyword or URL

Find Facebook Pages or public profiles by keyword, or scrape a list of Facebook URLs directly, and get back contact info, category, ratings,…

10 output fields $0.99 per 1K

Questions people ask

How much does LinkedIn Ad Library Keyword & Advertiser Scraper cost?

The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.

What data does LinkedIn Ad Library Keyword & Advertiser Scraper return?

Its published output schema lists 19 fields: advertiser_name, ad_format, headline, body_text, cta_text, start_date, end_date, total_impressions, country, ad_url, body_text_full, image_urls, and 7 more. A listed field is not guaranteed to be filled in every row.

What input does LinkedIn Ad Library Keyword & Advertiser Scraper need?

No input is strictly required; the defaults run as is. Common settings: mode, searchTerms, advertisers, companyIds, companyUrls, payer.

How do I run LinkedIn Ad Library Keyword & Advertiser Scraper from Python or the API?

Use the Apify API client: in Python, ApifyClient(token).actor("nimbryxo-studio/linkedin-ad-library-keyword-and-advertiser-scraper").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("nimbryxo-studio/linkedin-ad-library-keyword-and-advertiser-scraper").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/nimbryxo-studio~linkedin-ad-library-keyword-and-advertiser-scraper/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.

Sources

Actor updated 2026-10-27 Data synced 2026-11-12
Cite this page

Scraper Finder. "LinkedIn Ad Library Keyword & Advertiser Scraper." https://scraperfinder.com/catalogue/linkedin-ad-library-keyword-and-advertiser-scraper/ (data checked 2026-11-12).

Run LinkedIn Ad Library Keyword & Advertiser Scraper

$0.99 per 1,000 results. Paste the example input above, set your LinkedIn Ad Library query, then export the dataset. Still choosing? Compare every LinkedIn Ad Library route.

Open in Apify Store