# LinkedIn Ad Library API: search a company's ads by keyword or name (2026)

1 call, about 24 ads a page: linkedin.ads.search with a keyword (query) or a company name (advertiser), and region if wanted, at $0.0020 a page, each ad with advertiser, copy, headline, image and video creatives, landing page, run dates, impressions band and the language and location it targets. OneFeedAPI reads LinkedIn with 7 endpoints, from $0.0020 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Updated 2026-11-11

## What to know when searching by company?

`advertiser` searches by company name and is not used with `query`; ads from the company's other pages (a developers' page, say) may be among them, told apart by each ad's advertiser. One ad is `linkedin.ads.get` by its ID or library link.

## How much of impressions and targeting?

Impressions are the platform's band (`ext.impressions_range`), not an exact count; targeting gives language (`ext.targeting_language`) and location (`ext.targeting_location`), as far as the platform publishes. Pass `page.next_cursor` back as `cursor`; a failed call is not charged.

## How do I use it from an AI?

Once connected, say “get the recent LinkedIn ads of these 3 companies, 2 pages each, and compare their headlines, calls to action and target locations”.

To connect: paste this to your AI assistant: “Read https://onefeedapi.com/agents.md and set up OneFeedAPI here. My API key is dx_…; use it for every OneFeedAPI call.” A client that takes a remote MCP server can be given `https://onefeedapi.com/mcp` with the header `Authorization: Bearer <key>` instead.

## Why OneFeedAPI

- Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
- Fewer tokens: across 7 endpoints on LinkedIn, one recorded real response each, the platform's own JSON comes to 37k tokens and what an AI reads through OneFeedAPI's MCP server to 8,290, 77% fewer; the JSON of a direct API call is 41% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.onefeedapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [LinkedIn Ad Library search](https://onefeedapi.com/apis/linkedin/ads/search/) ($0.0020 / a call): Search the ads of the LinkedIn Ad Library by keyword or by the company that advertises: advertiser, text, headline, images and videos, landing page, first and last day shown, bracket of impressions, the languages and locations targeted; can be limited to a country.
- [LinkedIn ad detail](https://onefeedapi.com/apis/linkedin/ads/get/) ($0.0020 / a call): Get one ad of the LinkedIn Ad Library by its ID or link: advertiser, text, headline, images and videos, landing page, first and last day shown, bracket of impressions, the languages and locations targeted.

## More about LinkedIn

- [LinkedIn API](https://onefeedapi.com/apis/linkedin/)

---

Catalog revision dc959672dd18e2d0. [HTML version](https://onefeedapi.com/answers/linkedin-ad-library-api/)
