Skip to content
scrapeatlas.Dashboard

Search ads

Try in Playground

Search one page by company, payer, keyword, company ID, countries, date preset or date pair, impression range and targeting facets, sorted newest or oldest first. Each card is enriched from its detail page. Pass the returned token with the same filters for continuation. Individual source failures are explicit partial results.

GET/v1/linkedin/ads/searchx-api-key
x-api-keystringrequiredheader

Your ScrapeAtlas customer key. Create one on /account/ and set SCRAPEATLAS_API_KEY.

Query parameters
15
companystringquery

Company or advertiser name; combined with other filters.

min 1 chars · max 500 chars

Examplemicrosoft
keywordstringquery

Keyword in the public library.

min 1 chars · max 500 chars

companyIdstringquery

Exact company ID as a string.

countriesstringquery

Comma-separated uppercase country codes, for example US,DE.

payerstringquery

Optional.

min 1 chars · max 500 chars

startDatestringquery

Real YYYY-MM-DD calendar date; requires endDate.

endDatestringquery

Real YYYY-MM-DD date on or after startDate. LinkedIn applies its retained-ad date window.

dateOptionenumquery

Optional.

one of: last-30-days, current-month, current-year, last-year

sortOrderenumquery

Optional.

one of: DESCENDING, ASCENDING

minImpressionsstringquery

Optional.

maxImpressionsstringquery

Optional.

includedTargetingstringquery

Optional.

excludedTargetingstringquery

Optional.

paginationTokenstringquery

Source continuation token. Reuse the same filters.

cursorstringquery

Alias of paginationToken. Supply one, never both.

Response fields
105
requestIdstring

Random request correlation ID.

Attempts, decoded successful HTML bytes and elapsed time. Browser limits also count discarded responses.

accounting.upstreamRequestsinteger

Always included.

≥ 0

accounting.responseBytesinteger

Always included.

≥ 0

accounting.durationMsnumber

Always included.

≥ 0

successboolean

Whether usable public data was retrieved.

statusenum

success, partial, failed or challenged.

one of: success, partial

sourceUrlstring

Fixed-origin public source URL.

absolute HTTPS URL

fetchedAtstring

UTC retrieval timestamp.

Complete refers to this bounded page and supported creative fields, not all search results.

coverage.sourcestring

Always included.

coverage.completeboolean

Always included.

coverage.warningsstring[]

Always included.

Canonical Post at data.post for /ad; raw enriched items with next_cursor for /ads/search; normalized ad/ads and page metadata for /ad-library/ routes.

Always included.

data.ads.idstring

Always included.

data.ads.urlstring

Always included.

absolute HTTPS URL

data.ads.descriptionstringnullable

Always included.

data.ads.headlinestringnullable

Always included.

data.ads.adTypestringnullable

Always included.

data.ads.posterstringnullable

Always included.

data.ads.posterTitlestringnullable

Always included.

data.ads.promotedBystringnullable

Always included.

Always included.

data.ads.advertiser.namestringnullable

Always included.

data.ads.advertiser.pageUrlstringnullable

Always included.

Always included.

data.ads.targeting.languagestringnullable

Always included.

data.ads.targeting.locationstringnullable

Always included.

data.ads.targeting.companystringnullable

Always included.

data.ads.targeting.audiencestringnullable

Always included.

Always included.

data.ads.creative.imageUrlstringnullable

Always included.

data.ads.creative.videoUrlstringnullable

Always included.

data.ads.creative.carouselImageUrlsstring[]

Always included.

data.ads.creative.ctastringnullable

Always included.

data.ads.creative.destinationUrlstringnullable

Always included.

Always included.

data.ads.duration.labelstringnullable

Always included.

data.ads.duration.startedAtstringnullable

Always included.

data.ads.duration.endedAtstringnullable

Always included.

Always included.

data.ads.impressions.totalstringnullable

Always included.

Always included.

data.ads.impressions.byCountry.countrystring

Always included.

