LinkedIn Ad Library
2 endpoints. All requests need an x-api-key header.
/v1/linkedin/adAd Details
Retrieves detailed information about a specific LinkedIn ad by URL. Returns id, description, headline, adType, advertiser, and targeting with language, location, and audience criteria. Also includes totalImpressions, impressionsByCountry, adDuration, startDate, and endDate. Date and impression fields are nullable when LinkedIn does not expose them on the public ad page.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | The url of the ad Example: https://www.linkedin.com/ad-library/detail/666281156 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/linkedin/ad?url=https%3A%2F%2Fwww.linkedin.com%2Fad-library%2Fdetail%2F666281156" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/linkedin/ad?url=https%3A%2F%2Fwww.linkedin.com%2Fad-library%2Fdetail%2F666281156", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/linkedin/ad",
params={"url": "https://www.linkedin.com/ad-library/detail/666281156"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/linkedin/ads/searchSearch Ads
Searches the LinkedIn Ad Library by company name, keyword, or companyId with optional country and date filters. Custom date filtering requires both startDate and endDate. LinkedIn accepts dates from the date one year ago through yesterday. Each ad includes id, description, headline, adType, advertiser, targeting details, image or video URLs, totalImpressions, and impressionsByCountry. Date and impression fields are nullable when LinkedIn does not expose them on the public ad page. Supports pagin
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
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 |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/linkedin/ads/search" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/linkedin/ads/search", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/linkedin/ads/search",
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())