Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

LinkedIn Ads Library

API दस्तावेज़
https://api.sandbase.ai/v1/api/linkedin/ads

Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).

मूल्य
से $0.0331USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
LinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035).
120
Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. सीमा: 1 से 20.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

LinkedIn Ads Library API

Returns a list of ads from the LinkedIn Ad Library that match a search URL or a LinkedIn company page URL. Each ad includes the advertiser name, the ad text, the ad format, and a link to the ad detail page. The url parameter is required, and limit caps the number of ads returned (1-20).

Use cases

  • Review the ads a competitor currently runs on LinkedIn by passing their company page URL.
  • Collect ad copy from one advertiser to study messaging and calls to action.
  • Compare ad formats such as VIDEO, SINGLE_IMAGE and MESSAGE that a brand uses.
  • Build a list of ad IDs and detail URLs to fetch full ad details later.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/ads" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/company/stripe", "limit": 3}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesLinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035).
limitintegerNoMaximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "advertiser": "Stripe",
        "advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQE2ZfJyfn-VCg/company-logo_100_100/B5…",
        "format": "MESSAGE",
        "id": "1662503636",
        "image": "",
        "text": "%FIRSTNAME% 様、Stripe Japan チームの Youngah Lee と申します。11月24日 (火) に開催される SaaS Platfor…",
        "url": "https://www.linkedin.com/ad-library/detail/1662503636"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].advertiserName of the company that runs the ad.
data.items[].advertiserLogoURL of the advertiser logo image. It can be an empty string.
data.items[].formatAd format, for example MESSAGE, VIDEO or SINGLE_IMAGE.
data.items[].idID of the ad in the LinkedIn Ad Library, given as a string.
data.items[].textCreative text of the ad. Long text may end with an ellipsis.
data.items[].imageURL of the ad image. It is an empty string when the ad has no image, such as MESSAGE and VIDEO ads in this sample.
data.items[].urlLink to the ad detail page in the LinkedIn Ad Library.
foundtrue when the lookup returned results.

Notes

  • Pass a LinkedIn company URL such as https://www.linkedin.com/company/stripe, or an Ad Library search URL such as https://www.linkedin.com/ad-library/search?companyIds=1035.
  • The response shows no pagination parameter. Use limit (maximum 20) to control how many ads come back.
  • Use the id value of an ad with LinkedIn Ad Details to get more on a single ad.
  • To search ads by keyword or other filters, try LinkedIn Ad Search.

Pricing

Billed at the actual cost of each call, about $0.0331 for the request above. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
LinkedIn$0.0331 प्रति कॉल सेJSON
LinkedIn$0.0012 प्रति कॉल सेJSON
LinkedIn$0.0012 प्रति कॉल सेJSON
LinkedIn$0.00569 प्रति कॉल सेJSON
LinkedIn$0.0026 प्रति कॉल सेJSON
LinkedIn$0.0026 प्रति कॉल सेJSON

गाइड्स:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

प्रश्न

FAQ

LinkedIn Ads Library API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/linkedin/ads पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

LinkedIn Ads Library API की लागत कितनी है?

$0.0331 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

LinkedIn Ads Library API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। वैकल्पिक: limit (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

LinkedIn Ads Library API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक LinkedIn developer account या API key चाहिए?

नहीं। LinkedIn Ads Library SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से LinkedIn API access के लिए आवेदन करने की आवश्यकता नहीं है।