Call it
curl https://api.peume.com/v1/call/find-a-company-s-linkedin-ads \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"company_domain": "hubspot.com",
"live_ads": false
}
}'const res = await fetch("https://api.peume.com/v1/call/find-a-company-s-linkedin-ads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"company_domain": "hubspot.com",
"live_ads": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/find-a-company-s-linkedin-ads",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"company_domain": "hubspot.com",
"live_ads": False
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: find-a-company-s-linkedin-ads.
Parameters
company_domainstringExample: hubspot.com
linkedin_page_idstringcontinuation_tokenstringextractstringnumber_of_ads
live_adsbooleanExample: false
Other ways to do it
Same job, other sources, cheapest first.
Search LinkedIn adsRetrieve a list of LinkedIn Ads matching the specified search criteria.Search LinkedIn ad library by company or keywordSearches the LinkedIn Ad Library by company name, keyword, or companyId with optional country and date filters.Search LinkedIn ads by keywordReturn one page of LinkedIn Ad Library matches with optional country and date filters.
