AgentAPIGate
Back to Catalog
GET /v1/ads/linkedin/searchPack: b2b·MCP Tool: ads_linkedin_search

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.

API Key Price:$0.0030 / call
x402 Base USDC:$0.0030 / call
Partner Credit:eligible
1. Parameters & Controls
Advertiser company name (e.g. microsoft, stripe)
Optional ad copy keyword filter
Optional comma-separated country codes (e.g. US,GB)
Max ads (1-25)
Get $0.25 Free Key →
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"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-89% tokens
# 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
ParameterTypeReqSample / DefaultDescription
companystringoptionalmicrosoftAdvertiser company name (e.g. microsoft, stripe)
keywordstringoptional—Optional ad copy keyword filter
countriesstringoptional—Optional comma-separated country codes (e.g. US,GB)
limitnumberoptional10Max ads (1-25)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0030 / call$0/mo · Balance never expires
Remote MCP Toolads_linkedin_searchOAuth 2.1 Hub & /mcp/b2b
x402 Base USDC$0.0030 / callZero-signup USDC enabled
P50 Latency9470 ms$0 billed on empty or 4xx/5xx
Token Economy6407t → 711t (-89%)Partner credit: eligible

More LinkedIn, B2B & Trade Real-Time APIs

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.