Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

LinkedIn Ad Search

Docs da 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.

Preço
A partir de $0.0012USD / chamada
Método
POST
Resposta
JSON
Parâmetros
0 obrigatórios · 7 opcionais

Playground

Entrada
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.
SaídaPronto

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

README da 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.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
LinkedInA partir de $0.0012 por chamadaJSON
LinkedInA partir de $0.0012 por chamadaJSON
LinkedInA partir de $0.0331 por chamadaJSON
LinkedInA partir de $0.00569 por chamadaJSON
LinkedInA partir de $0.0026 por chamadaJSON
LinkedInA partir de $0.0026 por chamadaJSON

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

Perguntas

FAQ

Como eu uso a API LinkedIn Ad Search?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/linkedin/ads-search com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API LinkedIn Ad Search?

A partir de $0.0012 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API LinkedIn Ad Search aceita?

Nenhum parâmetro é obrigatório. Opcionais: company (string), endDate (string), keyword (string), companyId (string), countries (string) e startDate (string) e mais 1. A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API LinkedIn Ad Search retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor LinkedIn ou de uma chave de API?

Não. LinkedIn Ad Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do LinkedIn separadamente.