Use case, LinkedIn Ad Library

LinkedIn Ad Library API for your agent. One call per search.

Send a company or a keyword. Read ad headline and description back. Your agent picks the provider, and you pay per call.

Give this to your agent
set up looot - https://looot.ai/skill.md

The job

What the LinkedIn Ad Library API gives your agent

LinkedIn is where B2B brands spend, and its Ad Library lists the ads they run. Your agent searches it by company or keyword and reads the headline, the description and the ad type of each. It shows which firms target your buyers and what they say.

The five endpoints split between the library search and the company view. Four search by keyword, company name or company ID, most with country and date filters. One starts from a company's domain or LinkedIn page ID and lists what that company runs. One provider accepts impression ranges and a payer filter, which narrows the list to ads that reached many people.

You give

a company or a keyword

data warehouse

You get

  • Ad headline and description
  • Ad type
  • Advertiser
  • Call to action
  • Dates

Sample calls

The request and what comes back

Each run is one POST to /v1/runs with an endpoint id and an input. These are illustrative calls with generic values. The run's result holds the provider's own fields.

Request
{"endpointId":"scrapecreators-linkedin-ads-search","input":{"keyword":"data warehouse"},"wait":30}
ResponseSample output
// POST /v1/runs, then read run.status and run.result
// result: searches by company name, keyword or company ID with country and date filters, and returns the headline, description and ad type

The prompt

Copy one prompt, give it to your agent.

Edit the names and numbers, paste it, and the agent runs the job and shows the cost.

  • One run is one search.
  • 1 steps across 4 providers.
  • Runs on demand, whenever you ask.
Prompt: LinkedIn Ad Library API
Use looot to search the LinkedIn Ad Library for the keyword data warehouse and return the advertiser, headline, description and ad type for each ad. 1. Set up https://looot.ai/skill.md. 2. Search the catalog for each step and check its price before you call. 3. Run the cheapest endpoint that fits. 4. Show the results as a table and the total cost.

Give this to your agent
Setup command
set up looot - https://looot.ai/skill.md

Before you start

Settle these before the first run

  • Keep dates inside the window. LinkedIn accepts dates from one year ago through yesterday on one provider here, and a custom range needs both a start and an end.
  • Search by company ID when you have it. A name can match many pages, and the ID goes straight to the advertiser.
  • Read the ad type. Single image, video, carousel and message ads behave differently, and the type field tells you which.

FAQ

Questions people ask

Send a keyword or a company to a LinkedIn ad endpoint. Your agent returns the ads with the advertiser, the headline and the description.

For agents
use case
LinkedIn Ad Library API
run
search
schedule
on demand
step
Search the ad library: scrapecreators anysite searchapi-io adyntel
setup
https://looot.ai/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-04

Try LinkedIn Ad Library with your own agent.

Start your workspace, top up, and paste the prompt into the agent you already use.