A company's LinkedIn ads by domain or name — creatives
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 5
}'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search"
payload = { "limit": 5 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 5})
};
fetch('https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 5
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search"
payload := strings.NewReader("{\n \"limit\": 5\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 5\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 5\n}"
response = http.request(request)
puts response.read_body{
"ads": [
{
"ad_id": "<string>",
"ad_type": "<string>",
"ad_url": "<string>",
"advertiser": "<string>",
"advertiser_linkedin_url": "<string>",
"carousel_images": [
"<unknown>"
],
"content": "<string>",
"creative_type": "<string>",
"cta_text": "<string>",
"description": "<string>",
"end_date": null,
"headline": "<string>",
"image_url": null,
"impressions_by_country": [
"<unknown>"
],
"landing_page_url": null,
"link": "<string>",
"message_ad": null,
"organic_video_url": null,
"post_label": null,
"posted_by": "<string>",
"pre_roll_video_url": null,
"promoted_by": null,
"run_duration": null,
"start_date": null,
"targeting": null,
"total_impressions": null,
"video_url": null
}
],
"ads_count": 123,
"company": {
"city": "<string>",
"company_size": "<string>",
"country": "<string>",
"domain": "<string>",
"industry": "<string>",
"linkedin_url": "<string>",
"logo_url": "<string>",
"name": "<string>",
"state": "<string>"
},
"message": "<string>"
}LeadMagic
A company's LinkedIn ads by domain or name — creatives
at least one of company_domain | company_name is required. Responses appear to cap near 24 ads. The response header X-Credits-Max-Cost shows the reserved amount before committing
POST
https://api.aisa.one
/
apis
/
v1
/
leadmagic
/
b2b-ads-search
A company's LinkedIn ads by domain or name — creatives
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 5
}'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search"
payload = { "limit": 5 }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({limit: 5})
};
fetch('https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'limit' => 5
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search"
payload := strings.NewReader("{\n \"limit\": 5\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"limit\": 5\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"limit\": 5\n}"
response = http.request(request)
puts response.read_body{
"ads": [
{
"ad_id": "<string>",
"ad_type": "<string>",
"ad_url": "<string>",
"advertiser": "<string>",
"advertiser_linkedin_url": "<string>",
"carousel_images": [
"<unknown>"
],
"content": "<string>",
"creative_type": "<string>",
"cta_text": "<string>",
"description": "<string>",
"end_date": null,
"headline": "<string>",
"image_url": null,
"impressions_by_country": [
"<unknown>"
],
"landing_page_url": null,
"link": "<string>",
"message_ad": null,
"organic_video_url": null,
"post_label": null,
"posted_by": "<string>",
"pre_roll_video_url": null,
"promoted_by": null,
"run_duration": null,
"start_date": null,
"targeting": null,
"total_impressions": null,
"video_url": null
}
],
"ads_count": 123,
"company": {
"city": "<string>",
"company_size": "<string>",
"country": "<string>",
"domain": "<string>",
"industry": "<string>",
"linkedin_url": "<string>",
"logo_url": "<string>",
"name": "<string>",
"state": "<string>"
},
"message": "<string>"
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: POST /apis/v1/leadmagic/b2b-ads-search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/leadmagic/b2b-ads-search
{
"operationId": "leadmagic.b2b-ads-search",
"method": "POST",
"path": "/apis/v1/leadmagic/b2b-ads-search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"company_domain": {
"examples": [
"leadmagic.io"
],
"type": "string"
},
"company_name": {
"type": "string"
},
"limit": {
"maximum": 10,
"minimum": 1,
"type": "integer"
}
},
"required": [
"limit"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"ads": {
"items": {
"additionalProperties": true,
"properties": {
"ad_id": {
"type": "string"
},
"ad_type": {
"type": "string"
},
"ad_url": {
"type": "string"
},
"advertiser": {
"type": "string"
},
"advertiser_linkedin_url": {
"type": "string"
},
"carousel_images": {
"items": {},
"type": "array"
},
"content": {
"type": "string"
},
"creative_type": {
"type": "string"
},
"cta_text": {
"type": "string"
},
"description": {
"type": "string"
},
"end_date": {
"type": "null"
},
"headline": {
"type": "string"
},
"image_url": {
"type": "null"
},
"impressions_by_country": {
"items": {},
"type": "array"
},
"landing_page_url": {
"type": "null"
},
"link": {
"type": "string"
},
"message_ad": {
"type": "null"
},
"organic_video_url": {
"type": "null"
},
"post_label": {
"type": "null"
},
"posted_by": {
"type": "string"
},
"pre_roll_video_url": {
"type": "null"
},
"promoted_by": {
"type": "null"
},
"run_duration": {
"type": "null"
},
"start_date": {
"type": "null"
},
"targeting": {
"type": "null"
},
"total_impressions": {
"type": "null"
},
"video_url": {
"type": "null"
}
},
"type": "object"
},
"type": "array"
},
"ads_count": {
"type": "integer"
},
"company": {
"additionalProperties": true,
"properties": {
"city": {
"type": "string"
},
"company_size": {
"type": "string"
},
"country": {
"type": "string"
},
"domain": {
"type": "string"
},
"industry": {
"type": "string"
},
"linkedin_url": {
"type": "string"
},
"logo_url": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"type": "string"
}
},
"type": "object"
},
"message": {
"type": "string"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.05 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Response time
- Typically returns within 30 seconds.
Authorizations
Body
application/json
Response
Observed successful JSON response. This partial structure comes from successful probe or sampled requests; fields and types may vary. No field is guaranteed to be present. Last observed: 2026-11-14.