linkedin-ad-library/
search
tiktok / profilesTikTok Profiles APItiktok / videosTikTok Videos APItiktok / video-transcriptTikTok Video Transcript APItiktok / commentsTikTok Comments APItiktok / comment-repliesTikTok Comment Replies APItiktok / searchTikTok Search APItiktok / hashtagsTikTok Hashtags APItiktok / trending-feedTikTok Trending Feed APItiktok / followers-listTikTok Followers List APItiktok / following-listTikTok Following List APItiktok / user-videosTikTok User Videos APItiktok / live-room-infoTikTok Live Room Info APIx / profilesTwitter Profile Scraper APIx / followers-listX Followers List APIx / postsTwitter Tweet Scraper APIx / post-retweetersX Post Retweeters APIx / user-postsTwitter User Tweets Scraper APIx / searchTwitter Search APIx / following-listX Following List APIx / post-quotesX Post Quotes APIx / post-repliesX Post Replies APIx / trendsX Trends APIinstagram / postsInstagram Posts APIinstagram / post-infoInstagram Post Info APIinstagram / hashtag-postsInstagram Hashtag Posts APIinstagram / reels-searchInstagram Reels Search APIinstagram / story-highlightsInstagram Story Highlights APIinstagram / tagged-postsInstagram Tagged Posts APIinstagram / transcriptInstagram Transcript APIinstagram / audio-reelsInstagram Audio Reels APIinstagram / commentsInstagram Comments APIfacebook / pagesFacebook Pages APIfacebook / postsFacebook Posts APIfacebook / group-postsFacebook Group Posts APIfacebook / reelsFacebook Reels APIfacebook / commentsFacebook Comments APIfacebook / comment-repliesFacebook Comment Replies APIfacebook / company-reviewsFacebook Company Reviews APIfacebook / video-transcriptFacebook Video Transcript APIfacebook / ad-transcriptFacebook Ad Transcript APIfacebook / events-searchFacebook Events Search APIfacebook / event-detailsFacebook Event Details APIfacebook / profile-eventsFacebook Profile Events APIfacebook / profile-photosFacebook Profile Photos APIfacebook / profilesFacebook Profiles APIinstagram / followers-countInstagram Followers Count APIinstagram / profilesInstagram Profiles APIinstagram / followers-listInstagram Followers List APIinstagram / following-listInstagram Following List APIinstagram / reelsInstagram Reels APIinstagram / searchInstagram Search APIinstagram / highlight-itemsInstagram Highlight Items APIinstagram / trending-reelsInstagram Trending Reels APIyoutube / channelsYouTube Channels APIyoutube / videosYouTube Videos APIyoutube / channel-videosYouTube Channel Videos APIyoutube / playlist-videosYouTube Playlist Videos APIyoutube / channel-live-videosYouTube Channel Live Videos APIyoutube / commentsYouTube Comments APIyoutube / comment-repliesYouTube Comment Replies APIyoutube / community-postsYouTube Community Posts APIyoutube / shortsYouTube Shorts APIyoutube / searchYouTube Search APIyoutube / hashtag-searchYouTube Hashtag Search APIyoutube / transcriptsYouTube Transcripts APIlinkedin / profilesLinkedIn Profiles APIlinkedin / companiesLinkedIn Companies APIlinkedin / postsLinkedIn Posts APIlinkedin / jobsLinkedIn Jobs APIlinkedin / company-jobsLinkedIn Company Jobs APIlinkedin / company-postsLinkedIn Company Posts APIlinkedin / post-commentsLinkedIn Post Comments APIlinkedin / profile-postsLinkedIn Profile Posts APIlinkedin / search-jobsLinkedIn Search Jobs APIlinkedin / search-peopleLinkedIn Search People APIlinkedin / search-postsLinkedIn Search Posts APIreddit / postsReddit Posts APIreddit / commentsReddit Comments APIreddit / subreddit-postsReddit Subreddit Posts APIreddit / searchReddit Search APIpinterest / profilesPinterest Profiles APIpinterest / pinsPinterest Pins APIpinterest / user-pinsPinterest User Pins APIpinterest / searchPinterest Search APIthreads / postsThreads Posts APIthreads / profilesThreads Profiles APIthreads / user-postsThreads User Posts APIbluesky / profileBluesky Profile APIbluesky / postBluesky Post APIbluesky / user-postsBluesky User Posts APIfacebook-marketplace / location-searchFacebook Marketplace Location Search APIfacebook-marketplace / searchFacebook Marketplace Search APIfacebook-marketplace / itemFacebook Marketplace Item APIfacebook-ad-library / adFacebook Ad Library Ad APIfacebook-ad-library / company-adsFacebook Ad Library Company Ads APIfacebook-ad-library / company-searchFacebook Ad Library Company Search APIfacebook-ad-library / searchFacebook Ad Library Search APIgoogle-ad-library / adGoogle Ad Library Ad APIgoogle-ad-library / advertiser-searchGoogle Ad Library Advertiser Search APIgoogle-ad-library / company-adsGoogle Ad Library Company Ads APIgoogle-maps / searchGoogle Maps Search APIgoogle-maps / place-detailsGoogle Maps Place Details APIgoogle-maps / reviewsGoogle Maps Reviews APItiktok-ad-library / adTikTok Ad Library Ad APItiktok-ad-library / searchTikTok Ad Library Search APIlinkedin-ad-library / adLinkedIn Ad Library Ad APIlinkedin-ad-library / searchLinkedIn Ad Library Search APItiktok-shop / searchTikTok Shop Search APItiktok-shop / productsTikTok Shop Products APItiktok-shop / productTikTok Shop Product APItiktok-shop / product-reviewsTikTok Shop Product Reviews APIseo / google-organic-serpGoogle Organic SERP APIseo / keyword-difficultyKeyword Difficulty APIseo / keyword-overviewKeyword Overview APIseo / keyword-search-volumeKeyword Search Volume APIseo / keywords-for-siteKeywords for Site APIseo / keyword-suggestionsKeyword Suggestions APIseo / ranked-keywordsRanked Keywords APIseo / related-keywordsRelated Keywords APIseo / relevant-pagesRelevant Pages APIseo / search-intentSearch Intent APItiktok-shop / user-showcaseTikTok Shop User Showcase APIsnapchat / profileSnapchat Profile APIsnapchat / spotlightSnapchat Spotlight APIsnapchat / spotlight-commentsSnapchat Spotlight Comments APItwitch / profileTwitch Profile APItwitch / user-videosTwitch User Videos APIkwai / profileKwai Profile APIkwai / user-postsKwai User Posts APIkwai / postKwai Post APIamazon / best-sellersAmazon Best Sellers APIamazon / product-detailAmazon Product Details APIamazon / product-searchAmazon Product Search APIamazon / reviewsAmazon Reviews APIamazon / seller-infoAmazon Seller Info APIgoogle-play / app-detailGoogle Play App Detail APIgoogle-play / app-rankingsGoogle Play App Rankings APIgoogle-play / app-reviewsGoogle Play App Reviews APIapple-app-store / app-detailApple App Store App Detail APIapple-app-store / app-reviewsApple App Store App Reviews APIapple-app-store / rankingsApple App Store Rankings APItruth-social / profileTruth Social Profile APItruth-social / user-postsTruth Social User Posts APItruth-social / postTruth Social Post APIdouyin / live-room-detailDouyin Live Room Detail APIdouyin / user-profileDouyin User Profile APIdouyin / user-videosDouyin User Videos APIdouyin / video-commentsDouyin Video Comments APIdouyin / video-detailDouyin Video Detail APIdouyin / video-searchDouyin Video Search APIrednote / comment-repliesRednote Comment Replies APIrednote / home-recommendationsRednote Home Recommendations APIrednote / note-commentsRednote Note Comments APIrednote / note-detailRednote Note Detail APIrednote / search-notesRednote Search Notes APIrednote / search-usersRednote Search Users APIrednote / user-notesRednote User Notes APIrednote / user-profileRednote User Profile API

