{"uid":"cap_SpF3hmKWBa8tQgMS1jpin","slug":"socialfetch-linkedin-ad-library-search-8b6c833f","name":"SocialFetch LinkedIn Ad Library Search","description":"Search LinkedIn Ad Library ads by company, keyword, or company id.","url":"https://api.socialfetch.dev/v1/linkedin/ad-library/ads/search","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"cursor":{"type":"string","minLength":1,"description":"Opaque pagination cursor from a previous response."},"company":{"type":"string","maxLength":4096,"minLength":1,"description":"Company name to search for in the LinkedIn Ad Library."},"endDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Optional end date filter in YYYY-MM-DD format."},"keyword":{"type":"string","maxLength":4096,"minLength":1,"description":"Keyword or phrase to search for in LinkedIn Ad Library ads."},"companyId":{"type":"string","maxLength":4096,"minLength":1,"description":"LinkedIn company id to search for in the Ad Library."},"countries":{"type":"string","maxLength":4096,"minLength":1,"description":"Optional comma-separated list of country codes (for example US,CA,MX)."},"startDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Optional start date filter in YYYY-MM-DD format."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.014","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2Zr-ncfYC-kBw345oCNdD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search the LinkedIn Ad Library for ads by company name, keyword, or company ID, with optional date range and country filters.","exampleAgentPrompt":"Can you search the LinkedIn Ad Library for ads from Salesforce — keyword 'CRM' — in the US between January 1 2025 and March 31 2025?","exampleUseCases":null,"resultDescription":"A paginated list of LinkedIn Ad Library ad records matching the search criteria, including ad creatives and advertiser metadata, plus an opaque cursor for fetching the next page of results.","failureModes":["No ads found matching the query — empty results list returned","Invalid date format causes validation error","Invalid country code returns no results or error","Missing required search parameter (company, keyword, or companyId) results in error","Pagination cursor from a different query causes unexpected results","Rate limiting or quota exceeded returns an error response"],"whenToPreferThis":"Use this endpoint when you need to search across multiple LinkedIn ads by company name, keyword, or company ID — especially for competitive research, ad monitoring, or market intelligence. Prefer this over the single-ad lookup endpoint when you need discovery or bulk retrieval rather than fetching a specific known ad.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:01:18.512Z","isFirstParty":false}