urlstringwymagane
LinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035).
https://api.sandbase.ai/v1/api/linkedin/adsSearch the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
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).
VIDEO, SINGLE_IMAGE and MESSAGE that a brand uses.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.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | LinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035). |
limit | integer | No | Maximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less. |
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
}
| Field | Meaning |
|---|---|
data.items[].advertiser | Name of the company that runs the ad. |
data.items[].advertiserLogo | URL of the advertiser logo image. It can be an empty string. |
data.items[].format | Ad format, for example MESSAGE, VIDEO or SINGLE_IMAGE. |
data.items[].id | ID of the ad in the LinkedIn Ad Library, given as a string. |
data.items[].text | Creative text of the ad. Long text may end with an ellipsis. |
data.items[].image | URL 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[].url | Link to the ad detail page in the LinkedIn Ad Library. |
found | true when the lookup returned results. |
https://www.linkedin.com/company/stripe, or an Ad Library search URL such as https://www.linkedin.com/ad-library/search?companyIds=1035.limit (maximum 20) to control how many ads come back.id value of an ad with LinkedIn Ad Details to get more on a single ad.Billed at the actual cost of each call, about $0.0331 for the request above. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
urlstringwymaganeLinkedIn Ad Library search URL or a LinkedIn company URL (e.g. https://www.linkedin.com/ad-library/search?companyIds=1035).
limitintegerMaximum number of results to return (1-20, default 20). You are billed per result returned, so a lower limit costs less.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
LinkedIn Ads LibraryTo API LinkedIn | Od $0.0331 za wywołanie | JSON |
LinkedIn | Od $0.0012 za wywołanie | JSON |
LinkedIn | Od $0.0012 za wywołanie | JSON |
LinkedIn | Od $0.00569 za wywołanie | JSON |
LinkedIn | Od $0.0026 za wywołanie | JSON |
LinkedIn | Od $0.0026 za wywołanie | JSON |
Przewodniki:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/linkedin/ads z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.0331 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: url (string). Opcjonalne: limit (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. LinkedIn Ads Library działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API LinkedIn.