LinkedIn

Search LinkedIn's Ad Library

Search the ads LinkedIn shows in its public Ad Library, by advertiser, by words in the ad or by company id, optionally by country and date: each ad's advertiser, format, headline, text, image or video, call to action, where it leads, when it ran, its impressions range and its targeting, about 25 a page. Use this to watch what a competitor advertises.

Give exactly one of advertiser or company_id or query to identify the search.

Costs 3 credits, whether the answer is fetched or served from cache. A failed call is refunded automatically.

get/linkedin/ads

Request

  • Base URL: https://api.scrapefield.com/v1
  • URL: https://api.scrapefield.com/v1/linkedin/ads
  • Auth: one of:
    • HTTP bearer
    • none

Query parameters

advertiserstring
Example:Ferrari

The advertiser's name, as the library searches it. It matches loosely: a person whose name contains it can appear.

company_idstring
Example:1035

LinkedIn's numeric id for the company, company_id in linkedin/company: that company's ads only.

querystring
Example:electric cars

Words in the ad.

countriesstring

Only ads shown in these countries: two-letter codes, comma-separated, e.g. US,GB.

start_datestring

Only ads shown on or after this day, YYYY-MM-DD, within the last year. With end_date.

end_datestring

Only ads shown on or before this day, YYYY-MM-DD, before today. With start_date.

cursorstring

The meta.next_cursor from the previous page. Omit for the first page.

freshboolean

Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it.

demoboolean

With no key: a fixed demo answer in the same shape, charged nothing.

Response

The request succeeded.

Changes

No recorded changes to this operation across all 1 revision of this API.