A company's Meta (Facebook/Instagram) ads by domain
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/meta-ads-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 5
}'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/meta-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/meta-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/meta-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/meta-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/meta-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/meta-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{
"company": {
"city": "<string>",
"country": "<string>",
"domain": "<string>",
"industry": "<string>",
"name": "<string>",
"state": "<string>"
},
"message": "<string>"
}LeadMagic
A company's Meta (Facebook/Instagram) ads by domain
at least one of company_domain | company_name is required
POST
https://api.aisa.one
/
apis
/
v1
/
leadmagic
/
meta-ads-search
A company's Meta (Facebook/Instagram) ads by domain
curl --request POST \
--url https://api.aisa.one/apis/v1/leadmagic/meta-ads-search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"limit": 5
}'import requests
url = "https://api.aisa.one/apis/v1/leadmagic/meta-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/meta-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/meta-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/meta-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/meta-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/meta-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{
"company": {
"city": "<string>",
"country": "<string>",
"domain": "<string>",
"industry": "<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/meta-ads-search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/leadmagic/meta-ads-search
{
"operationId": "leadmagic.meta-ads-search",
"method": "POST",
"path": "/apis/v1/leadmagic/meta-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-27
{
"additionalProperties": true,
"properties": {
"company": {
"additionalProperties": true,
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"domain": {
"type": "string"
},
"industry": {
"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.025 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Response time
- Typically returns within 10 seconds.
Authorizations
Body
application/json