Get LinkedIn Ad Library ad
curl --request GET \
--url https://api.aisa.one/apis/v1/linkedin/ad-library/ads \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/linkedin/ad-library/ads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/linkedin/ad-library/ads', 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/linkedin/ad-library/ads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkedin/ad-library/ads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/linkedin/ad-library/ads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkedin/ad-library/ads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"ad": {
"adType": "<string>",
"advertiser": {
"logoUrl": "<string>",
"name": "<string>",
"pageUrl": "<string>"
},
"creative": {
"carouselImageUrls": [
"<unknown>"
],
"cta": null,
"destinationUrl": "<string>",
"imageUrl": "<string>",
"videoUrl": null
},
"creativeType": "<string>",
"description": "<string>",
"duration": {
"endedAt": "<string>",
"label": "<string>",
"startedAt": "<string>"
},
"headline": "<string>",
"id": "<string>",
"impressions": {
"byCountry": [
{
"country": "<string>",
"share": "<string>"
}
],
"total": "<string>"
},
"poster": "<string>",
"posterTitle": "<string>",
"promotedBy": "<string>",
"targeting": {
"audience": null,
"company": null,
"language": "<string>",
"location": "<string>"
},
"url": "<string>"
},
"lookupStatus": "<string>"
},
"meta": {
"version": "<string>"
}
}LinkedIn Ad Library
Get LinkedIn Ad Library ad
Returns a LinkedIn Ad Library ad. Provide adId or url.
GET
https://api.aisa.one
/
apis
/
v1
/
linkedin
/
ad-library
/
ads
Get LinkedIn Ad Library ad
curl --request GET \
--url https://api.aisa.one/apis/v1/linkedin/ad-library/ads \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/linkedin/ad-library/ads"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/linkedin/ad-library/ads', 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/linkedin/ad-library/ads",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/linkedin/ad-library/ads"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/linkedin/ad-library/ads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkedin/ad-library/ads")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"ad": {
"adType": "<string>",
"advertiser": {
"logoUrl": "<string>",
"name": "<string>",
"pageUrl": "<string>"
},
"creative": {
"carouselImageUrls": [
"<unknown>"
],
"cta": null,
"destinationUrl": "<string>",
"imageUrl": "<string>",
"videoUrl": null
},
"creativeType": "<string>",
"description": "<string>",
"duration": {
"endedAt": "<string>",
"label": "<string>",
"startedAt": "<string>"
},
"headline": "<string>",
"id": "<string>",
"impressions": {
"byCountry": [
{
"country": "<string>",
"share": "<string>"
}
],
"total": "<string>"
},
"poster": "<string>",
"posterTitle": "<string>",
"promotedBy": "<string>",
"targeting": {
"audience": null,
"company": null,
"language": "<string>",
"location": "<string>"
},
"url": "<string>"
},
"lookupStatus": "<string>"
},
"meta": {
"version": "<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: GET /apis/v1/linkedin/ad-library/ads
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/linkedin/ad-library/ads - adId: query; optional
- url: query; optional
{
"operationId": "linkedin.ad-library.ads",
"method": "GET",
"path": "/apis/v1/linkedin/ad-library/ads",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "adId",
"required": false,
"schema": {
"description": "LinkedIn Ad Library id for the ad.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "url",
"required": false,
"schema": {
"description": "Public LinkedIn Ad Library URL for the ad.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"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": {
"data": {
"additionalProperties": true,
"properties": {
"ad": {
"additionalProperties": true,
"properties": {
"adType": {
"type": "string"
},
"advertiser": {
"additionalProperties": true,
"properties": {
"logoUrl": {
"type": "string"
},
"name": {
"type": "string"
},
"pageUrl": {
"type": "string"
}
},
"type": "object"
},
"creative": {
"additionalProperties": true,
"properties": {
"carouselImageUrls": {
"items": {},
"type": "array"
},
"cta": {
"type": "null"
},
"destinationUrl": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"videoUrl": {
"type": "null"
}
},
"type": "object"
},
"creativeType": {
"type": "string"
},
"description": {
"type": "string"
},
"duration": {
"additionalProperties": true,
"properties": {
"endedAt": {
"type": "string"
},
"label": {
"type": "string"
},
"startedAt": {
"type": "string"
}
},
"type": "object"
},
"headline": {
"type": "string"
},
"id": {
"type": "string"
},
"impressions": {
"additionalProperties": true,
"properties": {
"byCountry": {
"items": {
"additionalProperties": true,
"properties": {
"country": {
"type": "string"
},
"share": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"total": {
"type": "string"
}
},
"type": "object"
},
"poster": {
"type": "string"
},
"posterTitle": {
"type": "string"
},
"promotedBy": {
"type": "string"
},
"targeting": {
"additionalProperties": true,
"properties": {
"audience": {
"type": "null"
},
"company": {
"type": "null"
},
"language": {
"type": "string"
},
"location": {
"type": "string"
}
},
"type": "object"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"lookupStatus": {
"type": "string"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.042 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.