LinkedIn Ad Library API
Ads from LinkedIn's Ad Library by keyword, company or domain, with the full text, CTA and landing page. Ads served in the EU come with impressions, country shares and targeting.
- Coverage
- LinkedIn's library is global and covers the last 12 months. Impressions, country shares and targeting exist only for ads served in the EU.
- Price
- 3 credits per ad. 3 credits per delivered ad. A live search page costs at most 15 credits, however many ads it returns. Ads last shown more than 12 months ago cost double. Empty, cached and failed results are free.
- Status
- LinkedIn publishes no active flag.
statusisunknown; uselast_shownand ourlast_seen_by_uswith your own rule.
Find ads by
- Keyword (
q) - Company name (
advertiser=…), fuzzy; includes partner and sub-pages - Company id (
advertiser=linkedin:1035), exact - Domain (
domain=microsoft.com): the company page whose website matches - Ad id (
GET /v1/ads/linkedin:{id}) - Our archive (
source=history)
Filters
country: any ISO countryfrom/to: within the last 12 months
What you get for each ad
The same fields as every other platform, in one schema. What LinkedIn publishes is filled in; what it does not stays null.
Ad and advertiser
- id
linkedin:<ad id>- advertiser.id, advertiser.name
- The company page; thought-leader ads from a member profile get
member:<vanity>andextra.advertiser_typemember - first_shown, last_shown
- The run period, on the ad detail where LinkedIn shows it
- placements
- Always
linkedin
Creative
- formats
image,video,carouselortext(message ads)- creatives[].text
- Truncated in search, full on the ad detail
- creatives[].headline, cta, landing_url
- On the ad detail (no landing URL for carousel and video ads)
- extra.creative_type, extra.ad_type
- LinkedIn's own ad type
Only for ads shown in the EU
Published under the Digital Services Act; see EU reach.
impressions_range: LinkedIn's impressions bucket, e.g. 1,000 to 5,000countriesandextra.impressions_by_country_pct: share of impressions per country in percenteu_data.targeting.locations: included locations as LinkedIn writes themeu_data.targeting.other: language, excluded locations, and which categories (audience, company, job, education, interests…) were used or excludedeu_data.payer: paid for by- On the ad detail (
GET /v1/ads/{id}), not in search results
What LinkedIn does not publish
- An active flag:
statusis alwaysunknown - Reach and spend:
eu_data.reach_totalandspend_rangeare null - Beneficiary separate from the payer
- Age and gender values: LinkedIn only says whether demographics were used
- Country shares are not turned into absolute numbers; that would be an estimate
Try it
Microsoft's LinkedIn ads in Germany since September. GET /v1/ads/{id} adds the full text, payer and targeting.
Media: Images and videos with their poster image on the ad detail; search results carry images and the video cover. Images are copied to media.adlibapi.com under stable URLs, and videos are archived for advertisers on a watchlist.
curl "https://api.adlibapi.com/v1/search?platform=linkedin&domain=microsoft.com&country=DE&from=2026-09-01" \
-H "X-API-Key: $ADLIB_API_KEY"What to do with it
- See which targeting categories (job, company, interests) a B2B competitor uses in the EU.
- Score sales leads by whether they run LinkedIn ads this month.
- Keep a record of a competitor's LinkedIn ads after the library drops them.
Limits
- Search results are thin: full text, CTA, dates and EU data need the ad detail, one call per ad.
- No format or status filter.
- Only the last 12 months are searchable live; older ads only come from our archive.
- Domain search works when the company page lists a website on the same domain.
Questions
- Does the LinkedIn Ad Library have an API?
- AdLib returns LinkedIn Ad Library data through a REST API: search by keyword, company, company id or domain, then fetch each ad with text, payer, impressions and targeting.
- Can I see LinkedIn ad targeting?
- For ads served in the EU, partly: locations, language, and which categories such as job, company or interests were used or excluded. LinkedIn does not show the values of age, gender or job targeting.
- Can I see impressions or spend for LinkedIn ads?
- Impressions as a bucket and a share per country, for ads served in the EU. No spend and no reach.
- How far back does the LinkedIn Ad Library go?
- The live search covers the last 12 months. Ads AdLib recorded earlier stay in the archive, also after LinkedIn drops them.
Read more
Other platforms
Questions about LinkedIn data? [email protected]