LinkedIn Ad Library API

API ID 16020

Ads from the LinkedIn Ad Library by company, keyword, payer or ad ID: ad text, headline, media, landing link, payer, run dates, impressions by country, targeting and AI analysis.

API Documentation

Endpoints

Request
Ads from the LinkedIn Ad Library by company, keyword, payer, ad ID or library URL, with country, date, impression and targeting filters: ad text, headline, button, landing link, images, video and document links, format, payer, run dates, impressions by country and targeting where LinkedIn publishes them, and a B2B intent score. Advertiser ranking for a topic, new-ads monitor, video transcript, text on the image and AI marketing analysis. No login or cookies needed from you.
Endpoint ID: 45338
GET https://zylalabs.com/api/16020/linkedin+ad+library+api/45338/search+ads
INPUT PARAMETERS

Search Ads — Endpoint Features

Object Description
format Optional Only these formats, comma-separated: single image, video, carousel, document, message, conversation, event, article, text, job, follow company, spotlight.
input Optional Fields: accountOwner (string), activeOnly (boolean), adIds (array), adTypes (array), adUrls (array), advertiserSampleAds (integer), analyzeAds (boolean), compact (boolean), companies (array), companyIds (array), countries (array), dateOption (string), downloadMedia (boolean), endDate (string), excludeEmptyFields (boolean), excludeKeywords (array), excludedTargetingFacetCategories (array), impressionsMax (integer), impressionsMin (integer), includeDetails (boolean), includeEmployerBranding (boolean), includeKeywords (array), includedTargetingFacetCategories (array), keyword (string), keywords (array), maxAdsPerSearch (integer), maxItems (integer), minDaysRunning (integer), mode (string: all|new-only), monitorName (string), ocrImageAds (boolean), payer (string), payers (array), resultType (string: ads|advertisers), skipDetails (boolean), startDate (string), startUrls (array), transcribeVideos (boolean), urlsFromFile (string)
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
only_new Optional Only ads this API key has not received before under the same stateKey.
ai_analysis Optional Marketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary.
transcribe Optional Speech of each video ad as text: transcript, language, first 3 seconds (hook3s), timed segments. Fewer ads per call; send nextCursor for the rest.
result_type Optional advertisers: rank who advertises for the search, from a sample of its ads. Default ads.
min_days Optional Only ads running for at least this many days.
active_only Optional Only ads shown in the last two days.
targeting Optional Only ads that target by these facets, comma-separated: language, location, audience, demographic, company, education, job, interests_and_traits.
company Optional Company names, LinkedIn company page URLs or company IDs. Comma-separate several (max 10). Give company, q, payer, ad_id or url.
details Optional Open each ad: dates, impressions, targeting, payer, landing link and media (default true). false returns the faster list view.
max Optional Maximum ads per search (1-5000, default 20). When one call cannot carry them all, send nextCursor for the rest.
period Optional Only ads shown in this period.
country Optional Country codes (ISO 2 letters), comma-separated. Default: all countries.
url Optional An Ad Library search or ad URL with your filters already set (one per call).
ad_id Optional Ad IDs. Comma-separate several (max 20).
payer Optional Who paid for the ads (name). Comma-separate several (max 5).
q Optional Keywords to search in ads. Comma-separate several (max 5).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

