Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

LinkedIn Ad Search

API-Dokumentation
https://api.sandbase.ai/v1/api/linkedin/ads-search

Search the LinkedIn Ad Library by company or keyword and list matching ads (advertiser, headline, creative text, format, CTA, and run dates) with pagination.

Preis
Ab $0.0012USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 7 optional

Playground

Eingabe
Company name to search (e.g. "microsoft").
Search end date in YYYY-MM-DD format. Today or a later date is moved back to yesterday in UTC when your range overlaps LinkedIn's accepted dates. When you send startDate without endDate, the search ends yesterday in UTC, the latest day LinkedIn accepts.
Keyword term for the ad search.
LinkedIn company identifier.
Comma-separated two-letter country codes (e.g. "US,CA,MX").
Search start date in YYYY-MM-DD format. An earlier date is moved up to one year ago in UTC when your range overlaps LinkedIn's accepted dates.
Opaque pagination token from a previous response's nextCursor.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

LinkedIn Ad Search API

This API searches the LinkedIn Ad Library and returns a page of matching ads. Each ad includes the advertiser, headline, body text, format, call to action, run dates and impression range. Send a company name, a companyId or a keyword, and optionally narrow the results by country and date range.

Use cases

  • Track which ads a competitor runs on LinkedIn and how their messaging changes over time.
  • Collect ad creative text and headlines for a swipe file or messaging research.
  • Check which countries and date ranges a company targets by filtering with countries, startDate and endDate.
  • Compare the ad formats a brand uses, such as single image and carousel ads.

Request

curl -X POST "https://api.sandbase.ai/v1/api/linkedin/ads-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"company": "microsoft"}'

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

Parameters

NameTypeRequiredDescription
companystringNoCompany name to search (e.g. "microsoft").
companyIdstringNoLinkedIn company identifier.
countriesstringNoComma-separated two-letter country codes (e.g. "US,CA,MX").
endDatestringNoSearch end date in YYYY-MM-DD format. Today or a later date is moved back to yesterday in UTC when your range overlaps LinkedIn's accepted dates. When you send startDate without endDate, the search ends yesterday in UTC,
keywordstringNoKeyword term for the ad search.
paginationTokenstringNoOpaque pagination token from a previous response's nextCursor.
startDatestringNoSearch start date in YYYY-MM-DD format. An earlier date is moved up to one year ago in UTC when your range overlaps LinkedIn's accepted dates.

Example response

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

{
  "data": {
    "ads": [
      {
        "adType": "Single Image Ad",
        "advertiser": "Microsoft",
        "advertiserLinkedinPage": "https://www.linkedin.com/company/1035",
        "advertiserLogo": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_100_100/B5…",
        "cta": "Registrieren",
        "description": "Nehmen Sie am 10. November beim Microsoft Frontier Transformation Day in Wien te…",
        "destinationUrl": "https://msevents.microsoft.com/event?id=4123375389&wt.mc_id=3084764_QSG_PD_SCL_6…",
        "endDate": "2026-11-03T00:00:00.000Z",
        "headline": "Frontier Transformation Day | 10. Nov.",
        "id": "1624217084",
        "startDate": "2026-10-30T00:00:00.000Z",
        "totalImpressions": "10k-20k"
      }
    ],
    "nextCursor": "1624207074-1793359876270",
    "totalAds": 26901
  },
  "found": true
}

Response fields

FieldMeaning
data.ads[].idAd ID. Use it to build or look up the ad detail page.
data.ads[].urlLink to the ad's page in the LinkedIn Ad Library.
data.ads[].advertiserName of the advertiser running the ad.
data.ads[].advertiserLinkedinPageURL of the advertiser's LinkedIn company page. The number at the end is the LinkedIn company ID.
data.ads[].adTypeAd format, for example Single Image Ad or Carousel Ad.
data.ads[].headline / data.ads[].description / data.ads[].ctaHeadline, body text and call-to-action label of the ad. They are in the ad's own language and can be empty strings.
data.ads[].destinationUrlLanding page URL the ad links to. It is empty for some ads.
data.ads[].startDate / data.ads[].endDateISO 8601 timestamps for when the ad ran. They are empty strings when the library shows no dates.
data.ads[].totalImpressionsImpression range as a text bucket, for example 10k-20k. It is empty when not shown.
data.nextCursorToken for the next page of results.
data.totalAdsTotal number of ads that match the search.

Notes

  • Send data.nextCursor as paginationToken in the next request to get the following page.
  • Dates use the YYYY-MM-DD format in requests. Ad dates in the response are full ISO timestamps.
  • Some ads return empty strings for headline, cta, endDate and totalImpressions, so check for blanks before you use them.
  • To get more detail on a single ad, pass its id to LinkedIn Ad Details.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
LinkedInAb $0.0012 pro AufrufJSON
LinkedInAb $0.0012 pro AufrufJSON
LinkedInAb $0.0331 pro AufrufJSON
LinkedInAb $0.00569 pro AufrufJSON
LinkedInAb $0.0026 pro AufrufJSON
LinkedInAb $0.0026 pro AufrufJSON

Anleitungen:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die LinkedIn Ad Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/linkedin/ads-search mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die LinkedIn Ad Search API?

Ab $0.0012 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die LinkedIn Ad Search API?

Es sind keine Parameter erforderlich. Optional: company (string), endDate (string), keyword (string), companyId (string), countries (string) und startDate (string) und 1 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die LinkedIn Ad Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein LinkedIn-Entwicklerkonto oder einen API-Schlüssel?

Nein. LinkedIn Ad Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für LinkedIn API beantragen.