Search LinkedIn ads
harvestapi.linkedin.ads.searchRetrieve a list of LinkedIn Ads matching the specified search criteria.
- Price
- $0.0016/callAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 10 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/harvestapi.linkedin.ads.search?accountOwner=MicrosoftPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
Use only the declared query parameters, once each, without a request body. Results are provider-native: inspect element/elements and body status/error; HTTP 200 alone does not prove a hit. Empty results can still be charged.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
enddate | chaîne | Facultatif | End date for 'custom-date-range' filter in 'YYYY-MM-DD' format | |
keyword | chaîne | Facultatif | Search by keyword | |
countries | chaîne | Facultatif | One or comma separated list of country codes to filter ads by country. Eg. 'US,GB,FR'. Supports "ALL" value to search in all countries. | |
startdate | chaîne | Facultatif | Start date for 'custom-date-range' filter in 'YYYY-MM-DD' format | |
dateOption | chaîne | Facultatif | One of the following options to filter ads by date: 'last-30-days', 'current-month', 'current-year', 'last-year', 'custom-date-range' | |
accountOwner | chaîne | Facultatif | Search by company or advertiser name | Microsoft |
paginationToken | chaîne | Facultatif | Pagination token from the previous response for fetching the next page | |
- Paramètres de requête
enddatechaîneFacultatifEnd date for 'custom-date-range' filter in 'YYYY-MM-DD' format
keywordchaîneFacultatifSearch by keyword
countrieschaîneFacultatifOne or comma separated list of country codes to filter ads by country. Eg. 'US,GB,FR'. Supports "ALL" value to search in all countries.
startdatechaîneFacultatifStart date for 'custom-date-range' filter in 'YYYY-MM-DD' format
dateOptionchaîneFacultatifOne of the following options to filter ads by date: 'last-30-days', 'current-month', 'current-year', 'last-year', 'custom-date-range'
accountOwnerchaîneFacultatifSearch by company or advertiser name
Exemple :
MicrosoftpaginationTokenchaîneFacultatifPagination token from the previous response for fetching the next page
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/harvestapi.linkedin.ads.search?accountOwner=Microsoft' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/harvestapi.linkedin.ads.search?accountOwner=Microsoft",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/harvestapi.linkedin.ads.search?accountOwner=Microsoft", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0016/call, frais de service inclus.