Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

LinkedIn Ad Search

Documentazione API
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.

Prezzo
Da $0.0012USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
0 obbligatori · 7 opzionali

Playground

Input
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.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
LinkedInDa $0.0012 per chiamataJSON
LinkedInDa $0.0012 per chiamataJSON
LinkedInDa $0.0331 per chiamataJSON
LinkedInDa $0.00569 per chiamataJSON
LinkedInDa $0.0026 per chiamataJSON
LinkedInDa $0.0026 per chiamataJSON

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

Domande

FAQ

Come uso l'API LinkedIn Ad Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/linkedin/ads-search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API LinkedIn Ad Search?

A partire da $0.0012 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API LinkedIn Ad Search?

Nessun parametro richiesto. Facoltativi: company (string), endDate (string), keyword (string), companyId (string), countries (string) e startDate (string) e altri 1. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API LinkedIn Ad Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API LinkedIn?

No. LinkedIn Ad Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API LinkedIn.