LinkedIn Ad Library API

Search LinkedIn's public Ad Library by company or keyword: ad id, advertiser, headline, ad text, format, image and a link to the ad's detail page, for studying competitor campaigns.

$1 per 1,000 records

You pay only for the records you get. Zero records cost zero. 5,000 free records to start, no card.

Try it
Ready-made, maintained by usRecords, 7 fieldsv1.0

Data from linkedin.com/ad-library/search?accountOwner=nike

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Advertiseroptional
Company name to search ads for, as you would type it in the Ad Library.
Example: nike
Keywordoptional
Optional word that must appear in the ad text.
Example: hiring

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 5,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/linkedin-ad-library/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
5,000 free records to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/linkedin-ad-library/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"advertiser":"nike"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

advertisertext
Company name to search ads for, as you would type it in the Ad Library.
example: nike
keywordtext
Optional word that must appear in the ad text.
example: hiring

What's in each record

7 fields: 6 here, 1 technical one under Technical details.

Basics

  • Advertiser

    Name of the advertiser.

    Example Nikeonis Inc.

  • Headline

    Headline shown under the ad's image.

    Example Celonis finds the problem. Nikeonis manages the fix.

  • Ad text

    Preview text of the ad (long posts are cut off).

    Example Celonis shows your customer where the process breaks. Nikeonis gets it fixed, with action workbenches - a ticketing,…

  • Format

    Ad format, such as a single image ad or a video.

    Example Single Image Ad

Pictures and media

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Ad ID ad_idLinkedIn's id of the ad.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
ad_idtextAd ID (hidden)3 of 3
advertisertextAdvertiser3 of 3
headlinetextHeadline3 of 3
ad_texttextAd text3 of 3
formattextFormat3 of 3
image_urllinkImage3 of 3
detail_urllinkDetail link3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordHeadlineAdvertiserAd textFormatDetail linkImage
1Celonis finds the problem. Nikeonis manages the fix.Nikeonis Inc.Celonis shows your customer where the process breaks. Nikeonis gets it fixed, with action workbenches - a ticketing, col…Single Image Adlinkedin.com/ad-library/detail/1690228936media.licdn.com/dms/image/v2/D4E10AQG7LCF4nlnj8w/image-shrink_1280/B4EaHSBWnSHwAY-/0/1794524932749/1B-6-min-to-3-hourspng?e=2147483647&v=beta&t=Liw1qVAmbrfFBGyS3FKHrUIwTsDpzw9CZIOtoBq89wM
2Add the Nikeonis booth to your customer's agendaNikeonis Inc.At Celosphere with a customer? Bring them by and we'll show them how the issues Celonis uncovers get owned, tracked and …Single Image Adlinkedin.com/ad-library/detail/1690383526media.licdn.com/dms/image/v2/D4E10AQE_59VAL_rXeA/image-shrink_1280/B4EaHSL9.SGkAY-/0/1794527715431/4A-bring-your-customerspng?e=2147483647&v=beta&t=8SrkYrnwkmNwAy_qZLFqQsmS0Y9N74E_cAOC2CuMO78
3Your next upsell is on the Celosphere show floorNikeonis Inc.Celonis reps: your next upsell is on the show floor. Visit the Nikeonis booth at Celosphere 2026 and see Action Workbenc…Single Image Adlinkedin.com/ad-library/detail/1690277836media.licdn.com/dms/image/v2/D4E10AQHl-Owscf4vRw/image-shrink_1280/B4EaHSELjDGoAY-/0/1794525673950/3A-come-find-uspng?e=2147483647&v=beta&t=10E_0vbJWwRpGuiTWnVOoxiVUY8RerbeY8e5AhlOBtc

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Only ads from the public Ad Library are returned, 24 per page; one run returns at most 1,000 ads.
  • The advertiser search matches names loosely, so 'nike' also returns advertisers with similar names; check the advertiser field.
  • Ads promoted from a person's own profile are left out; only company advertisers are returned.
  • ad_text is the preview text and is cut off with an ellipsis on long posts; landing links, dates and impression ranges are not on the preview cards and are not returned.
  • Requests are spaced 2 seconds apart, so a 1,000-ad run takes several minutes; the run stops at once if LinkedIn asks for a sign-in.
  • The Library covers ads created in the last year, and ads in the EU and Brazil are listed with more detail than elsewhere; the list changes as ads start and stop.
  • Public LinkedIn Ad Library pages; credit LinkedIn as the source and keep volume modest.

Version history

A run uses the live version unless the request names another one with version.