data.ads.impressions.byCountry.sharestring

Always included.

data.totalAdsnumbernullable

Always included.

Always included.

data.page.nextCursorstringnullable

Always included.

data.page.hasMoreboolean

Always included.

Full details for each successfully enriched search result, bounded to 24 ads.

ads.idstring

Always included.

ads.urlstring

Always included.

absolute HTTPS URL

ads.descriptionstringnullable

Always included.

ads.headlinestringnullable

Always included.

ads.posterstringnullable

Always included.

ads.posterTitlestringnullable

Always included.

ads.promotedBystringnullable

Always included.

ads.paidForBystringnullable

Always included.

ads.targetingobject

Always included.

ads.targetingDetailsobject

Always included.

ads.imagestringnullable

Always included.

ads.videostringnullable

Always included.

Always included.

up to 30 items

ads.videoSources.urlstring

Always included.

ads.videoSources.bitratenumbernullable

Always included.

ads.carouselImagesstring[]

Always included.

ads.creativeTypestringnullable

Always included.

ads.thumbnailstringnullable

Always included.

ads.preRollVideostringnullable

Always included.

ads.organicVideostringnullable

Always included.

ads.preRollAdvertiserstringnullable

Always included.

ads.sponsoredMessageSenderstringnullable

Always included.

ads.sponsoredMessageSenderAvatarstringnullable

Always included.

ads.sponsoredMessageTextstringnullable

Always included.

Always included.

ads.document.titlestringnullable

Always included.

ads.document.previewPageCountinteger

Always included.

≥ 0

ads.document.totalPageCountintegernullable

Always included.

ads.document.coverImageUrlsstring[]

Always included.

up to 100 items

ads.document.manifestUrlstringnullable

Always included.

Always included.

ads.sponsoredMessageButtons.textstring

Always included.

ads.sponsoredMessageButtons.typestringnullable

Always included.

ads.sponsoredMessageButtons.urlstringnullable

Always included.

ads.landingPagestringnullable

Always included.

ads.adTypestringnullable

Always included.

ads.advertiserstringnullable

Always included.

ads.advertiserLinkedinPagestringnullable

Always included.

ads.advertiserLogostringnullable

Always included.

ads.ctastringnullable

Always included.

ads.destinationUrlstringnullable

Always included.

ads.adDurationstringnullable

Always included.

ads.startDatestringnullable

Always included.

ads.endDatestringnullable

Always included.

ads.totalImpressionsstringnullable

Always included.

Always included.

ads.impressionsByCountry.countrystring

Always included.

ads.impressionsByCountry.impressionsstring

Always included.

paginationTokenstringnullable

Source continuation token. Reuse the same filters.

isLastPageboolean

Whether the source returned a terminal page.

totalAdsintegernullable

Source total estimate; null on continuation fragments that omit it.

IDs and failure codes for details that could not be retrieved; retry these through the detail route.

failedAds.idstring

Always included.

failedAds.codeenum

Always included.

one of: invalid_request, unauthorized, not_found, upstream_challenged, upstream_rate_limited, upstream_error, unsupported_page, restricted_page, response_too_large, unsafe_redirect, request_limit, timeout, busy, payload_too_complex

HTTP 200 returns the success variant. Check status: partial means usable data with warnings, and failed or challenged requests carry a failure object described in Errors & responses.

Error codes
10
HTTPfailure.codeMeaning
400invalid_requestInvalid, duplicate, unknown or conflicting inputs.
401unauthorizedMissing or incorrect service key.
403restricted_pageThe source restricts this ad.
404not_foundMissing ad or route.
429upstream_rate_limitedSource throttling.
502upstream_challenged unsupported_pageChallenge, unsupported markup or identity mismatch.
502upstream_error unsafe_redirect response_too_large payload_too_complex request_limitBounded source failure.
503busyWorker capacity reached.
504timeoutRequest deadline elapsed.
200partialUnavailable details, other creative formats or additional variants.