format
input
cursor
only_new
ai_analysis
transcribe
result_type
min_days
active_only
targeting
company
details
max
period
country
url
ad_id
payer
q
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1650803163",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1650803163",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1650803163",
            "advertiserName": "HubSpot",
            "format": "SINGLE_IMAGE",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/C4D0BAQF8H-SLmMDZlA/company-logo_100_100/company-logo_100_100/0/1646683330132/hubspot_logo?e=1798070400&v=beta&t=bjgklWfJ9i5Q6Ngb3gqpNR0jTmX9MrHsRpVuaXAstQs",
            "textPreview": "Marketeurs, réservez votre place pour découvrir Marketing Studio et vos nouveaux coéquipiers IA. Places limitées.",
            "advertiserUrl": "https://www.linkedin.com/company/68529",
            "body": "Marketeurs, réservez votre place pour découvrir Marketing Studio et vos nouveaux coéquipiers IA. Places limitées.",
            "headline": "Réservez votre place",
            "description": "Je m'inscris",
            "clickUrl": "https://offers.hubspot.fr/demo-en-direct-marketing-studio-et-vos-nouveaux-coequipiers-ia?utm_campaign=53490020-EMEA%202026%20%7C%20Q4%20%7C%20FRANCE%20[fr]%20%7C%20Regional%20%7C%20GTM%20From%20output%20to%20outcomes&utm_source=linkedin&utm_medium=paidsocial&utm_content=internal&utm_id=805100113&hsa_acc=517582366&hsa_cam=805100113&hsa_grp=909780883&hsa_ad=1650803163&hsa_net=linkedin&hsa_ver=3",
            "links": [
                "https://offers.hubspot.fr/demo-en-direct-marketing-studio-et-vos-nouveaux-coequipiers-ia?utm_campaign=53490020-EMEA%202026%20%7C%20Q4%20%7C%20FRANCE%20[fr]%20%7C%20Regional%20%7C%20GTM%20From%20output%20to%20outcomes&utm_source=linkedin&utm_medium=paidsocial&utm_content=internal&utm_id=805100113&hsa_acc=517582366&hsa_cam=805100113&hsa_grp=909780883&hsa_ad=1650803163&hsa_net=linkedin&hsa_ver=3"
            ],
            "ctas": [
                "En savoir plus"
            ],
            "images": [
                "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A",
            "formatName": "Single Image Ad",
            "paidBy": "HubSpot, Inc.",
            "startDate": "2026-12-01",
            "endDate": "2026-12-04",
            "advertiserId": "68529",
            "impressions": "20k-30k",
            "impressionsMin": 20000,
            "impressionsMax": 30000,
            "impressionsPerCountry": [
                {
                    "country": "France",
                    "impressions": "100%",
                    "percent": 100
                }
            ],
            "targeting": [
                {
                    "parameter": "Language",
                    "included": [
                        "Français"
                    ],
                    "text": "Targeting includes Français"
                },
                {
                    "parameter": "Location",
                    "included": [
                        "France"
                    ],
                    "text": "Targeting includes France"
                }
            ],
            "targetingCategoriesUsed": [
                "JOB"
            ],
            "targetingCategoriesExcluded": [
                "AUDIENCE",
                "COMPANY"
            ],
            "daysRunning": 4,
            "isActive": true,
            "availability": {
                "start": "2026-12-01",
                "end": "2026-12-04"
            },
            "adStatus": "ACTIVE",
            "imageUrls": [
                "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A"
            ],
            "totalImpressionsMin": 20000,
            "totalImpressionsMax": 30000,
            "b2bIntentScore": 25,
            "b2bIntentSignals": [
                "+25 targets by job"
            ],
            "input": "HubSpot",
            "searchType": "name",
            "startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=HubSpot",
            "searchTotal": 2783,
            "scrapedAt": "2026-12-04T09:20:54Z",
            "status": "ok"
        }
    ]
}
Search Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16020/linkedin+ad+library+api/45338/search+ads?company=HubSpot&details=true&max=3' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
The ads a company runs on LinkedIn, from the LinkedIn Ad Library: text, headline, button, landing link, media, payer, dates, impressions and targeting where published.
Endpoint ID: 45339
GET https://zylalabs.com/api/16020/linkedin+ad+library+api/45339/company+ads
INPUT PARAMETERS

Company Ads — Endpoint Features

Object Description
company Required Company names, LinkedIn company page URLs or company IDs. Comma-separate several (max 10). Give company, q, payer, ad_id or url.
country Optional Country codes (ISO 2 letters), comma-separated. Default: all countries.
period Optional Only ads shown in this period.
date_from Optional Only ads shown on or after this date (YYYY-MM-DD, within the last 12 months).
date_to Optional Only ads shown on or before this date (YYYY-MM-DD, up to yesterday).
max Optional Maximum ads per search (1-5000, default 20). When one call cannot carry them all, send nextCursor for the rest.
format Optional Only these formats, comma-separated: single image, video, carousel, document, message, conversation, event, article, text, job, follow company, spotlight.
active_only Optional Only ads shown in the last two days.
details Optional Open each ad: dates, impressions, targeting, payer, landing link and media (default true). false returns the faster list view.
only_new Optional Only ads this API key has not received before under the same stateKey.
stateKey Optional With only_new: name of your monitor (letters, numbers, - and _).
compact Optional Shorter rows: drops logos, duplicate fields and long texts of the targeting.
skip_empty Optional Leave out empty fields.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

