LinkedIn Ads search API
Search the LinkedIn Ad Library by company or keyword and list matching ads (advertiser, headline, creative text, format, CTA, and run dates) with pagination.
Try it
Make your first request
{
"data": {
"ads": [
{
"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",
"startDate": "2024-01-15T09:30:00Z",
"totalImpressions": "example"
}
],
"nextCursor": "example",
"totalAds": 12500
},
"found": true
}interface LinkedinAdsSearchResponse {
data: {
ads: {
adType: string;
advertiser: string;
advertiserLinkedinPage: string;
cta: string;
description: string;
destinationUrl: string;
endDate: string;
headline: string;
id: string;
startDate: string;
totalImpressions: string;
}[];
nextCursor: string;
totalAds: number;
} | 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_search \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"company":"microsoft"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| company | string | "microsoft"Company name to search (e.g. "microsoft"). |
| companyId | string | LinkedIn company identifier. |
| countries | string | Comma-separated two-letter country codes (e.g. "US,CA,MX"). |
| endDate | string | Search end date in YYYY-MM-DD format. |
| keyword | string | Keyword term for the ad search. |
| paginationToken | string | Opaque pagination token from a previous response's nextCursor. |
| startDate | string | Search start date in YYYY-MM-DD format. |
| Response | ||
| data | object | |
| data.ads | object[] | Populated whenever the provider has data for the entity. |
| data.ads[].adType | string | Populated whenever the provider has data for the entity. |
| data.ads[].advertiser | string | Populated whenever the provider has data for the entity. |
| data.ads[].advertiserLinkedinPage | string | |
| data.ads[].cta | string | |
| data.ads[].description | string | |
| data.ads[].destinationUrl | string | |
| data.ads[].endDate | string | |
| data.ads[].headline | string | |
| data.ads[].id | string | Populated whenever the provider has data for the entity. |
| data.ads[].startDate | string | |
| data.ads[].totalImpressions | string | |
| data.nextCursor | string | |
| data.totalAds | integer | |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the LinkedIn Ads search API
The AnyAPI LinkedIn Ads search API returns LinkedIn ads search data as normalized JSON from one POST call to /v1/run/linkedin.ads_search. Search the LinkedIn Ad Library by company or keyword and list matching ads (advertiser, headline, creative text, format, CTA, and run dates) with pagination. 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, 91.7% of LinkedIn ads search calls through AnyAPI succeeded, with a median response time of 1.9 seconds across 24 measured calls.