按公司、公司 ID 或关键词搜索公开 LinkedIn 广告,并使用国家和日期筛选,返回标准化广告主、创意、投放、目标链接、展示次数和媒体字段。

LinkedIn Ad Library Search API

公司与关键词搜索
每页 24 条
公开广告披露
每条结果 0.5 积分
等待提交
等待提交

填写参数并发送请求,任务状态和标准化结果会显示在这里。

README

LinkedIn Ad Library Search

LinkedIn Ad Library Search 通过公司名称、精确公司 ID、关键词或这些输入的组合,发现仍可检索的公开广告披露。返回记录会标准化来源提供的广告主身份、创意文本、详情 URL、投放时间、国家、展示次数、格式、目标链接和媒体,并且不会把缺失披露字段当作零。

主要特性

  • 三种发现输入可使用公司名称、关键词、精确 LinkedIn 公司 ID,或在一个请求中组合这些字段;至少要提供其中一个。
  • 国家与日期筛选通过两位国家代码和可选的 YYYY-MM-DD 投放日期区间缩小公开索引范围。
  • 标准化公开广告记录在来源披露时返回稳定的广告身份、广告主、创意、详情 URL、日期、市场、格式、目标链接、展示次数和媒体字段。
  • 有界令牌分页以 24 的倍数请求 24 到 1,992 条记录,SocQ 会继续使用新的上游分页令牌,直到达到上限或没有下一可用页。
  • 从搜索进入详情当某条搜索结果需要可用的详情记录时,可把返回的 /ad-library/detail/ URL 交给 LinkedIn Ad Library Ad。