company
country
period
date_from
date_to
max
format
active_only
details
only_new
stateKey
compact
skip_empty
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1650803163",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1650803163",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1650803163",
            "advertiserName": "HubSpot",
            "format": "SINGLE_IMAGE",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/C4D0BAQF8H-SLmMDZlA/company-logo_100_100/company-logo_100_100/0/1646683330132/hubspot_logo?e=1798070400&v=beta&t=bjgklWfJ9i5Q6Ngb3gqpNR0jTmX9MrHsRpVuaXAstQs",
            "textPreview": "Marketeurs, réservez votre place pour découvrir Marketing Studio et vos nouveaux...",
            "advertiserUrl": "https://www.linkedin.com/company/68529",
            "body": "Marketeurs, réservez votre place pour découvrir Marketing Studio et vos nouveaux...",
            "headline": "Réservez votre place",
            "description": "Je m'inscris",
            "clickUrl": "https://offers.hubspot.fr/demo-en-direct-marketing-studio-et-vos-nouveaux-coequi...",
            "links": [
                "https://offers.hubspot.fr/demo-en-direct-marketing-studio-et-vos-nouveaux-coequi..."
            ],
            "ctas": [
                "En savoir plus"
            ],
            "images": [
                "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A",
            "formatName": "Single Image Ad",
            "paidBy": "HubSpot, Inc.",
            "startDate": "2026-12-01",
            "endDate": "2026-12-04",
            "advertiserId": "68529",
            "impressions": "20k-30k",
            "impressionsMin": 20000,
            "impressionsMax": 30000,
            "impressionsPerCountry": [
                {
                    "country": "France",
                    "impressions": "100%",
                    "percent": 100
                }
            ],
            "targeting": [
                {
                    "parameter": "Language",
                    "included": [
                        "Français"
                    ],
                    "text": "Targeting includes Français"
                },
                {
                    "parameter": "Location",
                    "included": [
                        "France"
                    ],
                    "text": "Targeting includes France"
                }
            ],
            "targetingCategoriesUsed": [
                "JOB"
            ],
            "targetingCategoriesExcluded": [
                "AUDIENCE",
                "COMPANY"
            ],
            "daysRunning": 4,
            "isActive": true,
            "availability": {
                "start": "2026-12-01",
                "end": "2026-12-04"
            },
            "adStatus": "ACTIVE",
            "imageUrls": [
                "https://media.licdn.com/dms/image/v2/D4D10AQFejHZKEXVc-g/image-shrink_1280/B4DaIsSwzOH8Ac-/0/1796039445903/7png?e=2147483647&v=beta&t=YBbRgNg_uCk0J5n7WJ5_jmQSnISndbPgpuna7cdO55A"
            ],
            "totalImpressionsMin": 20000,
            "totalImpressionsMax": 30000,
            "b2bIntentScore": 25,
            "b2bIntentSignals": [
                "+25 targets by job"
            ],
            "input": "HubSpot",
            "searchType": "name",
            "startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=HubSpot",
            "searchTotal": 2783,
            "scrapedAt": "2026-12-04T09:20:56Z",
            "status": "ok"
        },
        {
            "adId": "1650280693",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1650280693",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1650280693",
            "advertiserName": "HubSpot",
            "format": "SINGLE_IMAGE",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/C4D0BAQF8H-SLmMDZlA/company-logo_100_100/company-logo_100_100/0/1646683330132/hubspot_logo?e=1798070400&v=beta&t=bjgklWfJ9i5Q6Ngb3gqpNR0jTmX9MrHsRpVuaXAstQs",
            "textPreview": "Build demand faster, from concept to campaign execution to measurable impact. Se...",
            "advertiserUrl": "https://www.linkedin.com/company/68529",
            "body": "Build demand faster, from concept to campaign execution to measurable impact. Se...",
            "headline": "Prove marketing ROI",
            "clickUrl": "https://offers.hubspot.com/marketing-studio-dec-2026?utm_campaign=APAC&utm_source=linkedin&utm_medium=paid&utm_id=805090063&hsa_acc=517582366&hsa_cam=805090063&hsa_grp=909406333&hsa_ad=1650280693&hsa_net=linkedin&hsa_ver=3",
            "links": [
                "https://offers.hubspot.com/marketing-studio-dec-2026?utm_campaign=APAC&utm_source=linkedin&utm_medium=paid&utm_id=805090063&hsa_acc=517582366&hsa_cam=805090063&hsa_grp=909406333&hsa_ad=1650280693&hsa_net=linkedin&hsa_ver=3"
            ],
            "ctas": [
                "Learn more"
            ],
            "images": [
                "https://media.licdn.com/dms/image/v2/D4D10AQGA-jcY1WCU1Q/image-shrink_1280/B4DaIUlUpZHkAc-/0/1795641658145/EsriAustraliapng?e=2147483647&v=beta&t=JdDGHkal2VVhMoLx2rrvljHL5rv2ZyAzsP166wtOCR0"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D4D10AQGA-jcY1WCU1Q/image-shrink_1280/B4DaIUlUpZHkAc-/0/1795641658145/EsriAustraliapng?e=2147483647&v=beta&t=JdDGHkal2VVhMoLx2rrvljHL5rv2ZyAzsP166wtOCR0",
            "variants": [
                {
                    "body": "%FIRSTNAME%, build demand faster from concept to campaign execution to measurabl...",
                    "headline": "Prove marketing ROI",
                    "clickUrl": "https://offers.hubspot.com/marketing-studio-dec-2026?utm_campaign=APAC&utm_source=linkedin&utm_medium=paid&utm_id=805090063&hsa_acc=517582366&hsa_cam=805090063&hsa_grp=909406333&hsa_ad=1650280693&hsa_net=linkedin&hsa_ver=3",
                    "imageUrl": "https://media.licdn.com/dms/image/v2/D4D10AQGA-jcY1WCU1Q/image-shrink_1280/B4DaIUlUpZHkAc-/0/1795641658145/EsriAustraliapng?e=2147483647&v=beta&t=JdDGHkal2VVhMoLx2rrvljHL5rv2ZyAzsP166wtOCR0",
                    "ctas": [
                        "Learn more"
                    ]
                }
            ],
            "formatName": "Single Image Ad",
            "paidBy": "HubSpot, Inc.",
            "startDate": "2026-11-25",
            "endDate": "2026-12-01",
            "advertiserId": "68529",
            "impressions": "5k-10k",
            "impressionsMin": 5000,
            "impressionsMax": 10000,
            "impressionsPerCountry": [
                {
                    "country": "Australia",
                    "impressions": "40%",
                    "percent": 40
                },
                {
                    "country": "India",
                    "impressions": "28%",
                    "percent": 28
                }
            ],
            "targeting": [
                {
                    "parameter": "Language",
                    "included": [
                        "English"
                    ],
                    "text": "Targeting includes English"
                },
                {
                    "parameter": "Location",
                    "included": [
                        "Australia",
                        "New Zealand"
                    ],
                    "text": "Targeting includes Australia and New Zealand, EMEA and 1 others Asia"
                }
            ],
            "targetingCategoriesUsed": [
                "AUDIENCE"
            ],
            "daysRunning": 7,
            "isActive": false,
            "availability": {
                "start": "2026-11-25",
                "end": "2026-12-01"
            },
            "adStatus": "INACTIVE",
            "imageUrls": [
                "https://media.licdn.com/dms/image/v2/D4D10AQGA-jcY1WCU1Q/image-shrink_1280/B4DaIUlUpZHkAc-/0/1795641658145/EsriAustraliapng?e=2147483647&v=beta&t=JdDGHkal2VVhMoLx2rrvljHL5rv2ZyAzsP166wtOCR0"
            ],
            "totalImpressionsMin": 5000,
            "totalImpressionsMax": 10000,
            "b2bIntentScore": 10,
            "b2bIntentSignals": [
                "+10 targets by audience"
            ],
            "input": "HubSpot",
            "searchType": "name",
            "startUrl": "https://www.linkedin.com/ad-library/search?accountOwner=HubSpot",
            "searchTotal": 2783,
            "scrapedAt": "2026-12-04T09:20:56Z",
            "status": "ok"
        }
    ]
}
Company Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16020/linkedin+ad+library+api/45339/company+ads?company=HubSpot&max=3' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
LinkedIn ads that mention a keyword, with country, date, format and targeting filters.
Endpoint ID: 45340
GET https://zylalabs.com/api/16020/linkedin+ad+library+api/45340/keyword+ads
INPUT PARAMETERS

