Social Fetch
LinkedIn

Search LinkedIn Ad Library ads

Search LinkedIn Ad Library ads by company, keyword, or company id.

GET/v1/linkedin/ad-library/ads/search
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
7
companystringquery

Company name to search for in the LinkedIn Ad Library.

min 1 chars · max 4096 chars

keywordstringquery

Keyword or phrase to search for in LinkedIn Ad Library ads.

min 1 chars · max 4096 chars

companyIdstringquery

LinkedIn company id to search for in the Ad Library.

min 1 chars · max 4096 chars

countriesstringquery

Optional comma-separated list of country codes (for example US,CA,MX).

min 1 chars · max 4096 chars

startDatestringquery

Optional start date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

endDatestringquery

Optional end date filter in YYYY-MM-DD format.

pattern: ^\d{4}-\d{2}-\d{2}$

cursorstringquery

Opaque pagination cursor from a previous response.

min 1 chars

Response fields
42

Endpoint-specific response payload.

Ads returned for the requested search. This array may be empty when no ads match the filters.

dataads[]id
string

Stable identifier for the ad.

min 1 chars

dataads[]url
stringnullable

Public LinkedIn Ad Library URL for this ad when available.

dataads[]description
stringnullable

Primary ad body text when available.

dataads[]headline
stringnullable

Ad headline when available.

dataads[]adType
stringnullable

Ad format type when available.

dataads[]poster
stringnullable

Poster name shown on the ad when available.

dataads[]posterTitle
stringnullable

Poster title shown on the ad when available.

dataads[]promotedBy
stringnullable

Promoted-by attribution when available.

Advertiser summary for this ad.

dataads[]advertisername
stringnullable

Advertiser display name when available.

dataads[]advertiserpageUrl
stringnullable

Public LinkedIn company page URL when available.

Targeting summary for this ad.

dataads[]targetinglanguage
stringnullable

Language targeting summary when available.

dataads[]targetinglocation
stringnullable

Location targeting summary when available.

dataads[]targetingcompany
stringnullable

Company targeting summary when available.

dataads[]targetingaudience
stringnullable

Audience targeting summary when available.

Creative content for this ad.

dataads[]creativeimageUrl
stringnullable

Primary image URL when available.

dataads[]creativevideoUrl
stringnullable

Primary video URL when available.

Carousel image URLs when available.

dataads[]creativecarouselImageUrls[]
stringoptional

min 1 chars

dataads[]creativecta
stringnullable

Call-to-action label when available.

dataads[]creativedestinationUrl
stringnullable

Destination URL when available.

Duration metadata for this ad.

dataads[]durationlabel
stringnullable

Human-readable ad duration label when available.

dataads[]durationstartedAt
stringnullable

ISO-8601 timestamp for when the ad started, when available.

dataads[]durationendedAt
stringnullable

ISO-8601 timestamp for when the ad ended, when available.

Impressions metadata for this ad.

dataads[]impressionstotal
stringnullable

Total impressions label when available.

Impressions share broken down by country when available.

dataads[]impressionsbyCountry[]country
string

Country name or code.

min 1 chars

dataads[]impressionsbyCountry[]share
string

Share of impressions attributed to this country.

min 1 chars

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass as `cursor` in the next request when `hasMore` is true; otherwise null.

datapagehasMore
boolean

Whether another page of ads can be requested.

datapagetotalResults
integernullable

Total number of matching ads when available.

≥ 0

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/linkedin/ad-library/ads/search?company=microsoft" \
  -H "x-api-key: YOUR_API_KEY"

Responses

LinkedIn Ad Library ads matching the requested search.