/v1/linkedin/ads/searchSearch ads
1 request
Searches LinkedIn ads using a company name, a companyId, or a keyword, optionally filtered by country and date. A custom date range needs both startDate and endDate, and LinkedIn only allows dates from one year ago up to yesterday. Each ad has id, headline, description, adType, advertiser, targeting, totalImpressions, impressionsByCountry, and image or video URLs; date and impression fields are null when LinkedIn does not publish them. Paginate with paginationToken.
Query parameters
companystring | Company name to search for, such as 'Microsoft'. |
keywordstring | Keyword to search for. |
companyIdstring | LinkedIn company ID to search for. |
countriesstring | Countries as a comma-separated list, such as US,CA,MX. |
startDatestring | Range start as YYYY-MM-DD; requires endDate and may not be more than one year back. |
endDatestring | Range end as YYYY-MM-DD; requires startDate and must be before today. |
paginationTokenstring | Token from the previous response, used to load the next page. |
curl "https://api.pandorlabs.com/v1/linkedin/ads/search" \ -H "Authorization: Bearer $PANDORLABS_KEY"Example response
Response
{
"success": true,
"credits_charged": 1,
"ads": [
{
"id": "823975056",
"description": "The countdown has begun – grab your discounted tickets now for #FabConEurope in Vienna!\nJoin us for an unforgettable experience filled with deep learning, expert insights, and top-tier networking opportunities.\n\nRegister today and be part o…",
"headline": null,
"poster": "Microsoft",
"posterTitle": "Promoted",
"promotedBy": null,
"targeting": {
"language": "Targeting includes English",
"location": "Targeting includes Netherlands",
"company": "Exclusion targeting applied"
},
"image": "https://media.licdn.com/dms/image/v2/D5610AQH8f223ANJdoQ/image-shrink_1280/B56ZiDa0MFHkAQ-/0/1754551502346?e=2147483647&v=beta&t=ZuZ0zUs1KInS8ysVO7FxzmlzxHP9B_JX2b6kdMU8GT4",
"video": null,
"carouselImages": [],
"adType": "Single Image Ad",
"advertiser": "Microsoft",
"advertiserLinkedinPage": "https://www.linkedin.com/company/1035",
"cta": null,
"destinationUrl": "http://msft.it/6043sMFt3?trk=ad_library_ad_preview_headline_content",
"adDuration": "Ran from Aug 10, 2025 to Aug 10, 2025",
"startDate": "2025-08-10T05:00:00.000Z",
"endDate": "2025-08-10T05:00:00.000Z",
"totalImpressions": "< 1k",
"impressionsByCountry": []
}
],
"paginationToken": "756412693-1754569518292",
"isLastPage": false,
"totalAds": 8699
}