LurkAPI
Docs · LinkedIn ad details

LinkedIn ad details

One LinkedIn ad's creative, payer and public delivery disclosures.

1 credit per callFresh within 1 hourMCP tool: linkedin_ad
GEThttps://api.lurkapi.com/v1/linkedin/ad

Example responseView as markdown

When to use this

Use the adLibraryUrl from ad search. Returns the public ad preview and any payer, run-date, impression and targeting disclosures LinkedIn publishes. These may be absent outside EU-delivered ads. Counts and dates stay in LinkedIn's display format rather than guessing exact values. A restricted creative is marked restricted, while genuine delivery disclosures remain available.

Parameters

All parameters go in the query string.

ParameterDescription
url
stringrequired
Public LinkedIn Ad Library detail URL from the adLibraryUrl field of search ads.
Example
https://www.linkedin.com/ad-library/detail/1558746953

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (2 KB)
{
  "success": true,
  "credits_remaining": 999996,
  "credits_charged": 1,
  "id": "1558746953",
  "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1558746953",
  "advertiser": {
    "name": "IXTENSA 🧡 HubSpot",
    "url": "https://www.linkedin.com/company/7267658"
  },
  "creativeType": "SPONSORED_STATUS_UPDATE",
  "format": "Single Image Ad",
  "text": "Viele HubSpot-Kunden kämpfen mit denselben Problemen – und lassen dadurc…",
  "headline": "Live-Webinar am 14.10.2026 um 11 Uhr",
  "images": [
    "https://media.licdn.com/dms/image/v2/D4D10AQGJm7MnzSEBvA/image-shrink_12…"
  ],
  "videos": [],
  "cta": "Sign Up",
  "payer": "IXTENSA GmbH & Co. KG",
  "availability": "Ran from Sep 24, 2026 to Sep 30, 2026",
  "totalImpressions": "1k-5k",
  "impressionsByCountry": [
    {
      "country": "Germany",
      "impressions": "100%"
    }
  ],
  "targeting": [
    {
      "label": "Language",
      "value": "Targeting includes English"
    },
    {
      "label": "Location",
      "value": "Targeting includes Germany"
    }
  ],
  "restricted": false
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 27 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
idstringLinkedIn Ad Library ad id.
adLibraryUrlstringPublic detail page for this ad.
advertiserobjectThe advertiser shown on the ad.
advertiser.namestringnullableAdvertiser name shown on the preview.
advertiser.urlstringnullableAdvertiser's LinkedIn page, when linked.
creativeTypestringnullableRaw creative type LinkedIn publishes in its preview markup.
formatstringnullableHuman-readable ad format shown by LinkedIn, when available.
textstringnullableVisible ad copy. Search previews may truncate it; use ad details for the full public copy.
headlinestringnullableAd headline when the preview exposes one.
imagesstring[]Preview and carousel image URLs in source order. URLs can expire.
videosobject[]Video variants from the ad preview, or an empty list.
videos[].urlstringPlayable video source URL.
videos[].bitratenumbernullableSource bitrate in bits per second when supplied by LinkedIn.
ctastringnullableCall-to-action text shown on the preview.
payerstringnullableOrganization paying for the ad, as disclosed by LinkedIn.
availabilitystringnullableAd run-date text exactly as LinkedIn shows it. Null when not disclosed.
totalImpressionsstringnullableTotal impression count or range in LinkedIn's display format. Mostly disclosed for ads delivered in the EU.
impressionsByCountryobject[]Published delivery by country; empty when not disclosed.
impressionsByCountry[].countrystringCountry name or code shown in LinkedIn's breakdown.
impressionsByCountry[].impressionsstringnullableLinkedIn's displayed delivery share for this country, e.g. 100%; this is not an absolute impression count.
targetingobject[]Published targeting fields, generally for EU-delivered ads; empty when not disclosed.
targeting[].labelstringTargeting category LinkedIn shows, e.g. language or location.
targeting[].valuestringPublicly disclosed targeting information for the category.
restrictedbooleanTrue when LinkedIn explicitly restricts the creative preview; delivery disclosures may still be available.

Caching and freshness

Responses are cached for up to 1 hour, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the linkedin_ad tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's linkedin_ad with url "https://www.linkedin.com/ad-library/detail/1558746953" and summarize what you find.

Claude calls linkedin_ad with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "url": "https://www.linkedin.com/ad-library/detail/1558746953"
}

Tool results skip nulls and empty lists to save tokens.