Get TikTok Ad Library ad
curl --request GET \
--url https://api.aisa.one/apis/v1/tiktok/ad-library/ads \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tiktok/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/tiktok/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/tiktok/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/tiktok/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/tiktok/ad-library/ads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tiktok/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": {
"advertiserBusinessId": "7377365644930662401",
"brandName": null,
"category": null,
"commentCount": 1,
"cost": 1,
"countries": [
"TR",
"US"
],
"ctr": 0.5,
"detailUrl": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
"estimatedAudience": "1K-10K",
"firstShownAt": "2025-02-13T00:00:00.000Z",
"format": "video",
"hasVoiceOver": false,
"id": "1872975048695249",
"imageUrls": [],
"industryKey": "label_22108000000",
"interactiveAnalysis": {
"clicks": {
"analysis": [
{
"second": 0,
"value": 0.263
},
{
"second": 1,
"value": 1
}
],
"duration": 91,
"highlight": [
1,
7,
21
],
"metric": "click_cnt",
"percentile": 0.99
},
"conversion": {
"analysis": [
{
"second": 0,
"value": 0
}
],
"duration": 91,
"highlight": [],
"metric": "convert_cnt",
"percentile": 0.99
},
"ctr": {
"analysis": [
{
"second": 0,
"value": 0.048
},
{
"second": 1,
"value": 1
},
{
"second": 2,
"value": 0.495
}
],
"duration": 91,
"highlight": [
1,
4,
21
],
"metric": "retain_ctr",
"percentile": 0.99
},
"cvr": {
"analysis": [
{
"second": 0,
"value": 0
},
{
"second": 1,
"value": 0
}
],
"duration": 91,
"highlight": [],
"metric": "retain_cvr",
"percentile": 0.99
},
"remain": {
"analysis": [
{
"second": 0,
"value": 1
},
{
"second": 1,
"value": 0.184
}
],
"duration": 91,
"highlight": [],
"metric": "play_retain_cnt",
"percentile": 0.99
}
},
"isUnavailable": false,
"keywords": null,
"landingPageUrl": "https://www.amazon.com/dp/B0DRTC8XBW",
"lastShownAt": "2026-08-30T00:00:00.000Z",
"likeCount": 92,
"moderation": {
"auditStatus": "1",
"rejectionReason": null
},
"objective": "campaign_objective_reach",
"objectives": [
{
"label": "campaign_objective_reach",
"value": 5
}
],
"patterns": [],
"relatedAds": [
{
"brandName": null,
"cost": 0,
"ctr": 0.63,
"estimatedAudience": null,
"firstShownAt": null,
"id": "7644102379697602567",
"industryKey": "label_22108000000",
"lastShownAt": null,
"likeCount": 127,
"objective": "campaign_objective_reach",
"title": "Related ad example title.",
"url": null,
"video": {
"coverUrl": "https://p16-common-sign.tiktokcdn.com/example-related.image",
"durationSeconds": 13.213,
"height": 1024,
"id": "v1c044g50000d86qrfnog65v7nuvf30g",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": null,
"p720": "https://v16m-default.tiktokcdn.com/related-720p.mp4"
},
"width": 576
}
}
],
"shareCount": 1,
"source": "Others",
"title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear.",
"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
}
]
},
"lookupStatus": "found"
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01tiktok_ad_library_ad_found",
"version": "v1"
}
}TikTok Ad Library
Get TikTok Ad Library ad
Returns a single TikTok Ad Library or Top Ads creative. Provide adId or url.
GET
https://api.aisa.one
/
apis
/
v1
/
tiktok
/
ad-library
/
ads
Get TikTok Ad Library ad
curl --request GET \
--url https://api.aisa.one/apis/v1/tiktok/ad-library/ads \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tiktok/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/tiktok/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/tiktok/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/tiktok/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/tiktok/ad-library/ads")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tiktok/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": {
"advertiserBusinessId": "7377365644930662401",
"brandName": null,
"category": null,
"commentCount": 1,
"cost": 1,
"countries": [
"TR",
"US"
],
"ctr": 0.5,
"detailUrl": "https://library.tiktok.com/ads/detail/?ad_id=1872975048695249",
"estimatedAudience": "1K-10K",
"firstShownAt": "2025-02-13T00:00:00.000Z",
"format": "video",
"hasVoiceOver": false,
"id": "1872975048695249",
"imageUrls": [],
"industryKey": "label_22108000000",
"interactiveAnalysis": {
"clicks": {
"analysis": [
{
"second": 0,
"value": 0.263
},
{
"second": 1,
"value": 1
}
],
"duration": 91,
"highlight": [
1,
7,
21
],
"metric": "click_cnt",
"percentile": 0.99
},
"conversion": {
"analysis": [
{
"second": 0,
"value": 0
}
],
"duration": 91,
"highlight": [],
"metric": "convert_cnt",
"percentile": 0.99
},
"ctr": {
"analysis": [
{
"second": 0,
"value": 0.048
},
{
"second": 1,
"value": 1
},
{
"second": 2,
"value": 0.495
}
],
"duration": 91,
"highlight": [
1,
4,
21
],
"metric": "retain_ctr",
"percentile": 0.99
},
"cvr": {
"analysis": [
{
"second": 0,
"value": 0
},
{
"second": 1,
"value": 0
}
],
"duration": 91,
"highlight": [],
"metric": "retain_cvr",
"percentile": 0.99
},
"remain": {
"analysis": [
{
"second": 0,
"value": 1
},
{
"second": 1,
"value": 0.184
}
],
"duration": 91,
"highlight": [],
"metric": "play_retain_cnt",
"percentile": 0.99
}
},
"isUnavailable": false,
"keywords": null,
"landingPageUrl": "https://www.amazon.com/dp/B0DRTC8XBW",
"lastShownAt": "2026-08-30T00:00:00.000Z",
"likeCount": 92,
"moderation": {
"auditStatus": "1",
"rejectionReason": null
},
"objective": "campaign_objective_reach",
"objectives": [
{
"label": "campaign_objective_reach",
"value": 5
}
],
"patterns": [],
"relatedAds": [
{
"brandName": null,
"cost": 0,
"ctr": 0.63,
"estimatedAudience": null,
"firstShownAt": null,
"id": "7644102379697602567",
"industryKey": "label_22108000000",
"lastShownAt": null,
"likeCount": 127,
"objective": "campaign_objective_reach",
"title": "Related ad example title.",
"url": null,
"video": {
"coverUrl": "https://p16-common-sign.tiktokcdn.com/example-related.image",
"durationSeconds": 13.213,
"height": 1024,
"id": "v1c044g50000d86qrfnog65v7nuvf30g",
"urls": {
"p1080": null,
"p360": null,
"p480": null,
"p540": null,
"p720": "https://v16m-default.tiktokcdn.com/related-720p.mp4"
},
"width": 576
}
}
],
"shareCount": 1,
"source": "Others",
"title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear.",
"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
}
]
},
"lookupStatus": "found"
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01tiktok_ad_library_ad_found",
"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
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tiktok/ad-library/ads - adId: query; optional
- url: query; optional
{
"operationId": "tiktok.ad-library.ads",
"method": "GET",
"path": "/apis/v1/tiktok/ad-library/ads",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "adId",
"required": false,
"schema": {
"description": "TikTok Ad Library or Top Ads ad id.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "url",
"required": false,
"schema": {
"description": "Public TikTok Ad Library or Top Ads detail 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": {
"advertiserBusinessId": {
"type": "string"
},
"brandName": {
"type": "string"
},
"category": {
"type": "null"
},
"commentCount": {
"type": "null"
},
"cost": {
"type": "null"
},
"countries": {
"items": {
"type": "string"
},
"type": "array"
},
"ctr": {
"type": "null"
},
"detailUrl": {
"type": "string"
},
"estimatedAudience": {
"type": "string"
},
"firstShownAt": {
"type": "string"
},
"format": {
"type": "string"
},
"hasVoiceOver": {
"type": "null"
},
"id": {
"type": "string"
},
"imageUrls": {
"items": {},
"type": "array"
},
"industryKey": {
"type": "null"
},
"interactiveAnalysis": {
"additionalProperties": true,
"properties": {
"clicks": {
"type": "null"
},
"conversion": {
"type": "null"
},
"ctr": {
"type": "null"
},
"cvr": {
"type": "null"
},
"remain": {
"type": "null"
}
},
"type": "object"
},
"isUnavailable": {
"type": "boolean"
},
"keywords": {
"type": "null"
},
"landingPageUrl": {
"type": "null"
},
"lastShownAt": {
"type": "string"
},
"likeCount": {
"type": "null"
},
"moderation": {
"additionalProperties": true,
"properties": {
"auditStatus": {
"type": "string"
},
"rejectionReason": {
"type": "null"
}
},
"type": "object"
},
"objective": {
"type": "string"
},
"objectives": {
"items": {
"additionalProperties": true,
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "null"
}
},
"type": "object"
},
"type": "array"
},
"patterns": {
"items": {},
"type": "array"
},
"relatedAds": {
"items": {},
"type": "array"
},
"shareCount": {
"type": "null"
},
"source": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"video": {
"additionalProperties": true,
"properties": {
"coverUrl": {
"type": "string"
},
"durationSeconds": {
"type": "null"
},
"height": {
"type": "null"
},
"id": {
"type": "null"
},
"urls": {
"additionalProperties": true,
"type": "object"
},
"width": {
"type": "null"
}
},
"type": "object"
},
"videos": {
"items": {
"additionalProperties": true,
"properties": {
"coverUrl": {
"type": "string"
},
"durationSeconds": {
"type": "null"
},
"height": {
"type": "null"
},
"id": {
"type": "null"
},
"urls": {
"additionalProperties": true,
"type": "object"
},
"width": {
"type": "null"
}
},
"type": "object"
},
"type": "array"
}
},
"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.