LinkedIn API

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.

POST/v1/run/linkedin.ads_search
Uptime
91.67%
30d · 24 calls
Requests
33
30d · weekly, last 12 wks
Response
1.9s
median · 30d

Pricing

One price, in dollars

Providers
Giraffe22 served100.00% uptime1526ms p50$1.20/1k reqflat

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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
}
Response interface
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 30d
POST /v1/run/linkedin.ads_search
curl -X POST https://api.getanyapi.com/v1/run/linkedin.ads_search \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company":"microsoft"}'
FieldTypeExample value
Request body
companystring"microsoft"Company name to search (e.g. "microsoft").
companyIdstringLinkedIn company identifier.
countriesstringComma-separated two-letter country codes (e.g. "US,CA,MX").
endDatestringSearch end date in YYYY-MM-DD format.
keywordstringKeyword term for the ad search.
paginationTokenstringOpaque pagination token from a previous response's nextCursor.
startDatestringSearch start date in YYYY-MM-DD format.
Response
dataobject
data.adsobject[]Populated whenever the provider has data for the entity.
data.ads[].adTypestringPopulated whenever the provider has data for the entity.
data.ads[].advertiserstringPopulated whenever the provider has data for the entity.
data.ads[].advertiserLinkedinPagestring
data.ads[].ctastring
data.ads[].descriptionstring
data.ads[].destinationUrlstring
data.ads[].endDatestring
data.ads[].headlinestring
data.ads[].idstringPopulated whenever the provider has data for the entity.
data.ads[].startDatestring
data.ads[].totalImpressionsstring
data.nextCursorstring
data.totalAdsinteger
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Search the LinkedIn Ad Library by company or keyword and list matching ads (advertiser, headline, creative text, format, CTA, and run dates) with pagination. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.