Keyword Ads — Endpoint Features

Object Description
q Required Keywords to search in ads. Comma-separate several (max 5).
country Optional Country codes (ISO 2 letters), comma-separated. Default: all countries.
period Optional Only ads shown in this period.
date_from Optional Only ads shown on or after this date (YYYY-MM-DD, within the last 12 months).
date_to Optional Only ads shown on or before this date (YYYY-MM-DD, up to yesterday).
max Optional Maximum ads per search (1-5000, default 20). When one call cannot carry them all, send nextCursor for the rest.
format Optional Only these formats, comma-separated: single image, video, carousel, document, message, conversation, event, article, text, job, follow company, spotlight.
targeting Optional Only ads that target by these facets, comma-separated: language, location, audience, demographic, company, education, job, interests_and_traits.
exclude_targeting Optional Only ads that exclude by these facets (same names as targeting).
impressions_min Optional Only ads with at least this many impressions (published for ads shown in the EU).
impressions_max Optional Only ads with at most this many impressions.
details Optional Open each ad: dates, impressions, targeting, payer, landing link and media (default true). false returns the faster list view.
compact Optional Shorter rows: drops logos, duplicate fields and long texts of the targeting.
skip_empty Optional Leave out empty fields.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

q
country
period
date_from
date_to
max
format
targeting
exclude_targeting
impressions_min
impressions_max
details
compact
skip_empty
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1710998946",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1710998946",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1710998946",
            "advertiserName": "Lindsay (Rosenthal) Stathakis",
            "format": "VIDEO",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/D5603AQFHWNHl3jfmDQ/profile-displayphoto-shrink_100_100/B56ZSFyvpoH0Ac-/0/1737411460280?e=1798070400&v=beta&t=mbAgg6_SQAiAdckQT-yRSbcYM_R9-HvCTDjXFFbXBts",
            "textPreview": "3 months ago i made a video about 3 letters that are about to change EVERYTHING.\n\na TON of you had questions.\n\nmostly so…",
            "advertiserUrl": "https://www.linkedin.com/in/gen-z",
            "body": "3 months ago i made a video about 3 letters that are about to change EVERYTHING.\n\na TON of you had questions.\n\nmostly some version of \"ok but what does that act...",
            "clickUrl": "https://lnkd.in/gUSmpb35",
            "links": [
                "https://www.linkedin.com/in/danielsaks",
                "https://www.linkedin.com/company/landbase",
                "https://lnkd.in/gUSmpb35"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D4E05AQEkF2qa8CWnfA/videocover-high/B4EaI3tsgzK0BQ-/0/1796246747054?e=2147483647&v=beta&t=F5Z1lN4wsZDz5DHD6ZOU_6geU_nnbc618iJMDbQEaDw",
            "videos": [
                {
                    "url": "https://dms.licdn.com/playlist/vid/v2/D4E05AQEkF2qa8CWnfA/mp4-720p-30fp-crf28/B4EaI3tsgzK0CM-/0/1796231079906?e=2147483647&v=beta&t=RUtpsqNdjDoD-yVaowOTKu4XRAicVzgPKxK9ADcZfCA",
                    "urlLow": "https://dms.licdn.com/playlist/vid/v2/D4E05AQEkF2qa8CWnfA/mp4-640p-30fp-crf28/B4EaI3tsgzK0CI-/0/1796231079905?e=2147483647&v=beta&t=9L48x27bQj9EwAy5QqgYwWLMQ2sdGIsCduo10tnNlwE",
                    "preview": "https://media.licdn.com/dms/image/v2/D4E05AQEkF2qa8CWnfA/videocover-high/B4EaI3tsgzK0BQ-/0/1796246747054?e=2147483647&v=beta&t=F5Z1lN4wsZDz5DHD6ZOU_6geU_nnbc618iJMDbQEaDw",
                    "language": "en"
                }
            ],
            "videoUrl": "https://dms.licdn.com/playlist/vid/v2/D4E05AQEkF2qa8CWnfA/mp4-720p-30fp-crf28/B4EaI3tsgzK0CM-/0/1796231079906?e=2147483647&v=beta&t=RUtpsqNdjDoD-yVaowOTKu4XRAicVzgPKxK9ADcZfCA",
            "formatName": "Video Ad",
            "paidBy": "Cred.Marketing",
            "externalLinksInText": [
                "https://lnkd.in/gUSmpb35"
            ],
            "videoPosterUrl": "https://media.licdn.com/dms/image/v2/D4E05AQEkF2qa8CWnfA/videocover-high/B4EaI3tsgzK0BQ-/0/1796246747054?e=2147483647&v=beta&t=F5Z1lN4wsZDz5DHD6ZOU_6geU_nnbc618iJMDbQEaDw",
            "b2bIntentScore": 0,
            "input": "crm",
            "searchType": "filters",
            "startUrl": "https://www.linkedin.com/ad-library/search?keyword=crm",
            "searchTotal": 201945,
            "scrapedAt": "2026-12-04T09:20:59Z",
            "status": "ok"
        },
        {
            "adId": "1711155866",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1711155866",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1711155866",
            "advertiserName": "Quora for Business",
            "format": "SINGLE_IMAGE",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/C560BAQHpL2rxiiPgFw/company-logo_100_100/company-logo_100_100/0/1656690774665/quora_for_business_logo?e=1798070400&v=beta&t=wMzppvZn5hKUTxcyILELf-Sq7YXhRBL1y5K112GC7TA",
            "textPreview": "Book a call and we'll map the questions your buyers ask on Quora to a first Quora Ads campaign.",
            "advertiserUrl": "https://www.linkedin.com/company/67088851",
            "body": "Book a call and we'll map the questions your buyers ask on Quora to a first Quora Ads campaign.",
            "headline": "Advertise on Quora",
            "ctas": [
                "Learn more"
            ],
            "images": [
                "https://media.licdn.com/dms/image/v2/D5610AQGF8RQ60IpycA/image-shrink_1280/B56aI4oXL_G4Ac-/0/1796246434799/qfb-mgrplus-1080-m3-call-offerpng?e=2147483647&v=beta&t=ViZW37rw_9LjU5EeLEeMAEZFejWHamF3ynf9tmiewGo"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D5610AQGF8RQ60IpycA/image-shrink_1280/B56aI4oXL_G4Ac-/0/1796246434799/qfb-mgrplus-1080-m3-call-offerpng?e=2147483647&v=beta&t=ViZW37rw_9LjU5EeLEeMAEZFejWHamF3ynf9tmiewGo",
            "formatName": "Single Image Ad",
            "paidBy": "Quora",
            "advertiserId": "67088851",
            "imageUrls": [
                "https://media.licdn.com/dms/image/v2/D5610AQGF8RQ60IpycA/image-shrink_1280/B56aI4oXL_G4Ac-/0/1796246434799/qfb-mgrplus-1080-m3-call-offerpng?e=2147483647&v=beta&t=ViZW37rw_9LjU5EeLEeMAEZFejWHamF3ynf9tmiewGo"
            ],
            "b2bIntentScore": 15,
            "b2bIntentSignals": [
                "+15 copy says 'book a'"
            ],
            "input": "crm",
            "searchType": "filters",
            "startUrl": "https://www.linkedin.com/ad-library/search?keyword=crm",
            "searchTotal": 201945,
            "scrapedAt": "2026-12-04T09:20:59Z",
            "status": "ok"
        }
    ]
}
Keyword Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16020/linkedin+ad+library+api/45340/keyword+ads?q=crm&max=3' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Everything the LinkedIn Ad Library shows about one or more ads, by ad ID: creative, payer, dates, impressions by country and targeting.
Endpoint ID: 45341
GET https://zylalabs.com/api/16020/linkedin+ad+library+api/45341/ad+details
INPUT PARAMETERS

