LinkedIn Ad API
Look up a single LinkedIn Ad Library ad by URL and get the advertiser, headline, creative text, format, CTA, targeting, run dates, and impressions as clean JSON.
Try it
Make your first request
{
"data": {
"adType": "general",
"advertiser": "example",
"advertiserLinkedinPage": "https://example.com/page",
"cta": "example",
"description": "A short example description of this item.",
"destinationUrl": "https://example.com/page",
"endDate": "2024-01-15T09:30:00Z",
"headline": "Example title",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"startDate": "2024-01-15T09:30:00Z",
"totalImpressions": "example"
},
"found": true
}interface LinkedinAdResponse {
data: {
adType: string;
advertiser: string;
advertiserLinkedinPage: string;
cta: string;
description: string;
destinationUrl: string;
endDate: string;
headline: string;
id: string;
image: string;
startDate: string;
totalImpressions: string;
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/linkedin.ad \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://www.linkedin.com/ad-library/detail/1487405616"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://www.linkedin.com/ad-library/detail/1487405616"LinkedIn Ad Library ad URL (e.g. "https://www.linkedin.com/ad-library/detail/666281156"). |
| Response | ||
| data | object | |
| data.adType | string | Populated whenever the provider has data for the entity. |
| data.advertiser | string | Populated whenever the provider has data for the entity. |
| data.advertiserLinkedinPage | string | Populated whenever the provider has data for the entity. |
| data.cta | string | Populated whenever the provider has data for the entity. |
| data.description | string | Populated whenever the provider has data for the entity. |
| data.destinationUrl | string | |
| data.endDate | string | ISO 8601 date. |
| data.headline | string | Populated whenever the provider has data for the entity. |
| data.id | string | |
| data.image | string | |
| data.startDate | string | ISO 8601 date. |
| data.totalImpressions | string | |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the LinkedIn Ad API
The AnyAPI LinkedIn Ad API returns LinkedIn ad data as normalized JSON from one POST call to /v1/run/linkedin.ad. Look up a single LinkedIn Ad Library ad by URL and get the advertiser, headline, creative text, format, CTA, targeting, run dates, and impressions as clean JSON. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 75.0% of LinkedIn ad calls through AnyAPI succeeded, with a median response time of 1.5 seconds across 4 measured calls.