参数

参数必填描述
company必填(至少一项)公司或广告主名称。company、keyword 和 company_id 至少需要一个。
keyword必填(至少一项)用于公开广告搜索的文本,具体匹配规则由公开来源决定。
company_id必填(至少一项)作为搜索输入的精确 LinkedIn 公司 ID。
countries可选可选两位字母国家代码列表,建议使用大写形式,例如 US 和 CA。
start_date可选可选公开投放日期筛选起点,格式为 YYYY-MM-DD。
end_date可选可选公开投放日期筛选终点,格式为 YYYY-MM-DD,且不能早于 start_date。
results_limit可选请求的最大记录数。默认 24,可设置为 24 到 1,992 之间且为 24 倍数的整数。

如何使用

至少选择一个发现字段,只添加用于定义样本的筛选条件,然后读取异步任务的完整结果页。

  1. 提供 company、keyword 或 company_id;只有确实需要更窄的来源匹配时才组合多个字段。
  2. 可选添加两位 countries、有效日期区间,以及 24 的倍数 results_limit。
  3. 向 /v1/linkedin-ad-library/search POST 请求并保存返回的 task_id。
  4. 轮询 /v1/tasks/{task_id},读取 data.results.items,并在 has_more 为 true 时继续使用 next_cursor。
curl -X POST "https://api.socq.ai/v1/linkedin-ad-library/search" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company":"Microsoft","countries":["US"],"results_limit":24}'

# 轮询 GET /v1/tasks/{task_id}
# 读取 data.results.items,并在 has_more 为 true 时继续使用 next_cursor

最佳使用场景

  • 发现广告主公开广告 使用公司名称或精确公司 ID,整理采集时可观察到的该广告主公开广告。
  • 文案与主题研究 搜索产品、竞品或主题关键词,对比返回的创意文本、格式、媒体和目标链接。
  • 市场与时间窗口比较 使用一致查询和受控国家、日期筛选重复采集,对比定义明确的公开披露样本。
  • 选择详情候选 根据返回的广告 ID 和详情 URL,挑选需要交给独立详情接口进一步查看的记录。

使用建议

  • 先从一个发现字段开始;只有需要更窄的来源匹配结果时,才组合 company、keyword 和 company_id。
  • 虽然当前校验器接受大小写字母,但建议使用大写国家代码,以保持保存输入一致。
  • 以每 24 条为一个增量设置 results_limit,并把它视为采集上限,而不是结果数量承诺。
  • 比较多次采集时保留查询、筛选条件和 collected_at,因为公开可用性和保留记录会变化。
  • 广告主、日期、国家、展示次数、目标链接、格式或媒体为空时,应视为披露数据不可用,而不是零。

需要其他类型的 LinkedIn Ad Library 公开数据时,可以使用以下 API。

  • LinkedIn Ad Library Ad API通过准确详情 URL 获取一条已知公开 LinkedIn Ad Library 记录,返回标准化广告主、创意、投放、目标链接、展示次数和媒体字段。

探索其他平台

还可以将 LinkedIn Ad Library 数据与其他已支持社交平台的公开数据结合使用。

LinkedIn Ad Library Search API常见问题