LinkedIn Ad Library Search Ads API

Search the LinkedIn Ad Library with native media variants where available. LinkedIn may expose only one image or thumbnail size.

1 creditper request
GET
/v1/linkedin/ads/search
curl "https://api.scrapecreators.com/v1/linkedin/ads/search" \
  -H "x-api-key: "
{
  "success": true,
  "credits_remaining": 100,
  "credits_charged": 1,
  "ads": [
    {
      "id": "1629532086",
      "description": "Offensive security for Insurance Brokers, TPAs, MGAs and Carriers.

Get a full audit-grade NYDFS or SOC2 PDF report within 48 hours.",
      "headline": "Meet us at Booth 3240",
      "poster": "CodeAnt AI",
      "posterTitle": null,
      "promotedBy": null,
      "targeting": {},
      "image": null,
      "video": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/mp4-360p-30fp-crf28/B56aDdqz26GoCE-/0/1790425384702?e=2147483647&v=beta&t=JDvJ4pLmerMVdDjbUZskRZIeuno7_YD4b-t_y2aY_f0",
      "preRollVideo": null,
      "organicVideo": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/mp4-360p-30fp-crf28/B56aDdqz26GoCE-/0/1790425384702?e=2147483647&v=beta&t=JDvJ4pLmerMVdDjbUZskRZIeuno7_YD4b-t_y2aY_f0",
      "preRollAdvertiser": null,
      "carouselImages": [],
      "url": "https://www.linkedin.com/ad-library/detail/1629532086",
      "adType": "Video Ad",
      "creativeType": "SPONSORED_VIDEO",
      "advertiser": "CodeAnt AI",
      "advertiserLinkedinPage": "https://www.linkedin.com/company/96582348",
      "advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQGncbvGj9h-YA/company-logo_100_100/company-logo_100_100/0/1700642866542/codeant_ai_logo?e=1793836800&v=beta&t=m3Yqh1eMA4FSBoIhNZzLkOQO8FLl84sq6rMUXuYaqXA",
      "cta": "Join",
      "sponsoredMessageSender": null,
      "sponsoredMessageSenderAvatar": null,
      "sponsoredMessageButtons": [],
      "destinationUrl": null,
      "landingPage": null,
      "adDuration": "",
      "startDate": null,
      "endDate": null,
      "totalImpressions": null,
      "impressionsByCountry": [],
      "imageSources": [],
      "videoSources": [
        {
          "src": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/mp4-360p-30fp-crf28/B56aDdqz26GoCE-/0/1790425384702?e=2147483647&v=beta&t=JDvJ4pLmerMVdDjbUZskRZIeuno7_YD4b-t_y2aY_f0",
          "type": "video/mp4",
          "bitrate": 124294
        },
        {
          "src": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/progressive-servable-video/B56aDdqz26GoAc-/0/1790425383612?e=2147483647&v=beta&t=jLeuwEhS8XvYQ5FIqWJml09AkU54C5XXO9A_aY9fCwc",
          "type": "video/mp4",
          "bitrate": 10360657
        },
        {
          "src": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/mp4-720p-30fp-crf28/B56aDdqz26GoCI-/0/1790425385064?e=2147483647&v=beta&t=nGHquMqqYvnMF0jR0H-7y6U4HhxFLO2AYpKxDCokYBU",
          "type": "video/mp4",
          "bitrate": 378442
        },
        {
          "src": "https://dms.licdn.com/playlist/vid/v2/D5610AQHhFKchr0EgUA/mp4-640p-30fp-crf28/B56aDdqz26GoBs-/0/1790425384967?e=2147483647&v=beta&t=Y8PX1J2nczCeLu_x4D2VbBJ3mI4Yb20DxAZ0yyOSu3E",
          "type": "video/mp4",
          "bitrate": 281999
        }
      ],
      "thumbnailSources": [
        "https://media.licdn.com/dms/image/v2/D5610AQHhFKchr0EgUA/videocover-high/B56aDdqz26GoBM-/0/1790425384196?e=2147483647&v=beta&t=f4890gDBvRXts6rJzik-j7iF8aDV6XOLTyaT10Bdkyg"
      ],
      "preRollVideoSources": []
    },
    {
      "id": "1637580796",
      "description": "Your code, cloud and team changed since your last pentest. Your auditor needs a report on today's environment.",
      "headline": "Renewing PCI? Get a pentest report in 3 weeks",
      "poster": "CodeAnt AI",
      "posterTitle": null,
      "promotedBy": null,
      "targeting": {},
      "image": "https://media.licdn.com/dms/image/v2/D5610AQFFRKthq08ivA/image-shrink_1280/B56aEaDZDNJcAc-/0/1791438459516/PCI-02png?e=2147483647&v=beta&t=VwX-vpFnz2szja2-UG5od2DYftS6aqGswIF3Dtbz0gY",
      "video": null,
      "preRollVideo": null,
      "organicVideo": null,
      "preRollAdvertiser": null,
      "carouselImages": [],
      "url": "https://www.linkedin.com/ad-library/detail/1637580796",
      "adType": "Single Image Ad",
      "creativeType": "SPONSORED_STATUS_UPDATE",
      "advertiser": "CodeAnt AI",
      "advertiserLinkedinPage": "https://www.linkedin.com/company/96582348",
      "advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQGncbvGj9h-YA/company-logo_100_100/company-logo_100_100/0/1700642866542/codeant_ai_logo?e=1793836800&v=beta&t=m3Yqh1eMA4FSBoIhNZzLkOQO8FLl84sq6rMUXuYaqXA",
      "cta": "Learn more",
      "sponsoredMessageSender": null,
      "sponsoredMessageSenderAvatar": null,
      "sponsoredMessageButtons": [],
      "destinationUrl": null,
      "landingPage": null,
      "adDuration": "",
      "startDate": null,
      "endDate": null,
      "totalImpressions": null,
      "impressionsByCountry": [],
      "imageSources": [
        "https://media.licdn.com/dms/image/v2/D5610AQFFRKthq08ivA/image-shrink_1280/B56aEaDZDNJcAc-/0/1791438459516/PCI-02png?e=2147483647&v=beta&t=VwX-vpFnz2szja2-UG5od2DYftS6aqGswIF3Dtbz0gY"
      ],
      "videoSources": [],
      "thumbnailSources": [],
      "preRollVideoSources": []
    }
  ],
  "paginationToken": "1587449116-1788316404963",
  "isLastPage": false,
  "totalAds": 258
}

Headers

x-api-key
string
required

Your Scrape Creators API key

Query Parameters

company
string

The company name to search for. 'Microsoft' for example

Example:
microsoft
keyword
string

The keyword to search for

Example:
scraping
companyId
string

The company id to search for

Example:
157238
countries
string

Comma separated list of countries. Example: US,CA,MX

Example:
US,CA,MX
startDate
string

Start date in YYYY-MM-DD format. Must be used with endDate and cannot be earlier than the date one year ago.

Example:
2026-01-01
endDate
string

End date in YYYY-MM-DD format. Must be used with startDate and cannot be today or a future date.

Example:
2026-09-01
paginationToken
string

Pagination token to paginate through results

Example:
640547184-1743616612000