Ad Details — Endpoint Features

Object Description
ad_id Required Ad IDs. Comma-separate several (max 20).
transcribe Optional Speech of each video ad as text: transcript, language, first 3 seconds (hook3s), timed segments. Fewer ads per call; send nextCursor for the rest.
image_text Optional The words written on the ad image (imageText).
ai_analysis Optional Marketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary.
compact Optional Shorter rows: drops logos, duplicate fields and long texts of the targeting.
skip_empty Optional Leave out empty fields.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

ad_id
transcribe
image_text
ai_analysis
compact
skip_empty
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1615887163",
            "adUrl": "https://www.linkedin.com/ad-library/detail/1615887163",
            "adLibraryUrl": "https://www.linkedin.com/ad-library/detail/1615887163",
            "format": "SINGLE_IMAGE",
            "advertiserName": "made2GROW GmbH | HubSpot Platin Partner",
            "advertiserUrl": "https://www.linkedin.com/company/11573825",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/C4D0BAQGgCvj2iDADxQ/company-logo_100_100/company-logo_100_100/0/1630503271637/made2grow_logo?e=1798070400&v=beta&t=jBHVB1efNqBjATrKQnKSEtvfZil2-5BoecwL85v1TOk",
            "body": "Sales: \"These leads are useless.\"\nMarketing: \"Sales never follows up.\"\n\nSound familiar? Marketing and sales still arguing about lead quality?\n\nAt the next HubSp...",
            "headline": "Let's fix that. HUG Berlin · Nov 24",
            "eventUrl": "https://events.hubspot.com/topics/47862/events/304000?utm_campaign=HUG+Berlin+%257C+11/2026&utm_source=linkedin&utm_medium=paid&utm_id=1255285393&hsa_acc=506289119&hsa_cam=1255285393&hsa_grp=902019743&hsa_ad=1615887163&hsa_net=linkedin&hsa_ver=3",
            "eventName": "Let's fix that. HUG Berlin · Nov 24",
            "clickUrl": "https://events.hubspot.com/topics/47862/events/304000?utm_campaign=HUG+Berlin+%257C+11/2026&utm_source=linkedin&utm_medium=paid&utm_id=1255285393&hsa_acc=506289119&hsa_cam=1255285393&hsa_grp=902019743&hsa_ad=1615887163&hsa_net=linkedin&hsa_ver=3",
            "links": [
                "https://events.hubspot.com/topics/47862/events/304000?utm_campaign=HUG+Berlin+%257C+11/2026&utm_source=linkedin&utm_medium=paid&utm_id=1255285393&hsa_acc=506289119&hsa_cam=1255285393&hsa_grp=902019743&hsa_ad=1615887163&hsa_net=linkedin&hsa_ver=3"
            ],
            "ctas": [
                "Attend"
            ],
            "images": [
                "https://media.licdn.com/dms/image/v2/D4D10AQHUONSba7CRQg/image-shrink_800/B4DaHOoggcKIAk-/0/1794468088489/b5ohw1jpg?e=2147483647&v=beta&t=Uynm0SdjR4rMs1_nB1-97quLJdt-d93HeFMejXSLXro"
            ],
            "imageUrl": "https://media.licdn.com/dms/image/v2/D4D10AQHUONSba7CRQg/image-shrink_800/B4DaHOoggcKIAk-/0/1794468088489/b5ohw1jpg?e=2147483647&v=beta&t=Uynm0SdjR4rMs1_nB1-97quLJdt-d93HeFMejXSLXro",
            "formatName": "Single Image Ad",
            "paidBy": "made2GROW GmbH",
            "startDate": "2026-11-12",
            "endDate": "2026-11-18",
            "advertiserId": "11573825",
            "impressions": "1k-5k",
            "impressionsMin": 1000,
            "impressionsMax": 5000,
            "impressionsPerCountry": [
                {
                    "country": "Germany",
                    "impressions": "100%",
                    "percent": 100
                },
                {
                    "country": "Serbia",
                    "impressions": "less than 1%",
                    "percent": 1
                },
                {
                    "country": "Portugal",
                    "impressions": "less than 1%",
                    "percent": 1
                }
            ],
            "targeting": [
                {
                    "parameter": "Language",
                    "included": [
                        "English"
                    ],
                    "text": "Targeting includes English"
                },
                {
                    "parameter": "Location",
                    "included": [
                        "Berlin Metropolitan Area"
                    ],
                    "text": "Targeting includes Berlin Metropolitan Area"
                }
            ],
            "targetingCategoriesUsed": [
                "JOB"
            ],
            "daysRunning": 7,
            "isActive": false,
            "availability": {
                "start": "2026-11-12",
                "end": "2026-11-18"
            },
            "adStatus": "INACTIVE",
            "imageUrls": [
                "https://media.licdn.com/dms/image/v2/D4D10AQHUONSba7CRQg/image-shrink_800/B4DaHOoggcKIAk-/0/1794468088489/b5ohw1jpg?e=2147483647&v=beta&t=Uynm0SdjR4rMs1_nB1-97quLJdt-d93HeFMejXSLXro"
            ],
            "totalImpressionsMin": 1000,
            "totalImpressionsMax": 5000,
            "b2bIntentScore": 25,
            "b2bIntentSignals": [
                "+25 targets by job"
            ],
            "input": "1615887163",
            "searchType": "adUrl",
            "status": "ok",
            "scrapedAt": "2026-12-04T08:31:22Z"
        }
    ]
}
Ad Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16020/linkedin+ad+library+api/45341/ad+details?ad_id=1615887163' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Who advertises on LinkedIn for a keyword or by payer, ranked by number of ads in a sample, with advertiser pages and sample ads.
Endpoint ID: 45342
GET https://zylalabs.com/api/16020/linkedin+ad+library+api/45342/top+advertisers
INPUT PARAMETERS

