LinkedIn Ad Library Company & Keyword Search
Search LinkedIn Ad Library creatives by company name or keyword with ad copy, CTA, advertiser details, format, and impression metadata.
curl -sG "https://api.agentapigate.ai/v1/ads/linkedin/search" \ --data-urlencode "company=microsoft" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# LinkedIn Ad Library Company & Keyword Search (`ads.linkedin.search`) **company**: microsoft · **total_ads**: 27073 · **count**: 10 ## ads - [1] ad_id: 1703848596, advertiser: Microsoft, ad_type: Video Ad, headline: Microsoft Ignite: Opening Keynote 2026, cta: Learn more - [2] ad_id: 1703747846, advertiser: Microsoft, ad_type: Carousel Ad, ad_url: https://www.linkedin.com/ad-library/detail/1703747846, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/B56ZYQ0mrGGoAU-/0/1744038948046/microsoft_logo?e=1797465600&v=beta&t=1mPm7MOEs - [3] ad_id: 1704680496, advertiser: Microsoft, ad_type: Document Ad, ad_url: https://www.linkedin.com/ad-library/detail/1704680496, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/B56ZYQ0mrGGoAU-/0/1744038948046/microsoft_logo?e=1797465600&v=beta&t=1mPm7MOEs - [4] ad_id: 1706186226, advertiser: Microsoft in Business, ad_type: Single Image Ad, headline: Your hub for Microsoft Security trainings and certifications, cta: Learn more - [5] ad_id: 1706223966, advertiser: Microsoft in Business, ad_type: Carousel Ad, ad_url: https://www.linkedin.com/ad-library/detail/1706223966, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQGfxIUgUdeVww/company-logo_100_100/B56ZgZynj1HQAQ-/0/1752779356692?e=1797465600&v=beta&t=qTEJ_W-RP50S - [6] ad_id: 1706223976, advertiser: Microsoft in Business, ad_type: Carousel Ad, ad_url: https://www.linkedin.com/ad-library/detail/1706223976, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQGfxIUgUdeVww/company-logo_100_100/B56ZgZynj1HQAQ-/0/1752779356692?e=1797465600&v=beta&t=qTEJ_W-RP50S - [7] ad_id: 1651877784, advertiser: Microsoft Software AB S.A., ad_type: Message Ad, cta: Gotowość na AI, ad_url: https://www.linkedin.com/ad-library/detail/1651877784 - [8] ad_id: 1651974294, advertiser: Microsoft Software AB S.A., ad_type: Message Ad, cta: Gotowość AI, ad_url: https://www.linkedin.com/ad-library/detail/1651974294 - [9] ad_id: 1706281286, advertiser: Microsoft in Business, ad_type: Carousel Ad, ad_url: https://www.linkedin.com/ad-library/detail/1706281286, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQGfxIUgUdeVww/company-logo_100_100/B56ZgZynj1HQAQ-/0/1752779356692?e=1797465600&v=beta&t=qTEJ_W-RP50S - [10] ad_id: 1704389546, advertiser: Microsoft in Business, ad_type: Document Ad, ad_url: https://www.linkedin.com/ad-library/detail/1704389546, advertiser_logo: https://media.licdn.com/dms/image/v2/D560BAQGfxIUgUdeVww/company-logo_100_100/B56ZgZynj1HQAQ-/0/1752779356692?e=1797465600&v=beta&t=qTEJ_W-RP50S
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:ads.linkedin.search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| company | string | optional | microsoft | Advertiser company name (e.g. microsoft, stripe) |
| keyword | string | optional | — | Optional ad copy keyword filter |
| countries | string | optional | — | Optional comma-separated country codes (e.g. US,GB) |
| limit | number | optional | 10 | Max ads (1-25) |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0030 / call | $0/mo · Balance never expires |
| Remote MCP Tool | ads_linkedin_search | OAuth 2.1 Hub & /mcp/b2b |
| x402 Base USDC | $0.0030 / call | Zero-signup USDC enabled |
| P50 Latency | 9470 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 6407t → 711t (-89%) | Partner credit: eligible |
More LinkedIn, B2B & Trade Real-Time APIs
Search live remote and tech job postings across ATS boards (Greenhouse, Ashby, Lever, Remotive, Arbeitnow) by role or skill.
Fetch live open roles directly from a company board across Greenhouse, Ashby, Lever, or SmartRecruiters.
Compute real-time headcount expansion signals, department distribution, and remote ratio from a company ATS board.
Verify legal corporate entities, Legal Entity Identifiers (LEI), registered headquarters, and entity status via GLEIF.
Discover public professional profiles, titles, and company affiliations by name, role, and company.
Search global ocean & air Bills of Lading, importers, exporters, ports, weights, and HS-code shipment records across international customs manifests.
Frequently Asked Questions
How do I call LinkedIn Ad Library Company & Keyword Search (ads.linkedin.search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/ads/linkedin/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool ads_linkedin_search on https://mcp.agentapigate.ai/mcp.
What does ads.linkedin.search cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.003 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on ads.linkedin.search?
Passing ?format=md transforms the response into normalized Markdown (~711 tokens vs ~6407 raw tokens, saving 89% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only b2b endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["b2b"], optional allowed_endpoints: ["ads.linkedin.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.