Search TikTok Ad Library ads
curl --request GET \
--url https://api.aisa.one/apis/v1/tiktok/ad-library/ads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tiktok/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/tiktok/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/tiktok/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/tiktok/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/tiktok/ad-library/ads/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tiktok/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{
"data": {
"ads": [
{
"advertiserBusinessId": "6876464402330026753",
"brandName": "APPLE EUROPE LIMITED",
"category": "News & Entertainment",
"cost": 1,
"ctr": 0.5,
"estimatedAudience": "1K-10K",
"firstShownAt": "2025-02-13T00:00:00.000Z",
"format": "video",
"id": "1869335220395266",
"imageUrls": [],
"industryKey": "label_22108000000",
"lastShownAt": "2026-08-30T00:00:00.000Z",
"likeCount": 92,
"moderation": {
"auditStatus": "1",
"rejectionReason": null
},
"objective": "campaign_objective_reach",
"title": null,
"url": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
"video": {
"coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
"durationSeconds": 89.767,
"height": 1280,
"id": "v12044gd0000d8erq07og65h1cq991gg",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
"p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
},
"width": 720
},
"videos": [
{
"coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
"durationSeconds": 89.767,
"height": 1280,
"id": "v12044gd0000d8erq07og65h1cq991gg",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
"p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
},
"width": 720
}
]
}
],
"advertiserMatches": [
{
"businessId": "6876463108651483905",
"name": "APPLE INC."
},
{
"businessId": "6876464402330026753",
"name": "APPLE EUROPE LIMITED"
},
{
"businessId": "6935909443695543041",
"name": "APPLE SERVICES LIMITED"
}
],
"advertiserName": "APPLE EUROPE LIMITED",
"page": {
"hasMore": true,
"nextCursor": "eyJjIjoiMiIsImYiOnsiYWR2ZXJ0aXNlck5hbWUiOiJBUFBMRSBFVVJPUEUgTElNSVRFRCIsImFkdmVydGlzZXJCdXNpbmVzc0lkIjoiNjg3NjQ2NDQwMjMzMDAyNjc1MyJ9fQ",
"totalResultsEstimate": 373
},
"query": "",
"resolvedAdvertiserName": "APPLE EUROPE LIMITED",
"source": "tiktok_ads_library"
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01tiktok_ad_library_search_advertiser",
"version": "v1"
}
}TikTok Ad Library
Search TikTok Ad Library ads
Searches the public TikTok Ad Library by keyword or advertiser. Provide query, advertiserName or advertiserBusinessId. 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
/
tiktok
/
ad-library
/
ads
/
search
Search TikTok Ad Library ads
curl --request GET \
--url https://api.aisa.one/apis/v1/tiktok/ad-library/ads/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tiktok/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/tiktok/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/tiktok/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/tiktok/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/tiktok/ad-library/ads/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tiktok/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{
"data": {
"ads": [
{
"advertiserBusinessId": "6876464402330026753",
"brandName": "APPLE EUROPE LIMITED",
"category": "News & Entertainment",
"cost": 1,
"ctr": 0.5,
"estimatedAudience": "1K-10K",
"firstShownAt": "2025-02-13T00:00:00.000Z",
"format": "video",
"id": "1869335220395266",
"imageUrls": [],
"industryKey": "label_22108000000",
"lastShownAt": "2026-08-30T00:00:00.000Z",
"likeCount": 92,
"moderation": {
"auditStatus": "1",
"rejectionReason": null
},
"objective": "campaign_objective_reach",
"title": null,
"url": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
"video": {
"coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
"durationSeconds": 89.767,
"height": 1280,
"id": "v12044gd0000d8erq07og65h1cq991gg",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
"p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
},
"width": 720
},
"videos": [
{
"coverUrl": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/example~tplv-noop.image",
"durationSeconds": 89.767,
"height": 1280,
"id": "v12044gd0000d8erq07og65h1cq991gg",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": "https://v16m-default.tiktokcdn.com/example-540p.mp4",
"p720": "https://v16m-default.tiktokcdn.com/example-720p.mp4"
},
"width": 720
}
]
}
],
"advertiserMatches": [
{
"businessId": "6876463108651483905",
"name": "APPLE INC."
},
{
"businessId": "6876464402330026753",
"name": "APPLE EUROPE LIMITED"
},
{
"businessId": "6935909443695543041",
"name": "APPLE SERVICES LIMITED"
}
],
"advertiserName": "APPLE EUROPE LIMITED",
"page": {
"hasMore": true,
"nextCursor": "eyJjIjoiMiIsImYiOnsiYWR2ZXJ0aXNlck5hbWUiOiJBUFBMRSBFVVJPUEUgTElNSVRFRCIsImFkdmVydGlzZXJCdXNpbmVzc0lkIjoiNjg3NjQ2NDQwMjMzMDAyNjc1MyJ9fQ",
"totalResultsEstimate": 373
},
"query": "",
"resolvedAdvertiserName": "APPLE EUROPE LIMITED",
"source": "tiktok_ads_library"
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01tiktok_ad_library_search_advertiser",
"version": "v1"
}
}
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/tiktok/ad-library/ads/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tiktok/ad-library/ads/search - advertiserBusinessId: query; optional
- advertiserName: query; optional
- cursor: query; optional
- query: query; optional
{
"operationId": "tiktok.ad-library.ads.search",
"method": "GET",
"path": "/apis/v1/tiktok/ad-library/ads/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "advertiserBusinessId",
"required": false,
"schema": {
"description": "TikTok advertiser business ID, from `advertiserMatches[].businessId` or an ad's `advertiserBusinessId`. Pins an advertiser search to that exact advertiser. Requires `advertiserName`.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "advertiserName",
"required": false,
"schema": {
"description": "Search the public TikTok Ads Library by advertiser name.",
"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": "query",
"required": false,
"schema": {
"description": "Keyword to search the public TikTok Ads Library.",
"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-26
{
"additionalProperties": true,
"properties": {
"aisa_pagination": {
"additionalProperties": true,
"properties": {
"has_more": {
"type": "boolean"
},
"next_cursor": {
"type": [
"null",
"string"
]
},
"next_param": {
"type": "string"
}
},
"type": "object"
},
"data": {
"additionalProperties": true,
"properties": {
"page": {
"additionalProperties": true,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"query": {
"type": "string"
},
"source": {
"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.Pagination
- Pass
aisa_pagination.next_cursorascursor(query parameter) to fetch the next page; stop whenaisa_pagination.has_moreis false. - The same values are returned in the
X-AISA-Has-MoreandX-AISA-Next-Cursorresponse headers.
Response time
- Typically returns within 30 seconds.
Authorizations
Query Parameters
Response
TikTok Ad Library search results.
Standard success response envelope.