Search LinkedIn Ad Library ads
curl --request GET \
--url https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search"
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/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/linkedin/ad-library/ads/search",
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/search"
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/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search")
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{
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "cursor"
},
"data": {
"ads": [
{
"adType": "<string>",
"advertiser": {
"logoUrl": "<string>",
"name": "<string>",
"pageUrl": "<string>"
},
"creative": {
"carouselImageUrls": [
"<unknown>"
],
"cta": "<string>",
"destinationUrl": "<string>",
"imageUrl": "<string>",
"videoUrl": "<string>"
},
"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>"
}
],
"page": {
"hasMore": true,
"nextCursor": "<string>",
"totalResults": 123
}
},
"meta": {
"version": "<string>"
}
}LinkedIn 广告库
Search LinkedIn Ad Library ads
Searches LinkedIn Ad Library ads by company, keyword or company id, with optional country and date filters. Provide company, keyword or companyId. Results are paged: while data.page.hasMore is true, send data.page.nextCursor as cursor to get the next page.
GET
https://api.aisa.one
/
apis
/
v1
/
linkedin
/
ad-library
/
ads
/
search
Search LinkedIn Ad Library ads
curl --request GET \
--url https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search"
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/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/linkedin/ad-library/ads/search",
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/search"
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/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search")
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{
"aisa_pagination": {
"has_more": true,
"next_cursor": "<string>",
"next_param": "cursor"
},
"data": {
"ads": [
{
"adType": "<string>",
"advertiser": {
"logoUrl": "<string>",
"name": "<string>",
"pageUrl": "<string>"
},
"creative": {
"carouselImageUrls": [
"<unknown>"
],
"cta": "<string>",
"destinationUrl": "<string>",
"imageUrl": "<string>",
"videoUrl": "<string>"
},
"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>"
}
],
"page": {
"hasMore": true,
"nextCursor": "<string>",
"totalResults": 123
}
},
"meta": {
"version": "<string>"
}
}
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。
请求规范
- 方法与路径: GET /apis/v1/linkedin/ad-library/ads/search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/linkedin/ad-library/ads/search - company: query; 可选
- companyId: query; 可选
- countries: query; 可选
- cursor: query; 可选
- endDate: query; 可选
- keyword: query; 可选
- startDate: query; 可选
{
"operationId": "linkedin.ad-library.ads.search",
"method": "GET",
"path": "/apis/v1/linkedin/ad-library/ads/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "company",
"required": false,
"schema": {
"description": "Company name to search for in the LinkedIn Ad Library.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "companyId",
"required": false,
"schema": {
"description": "LinkedIn company id to search for in the Ad Library.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "countries",
"required": false,
"schema": {
"description": "Optional comma-separated list of country codes (for example US,CA,MX).",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "cursor",
"required": false,
"schema": {
"description": "Opaque pagination cursor from a previous response.",
"maxLength": 16384,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "endDate",
"required": false,
"schema": {
"description": "Optional end date filter in YYYY-MM-DD format.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "keyword",
"required": false,
"schema": {
"description": "Keyword or phrase to search for in LinkedIn Ad Library ads.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "startDate",
"required": false,
"schema": {
"description": "Optional start date filter in YYYY-MM-DD format.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
已观察到的响应结构
以下结构来自探针或抽样请求的成功结果,只反映已观察到的部分:字段和类型可能变化,不保证每次都有。已有正式响应定义优先;这里不发布真实响应值。- HTTP 状态 / 最近观察日期: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"ads": {
"items": {
"additionalProperties": true,
"properties": {
"adType": {
"type": "string"
},
"advertiser": {
"additionalProperties": true,
"properties": {
"logoUrl": {
"type": [
"null",
"string"
]
},
"name": {
"type": "string"
},
"pageUrl": {
"type": "string"
}
},
"type": "object"
},
"creative": {
"additionalProperties": true,
"properties": {
"carouselImageUrls": {
"items": {},
"type": "array"
},
"cta": {
"type": [
"null",
"string"
]
},
"destinationUrl": {
"type": [
"null",
"string"
]
},
"imageUrl": {
"type": [
"null",
"string"
]
},
"videoUrl": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"creativeType": {
"type": "string"
},
"description": {
"type": [
"null",
"string"
]
},
"duration": {
"additionalProperties": true,
"properties": {
"endedAt": {
"type": [
"null",
"string"
]
},
"label": {
"type": [
"null",
"string"
]
},
"startedAt": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"headline": {
"type": [
"null",
"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": [
"null",
"string"
]
}
},
"type": "object"
},
"poster": {
"type": [
"null",
"string"
]
},
"posterTitle": {
"type": [
"null",
"string"
]
},
"promotedBy": {
"type": [
"null",
"string"
]
},
"targeting": {
"additionalProperties": true,
"properties": {
"audience": {
"type": "null"
},
"company": {
"type": "null"
},
"language": {
"type": [
"null",
"string"
]
},
"location": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"page": {
"additionalProperties": true,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": "string"
},
"totalResults": {
"type": "integer"
}
},
"type": "object"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
费用与请求规则
按实际用量收费。 默认请求预估费用:$0.042 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。翻页
- 把
aisa_pagination.next_cursor作为cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more为 false 时停止。 - 响应头
X-AISA-Has-More与X-AISA-Next-Cursor返回相同的值。
响应时间
- 通常 30 秒内返回。
授权
查询参数
响应
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.