Top Advertisers — Endpoint Features

Object Description
q Optional Keywords to search in ads. Comma-separate several (max 5).
payer Optional Who paid for the ads (name). Comma-separate several (max 5).
country Optional Country codes (ISO 2 letters), comma-separated. Default: all countries.
period Optional Only ads shown in this period.
max Optional Maximum ads per search (1-5000, default 20). When one call cannot carry them all, send nextCursor for the rest.
sample Optional With result_type=advertisers: how many ads to sample (default 240, max 2400).
skip_empty Optional Leave out empty fields.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

q
payer
country
period
max
sample
skip_empty
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "input": "crm",
            "advertiserName": "ZoomInfo",
            "adsInSample": 10,
            "formats": {
                "SINGLE_IMAGE": 8,
                "VIDEO": 2
            },
            "sampleAdUrls": [
                "https://www.linkedin.com/ad-library/detail/1711106996",
                "https://www.linkedin.com/ad-library/detail/1711136566",
                "https://www.linkedin.com/ad-library/detail/1711029056"
            ],
            "advertiserId": "16272",
            "advertiserUrl": "https://www.linkedin.com/company/16272",
            "paidBy": "Zoominfo Technologies Inc.",
            "shareOfSample": 0.2083,
            "adsSampled": 48,
            "searchTotal": 201960,
            "startUrl": "https://www.linkedin.com/ad-library/search?keyword=crm",
            "status": "ok"
        },
        {
            "input": "crm",
            "advertiserName": "Sessionboard",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQEtWuxMBzF0bQ/company-logo_100_100/B56aIPF.JzKsAI-/0/1795549553506/sessionboard_logo?e=1798070400&v=beta&t=guGStw112_zXIrKyYUvgHcEzfY6ao2ACR-X6ZAsud18",
            "adsInSample": 5,
            "formats": {
                "SINGLE_IMAGE": 5
            },
            "sampleAdUrls": [
                "https://www.linkedin.com/ad-library/detail/1657895744",
                "https://www.linkedin.com/ad-library/detail/1657941764",
                "https://www.linkedin.com/ad-library/detail/1657818164"
            ],
            "advertiserId": "81526228",
            "advertiserUrl": "https://www.linkedin.com/company/81526228",
            "paidBy": "Lennd, Inc.",
            "shareOfSample": 0.1042,
            "adsSampled": 48,
            "searchTotal": 201960,
            "startUrl": "https://www.linkedin.com/ad-library/search?keyword=crm",
            "status": "ok"
        },
        {
            "input": "crm",
            "advertiserName": "MasterSales",
            "advertiserLogo": "https://media.licdn.com/dms/image/v2/D4D0BAQFVX1hXNeYsKQ/company-logo_100_100/B4DZcWq7WoIEAU-/0/1748432042114/mastersalesgmbh_logo?e=1798070400&v=beta&t=75KnKQ3cOw47JVKjeUVHgLvgevSE7uGKCVaT8tTkBes",
            "adsInSample": 3,
            "formats": {
                "SINGLE_IMAGE": 3
            },
            "sampleAdUrls": [
                "https://www.linkedin.com/ad-library/detail/1657961374",
                "https://www.linkedin.com/ad-library/detail/1657866984",
                "https://www.linkedin.com/ad-library/detail/1657971024"
            ],
            "advertiserId": "80239555",
            "advertiserUrl": "https://www.linkedin.com/company/80239555",
            "paidBy": "Mastersales GmbH",
            "shareOfSample": 0.0625,
            "adsSampled": 48,
            "searchTotal": 201960,
            "startUrl": "https://www.linkedin.com/ad-library/search?keyword=crm",
            "status": "ok"
        }
    ]
}
Top Advertisers — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16020/linkedin+ad+library+api/45342/top+advertisers?q=crm&max=5&sample=48' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the LinkedIn Ad Library API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Ads from the LinkedIn Ad Library by company, keyword, payer or ad ID: ad text, headline, media, landing link, payer, run dates, impressions by country, targeting and AI analysis.

LinkedIn Ad Library API FAQs

Ads from the LinkedIn Ad Library by company, keyword, payer or ad ID: ad text, headline, media, landing link, payer, run dates, impressions by country, targeting and AI analysis.

Live. Every call fetches fresh public data at request time, so results reflect what is online right now.

Use the max parameter where available. Larger requests take longer; split big jobs into several calls for faster answers.

The API falls back to a second route automatically. If both routes fail you get a clear error response.

Yes. It is a plain HTTPS GET that returns JSON, so any language or no-code tool that can make HTTP requests works.

Yes, please. Suggestions, feature requests, ideas for a new tool, feedback and complaints are all welcome. Send them through Zyla: we read our messages every day and answer every one.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs