LinkedIn API

LinkedIn Ads API

Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).

POST/v1/run/linkedin.ads
Uptime
96.15%
30d · 52 calls
Requests
54
30d · weekly, last 12 wks
Response
11.6s
median · 30d

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": {
    "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
}
Response interface
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 30d
POST /v1/run/linkedin.ads
curl -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"}'
FieldTypeExample value
Request body
urlstring"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).
limitinteger3Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
Response
dataobjectThe results wrapper, or null when nothing was found.
data.itemsobject[]Ad records from the LinkedIn Ad Library. Populated whenever the provider has data for the entity.
data.items[].advertiserstringAdvertiser (company) name. Populated whenever the provider has data for the entity.
data.items[].advertiserLogostringAdvertiser logo image URL.
data.items[].formatstringAd format (e.g. SINGLE_IMAGE, VIDEO).
data.items[].idstringLinkedIn ad id. Populated whenever the provider has data for the entity.
data.items[].imagestringAd creative image URL.
data.items[].textstringAd creative body text.
data.items[].urlstringCanonical LinkedIn Ad Library detail URL. Populated whenever the provider has data for the entity.
foundbooleanTrue when at least one ad was returned.
Price
Price per request (ceiling)USD$0.0331
Price /1k resultsUSD$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.

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. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format). 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, 96.2% of LinkedIn ads calls through AnyAPI succeeded, with a median response time of 11.6 seconds across 52 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.