Introducing the Instagram APIRead more →

LinkedIn Ad Library scraper API. Live data from any public link.

Get public ads by link or search, with ads in the same fields as on 3 other platforms. We handle the proxies, blocks and platform changes.

GET socialtap.dev/v1/linkedin/ad

What LinkedIn Ad Library data can you get?

Ads from LinkedIn's public Ad Library in every format, searched by keyword, advertiser, company ID or payer and filtered by country and dates. An ad by its link or ID comes in full with its advertiser, who paid, text and media. Ads shown in the EU and Brazil add their run dates, impressions and targeting. Part of the LinkedIn API.

Call the LinkedIn Ad Library API from your code.

Copy the request for your language, or hand it to your agent.

LinkedIn Ad Library Ad Try in
const params = new URLSearchParams({
  url: "https://www.linkedin.com/ad-library/detail/1618054634",
});
const res = await fetch(`https://socialtap.dev/v1/linkedin/ad?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
GET https://socialtap.dev/v1/linkedin/adDocs

Other platforms, same key.

Posts and profiles come back in the same fields wherever they're from.

Frequently asked questions

What you send, what comes back and how your agent uses it.

Contact us
Where do I get an ad's ID?
From the LinkedIn Ad Library Search API, or the end of the ad's link in the Ad Library. A company discovery ad has no number of its own: its ID is the one the search returns, employer-brand-<company>-<channel>.

Try it on a LinkedIn Ad Library link you have.

Get a key and send your first request in a minute. The same key works on every platform.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs