LinkedIn Ads API
Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).
Try it
Make your first request
{
"data": {
"items": [
{
"advertiser": "example",
"advertiserLogo": "https://example.com/image.jpg",
"format": "example",
"id": "a1b2c3d4",
"image": "https://example.com/image.jpg",
"text": "A short example description of this item.",
"url": "https://example.com/page"
}
]
},
"found": true
}interface LinkedinAdsResponse {
data: {
items: {
advertiser?: string;
advertiserLogo?: string;
format?: string;
id: string;
image?: string;
text?: string;
url: 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.ads \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"limit":3,"url":"https://www.linkedin.com/company/stripe"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| url | string | "https://www.linkedin.com/company/stripe"LinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035). |
| limit | integer | 3Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. |
| Response | ||
| data | object | The results wrapper, or null when nothing was found. |
| data.items | object[] | Ad records from the LinkedIn Ad Library. Populated whenever the provider has data for the entity. |
| data.items[].advertiser | string | Advertiser (company) name. Populated whenever the provider has data for the entity. |
| data.items[].advertiserLogo | string | Advertiser logo image URL. |
| data.items[].format | string | Ad format (e.g. SINGLE_IMAGE, VIDEO). |
| data.items[].id | string | LinkedIn ad id. Populated whenever the provider has data for the entity. |
| data.items[].image | string | Ad creative image URL. |
| data.items[].text | string | Ad creative body text. |
| data.items[].url | string | Canonical LinkedIn Ad Library detail URL. Populated whenever the provider has data for the entity. |
| found | boolean | True when at least one ad was returned. |
| Price | ||
| Price per request (ceiling) | USD | $0.0331 |
| Price /1k results | USD | $1.58 |
FAQ
About the LinkedIn Ads API
The AnyAPI LinkedIn Ads API returns LinkedIn ads data as normalized JSON from one POST call to /v1/run/linkedin.ads. Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format). AnyAPI returns one normalized schema whichever source serves it. It costs $1.58 per 1,000 results, and never more than $0.0331 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 96.2% of LinkedIn ads calls through AnyAPI succeeded, with a median response time of 11.6 seconds across 52 measured calls.