TikTok Ad Library Search API

API ID 16053

Ads from the TikTok Ad Library by keyword, advertiser or ad ID: advertiser, run dates, reach, audience by country, age and gender, video and image links and AI analysis.

API Documentation

Endpoints

Request
Ads from the TikTok Ad Library (Commercial Content Library: European Economic Area, CH, GB, TR and BR) by keyword, exact phrase, advertiser, ad ID or library URL, with date, format, status, age, gender and reach filters: ad text, video and image links, landing page, button, advertiser and payer, run dates, impressions by country, age and gender, and targeting. Advertiser and keyword suggestions, new-ads monitor, video transcript, text on the image and AI marketing analysis. No login or cookies needed from you.
Endpoint ID: 45722
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45722/search+ads
INPUT PARAMETERS

Search Ads — Endpoint Features

Object Description
ad_type Optional Ad format.
input Optional Fields: activeOnly (boolean), adIds (array), adReach (array), adStatus (string: all|active|inactive|0|1|2), adType (string: all|video|image), adUrls (array), advertiserBizId (string), advertiserName (string), advertiserNames (array), ages (array), analyzeAds (boolean), compact (boolean), countries (array), country (string), downloadMedia (boolean), endDate (string), exactMatch (boolean), exactPhrases (array), excludeEmptyFields (boolean), excludeKeywords (array), gender (string: ALL|FEMALE|MALE), includeDetails (boolean), includeKeywords (array), keywords (array), maxAdsPerSearch (integer), maxItems (integer), maxPages (integer), minDaysRunning (integer), mode (string: all|new-only), monitorName (string), ocrImageAds (boolean), query (string), queryType (string: 1|2|url), quickSearch (boolean), removeDuplicates (boolean), resultType (string: ads|advertisers|keyword_ideas), skipDetails (boolean), sortBy (string: last_shown|newest|oldest|impressions|longest_running|last_shown_date,desc|last_shown_date,asc|create_time,desc), startDate (string), startUrls (array), timezone (string), transcribeVideos (boolean), urlsFromFile (string)
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.
only_new Optional Only ads this API key has not received before under the same stateKey.
ai_analysis Optional Marketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary.
min_days Optional Only ads running for at least this many days.
include_keywords Optional Keep only ads whose text, advertiser or link has one of these words (comma-separated).
details Optional Open each ad: landing page, button, payer, impressions by country, age and gender, targeting (default true). false returns the faster list view.
max Optional Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest.
sort Optional Order of the results.
q Optional Keywords to search in ads. Comma-separate several (max 5). Give q, advertiser, ad_id or url.
status Optional Only running or only ended ads.
date_to Optional Only ads shown on or before this date (YYYY-MM-DD).
date_from Optional Only ads shown on or after this date (YYYY-MM-DD, the library starts in 2022-10). Default: the last 12 months.
country Optional Country codes (ISO 2 letters), comma-separated: EEA, CH, GB, TR or BR. Default: all. The library holds no ads for the United States.
url Optional A TikTok Ad Library search or ad URL with your filters already set (one per call).
ad_id Optional Ad IDs. Comma-separate several (max 20).
advertiser_id Optional Advertiser ID, together with one advertiser name.
advertiser Optional Advertiser name. The library registers company names, so a brand name also matches the registered names that carry it. Separate several with a newline (max 10).

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

ad_type
input
cursor
only_new
ai_analysis
min_days
include_keywords
details
max
sort
q
status
date_to
date_from
country
url
ad_id
advertiser_id
advertiser
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1851492533638177",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1851492533638177",
            "advertiserName": "yyyzzz666yy",
            "adType": "VIDEO",
            "adTitle": "#shoes #basketball shoes",
            "adVideoUrl": "https://library.tiktok.com/api/v1/cdn/1796394232/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS9jZDEyNTJmODBmZjBmZDA2N2MwYzFkMGYzNmE1OGMyNi82YjEzMjE2MS92aWRlby90b3MvY...",
            "adVideoCover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okSFDfuQEEaUIhhdFBpgFBeUEwRIAVONoB94Cc~tplv-noop.image?dr=18692&refresh_token=b9f4197e&x-expires=1796415841&x-signature=lLWeD45qAXCYKVCPTOc1nsA2wGQ%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=0c75dd76&idc=sg1&VideoID=v14044g50000d4a8947og65n1fg8st6g",
            "adVideos": [
                {
                    "url": "https://library.tiktok.com/api/v1/cdn/1796394232/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS9jZDEyNTJmODBmZjBmZDA2N2MwYzFkMGYzNmE1OGMyNi82YjEzMjE2MS92aWRlby90b3MvY...",
                    "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/okSFDfuQEEaUIhhdFBpgFBeUEwRIAVONoB94Cc~tplv-noop.image?dr=18692&refresh_token=b9f4197e&x-expires=1796415841&x-signature=lLWeD45qAXCYKVCPTOc1nsA2wGQ%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=0c75dd76&idc=sg1&VideoID=v14044g50000d4a8947og65n1fg8st6g"
                }
            ],
            "adStartDate": "2025-12-14",
            "adEndDate": "2025-12-15",
            "adEstimatedAudience": "0-1K",
            "adImpressions": "0-1K",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 0,
            "adImpressionsMax": 1000,
            "daysRunning": 2,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "shoes",
            "searchType": "keyword",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394231000&adv_name=shoes&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 5000,
            "scrapedAt": "2026-12-04T14:23:53Z",
            "status": "ok"
        },
        {
            "adId": "1853503986660497",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1853503986660497",
            "advertiserName": "enmosport.net",
            "adType": "IMAGE",
            "adTitle": "Men's Outdoor Running Shoes Casual Shoes Hiking Shoes Hiking Shoes",
            "adImageUrls": [
                "https://p16-common-sign.tiktokcdn.com/ad-site-i18n-sg/202601055d0d841bb50191d745528561~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=a2750448&x-expires=1796414400&x-signature=357OCzkqA379UCEBpPIT41O%2Fd6s%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
            ],
            "adStartDate": "2026-01-05",
            "adEndDate": "2026-01-05",
            "adEstimatedAudience": "0-1K",
            "adImpressions": "0-1K",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 0,
            "adImpressionsMax": 1000,
            "daysRunning": 1,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "shoes",
            "searchType": "keyword",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394231000&adv_name=shoes&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 5000,
            "scrapedAt": "2026-12-04T14:23:53Z",
            "status": "ok"
        }
    ]
}
Search Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45722/search+ads?details=false&max=3&q=shoes' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
The ads an advertiser runs on TikTok, from the TikTok Ad Library: text, video and images, landing page, payer, run dates, impressions and targeting.
Endpoint ID: 45723
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45723/advertiser+ads
INPUT PARAMETERS

Advertiser Ads — Endpoint Features

Object Description
advertiser Required Advertiser name. The library registers company names, so a brand name also matches the registered names that carry it. Separate several with a newline (max 10).
country Optional Country codes (ISO 2 letters), comma-separated: EEA, CH, GB, TR or BR. Default: all. The library holds no ads for the United States.
date_from Optional Only ads shown on or after this date (YYYY-MM-DD, the library starts in 2022-10). Default: the last 12 months.
date_to Optional Only ads shown on or before this date (YYYY-MM-DD).
max Optional Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest.
status Optional Only running or only ended ads.
ad_type Optional Ad format.
sort Optional Order of the results.
details Optional Open each ad: landing page, button, payer, impressions by country, age and gender, targeting (default true). false returns the faster list view.
only_new Optional Only ads this API key has not received before under the same stateKey.
stateKey Optional With only_new: name of your monitor (letters, numbers, - and _).
compact Optional Shorter rows: drops the per-country breakdowns and duplicate fields.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

advertiser
country
date_from
date_to
max
status
ad_type
sort
details
only_new
stateKey
compact
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1855561143868465",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1855561143868465",
            "advertiserName": "enmosport.net",
            "adType": "IMAGE",
            "adTitle": "Men's Outdoor Running Shoes Casual Shoes Hiking Shoes Hiking Shoes",
            "adImageUrls": [
                "https://p19-common-sign.tiktokcdn.com/ad-site-i18n-sg/202601285d0d48c1b648940c4bfb8599~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=e8f0ca1b&x-expires=1796414400&x-signature=SySb%2Fok5v%2BLUCo%2F7jo%2FeNbmWB%2Fc%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
            ],
            "adStartDate": "2026-01-28",
            "adEndDate": "2026-03-15",
            "adEstimatedAudience": "0-1K",
            "adImpressions": "0-1K",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 0,
            "adImpressionsMax": 1000,
            "daysRunning": 47,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "enmosport.net",
            "searchType": "advertiser",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394233000&adv_name=enmosport.net&adv_biz_ids=7591824675953655809&query_type=2&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 20,
            "scrapedAt": "2026-12-04T14:23:56Z",
            "status": "ok"
        },
        {
            "adId": "1855817297042562",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1855817297042562",
            "advertiserName": "enmosport.net",
            "adType": "VIDEO",
            "adTitle": "ENMO SPORT TU COMODIDAD, NUESTRA SATISFACCION",
            "adVideoUrl": "https://library.tiktok.com/api/v1/cdn/1796394236/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS9hMDliZGJiNzBlZGU3Njg1Y2I5MmU3NTc1NzEyNGY2Zi82YjEzMjE2YS92aWRlby90b3MvY...",
            "adVideoCover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/ooDIpEjAfQf7bFTMjAyfLIx9dH68F2Ag3lIfAG~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=74fa51af&x-expires=1796414400&x-signature=WkDeGrDgGKHKwCHfEN8fEe3sYmA%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1",
            "adVideos": [
                {
                    "url": "https://library.tiktok.com/api/v1/cdn/1796394236/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS9hMDliZGJiNzBlZGU3Njg1Y2I5MmU3NTc1NzEyNGY2Zi82YjEzMjE2YS92aWRlby90b3MvY...",
                    "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/ooDIpEjAfQf7bFTMjAyfLIx9dH68F2Ag3lIfAG~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=74fa51af&x-expires=1796414400&x-signature=WkDeGrDgGKHKwCHfEN8fEe3sYmA%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
                }
            ],
            "adImageUrls": [
                "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/ooDIpEjAfQf7bFTMjAyfLIx9dH68F2Ag3lIfAG~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=74fa51af&x-expires=1796414400&x-signature=WkDeGrDgGKHKwCHfEN8fEe3sYmA%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
            ],
            "adStartDate": "2026-03-12",
            "adEndDate": "2026-03-14",
            "adEstimatedAudience": "0-1K",
            "adImpressions": "0-1K",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 0,
            "adImpressionsMax": 1000,
            "daysRunning": 3,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "enmosport.net",
            "searchType": "advertiser",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394233000&adv_name=enmosport.net&adv_biz_ids=7591824675953655809&query_type=2&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 20,
            "scrapedAt": "2026-12-04T14:23:56Z",
            "status": "ok"
        }
    ]
}
Advertiser Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45723/advertiser+ads?advertiser=enmosport.net&max=3&details=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
TikTok ads that mention a keyword, with country, date, format, age, gender and reach filters.
Endpoint ID: 45724
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45724/keyword+ads
INPUT PARAMETERS

Keyword Ads — Endpoint Features

Object Description
q Required Keywords to search in ads. Comma-separate several (max 5). Give q, advertiser, ad_id or url.
exact Optional Match q as an exact phrase.
country Optional Country codes (ISO 2 letters), comma-separated: EEA, CH, GB, TR or BR. Default: all. The library holds no ads for the United States.
date_from Optional Only ads shown on or after this date (YYYY-MM-DD, the library starts in 2022-10). Default: the last 12 months.
date_to Optional Only ads shown on or before this date (YYYY-MM-DD).
max Optional Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest.
status Optional Only running or only ended ads.
ad_type Optional Ad format.
ages Optional Target age groups, comma-separated: 13-17, 18-24, 25-34, 35-44, 45-54, 55+.
gender Optional Target gender: female or male.
reach Optional Unique users reached, comma-separated: 0-10K, 10K-100K, 100K+.
sort Optional Order of the results.
details Optional Open each ad: landing page, button, payer, impressions by country, age and gender, targeting (default true). false returns the faster list view.
compact Optional Shorter rows: drops the per-country breakdowns and duplicate fields.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

q
exact
country
date_from
date_to
max
status
ad_type
ages
gender
reach
sort
details
compact
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1873029120909362",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1873029120909362",
            "advertiserName": "aliercik3534",
            "adType": "VIDEO",
            "adTitle": "fitness #fitness",
            "adVideoUrl": "https://library.tiktok.com/api/v1/cdn/1796394238/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS80ZTBlMzE0OGEyOTQzMDJlMWI4NDc5ZDQ5MjM5M2Q2Yi82YjEzMjE3NS92aWRlby90b3MvY...",
            "adVideoCover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/o89A4ZpfAA4RotwpGDeFGY2LRIQKQCL0Hpf0eG~tplv-noop.image?dr=18692&refresh_token=f7413d45&x-expires=1796415861&x-signature=WmwN5Bw%2FpOI1xbHO1hI5cHuJqOM%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=0c75dd76&idc=sg1&VideoID=v1c044g50000d9qa73vog65r83hmc6fg",
            "adVideos": [
                {
                    "url": "https://library.tiktok.com/api/v1/cdn/1796394238/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS80ZTBlMzE0OGEyOTQzMDJlMWI4NDc5ZDQ5MjM5M2Q2Yi82YjEzMjE3NS92aWRlby90b3MvY...",
                    "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0037/o89A4ZpfAA4RotwpGDeFGY2LRIQKQCL0Hpf0eG~tplv-noop.image?dr=18692&refresh_token=f7413d45&x-expires=1796415861&x-signature=WmwN5Bw%2FpOI1xbHO1hI5cHuJqOM%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=0c75dd76&idc=sg1&VideoID=v1c044g50000d9qa73vog65r83hmc6fg"
                }
            ],
            "adStartDate": "2026-08-09",
            "adEndDate": "2026-08-09",
            "adEstimatedAudience": "-",
            "adImpressions": "-",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "daysRunning": 1,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "fitness",
            "searchType": "keyword",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394237000&adv_name=fitness&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 5000,
            "scrapedAt": "2026-12-04T14:23:59Z",
            "status": "ok"
        },
        {
            "adId": "1850500961656850",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1850500961656850",
            "advertiserName": "Indigo Fitness AG",
            "adType": "VIDEO",
            "adTitle": "INDIGO Fitness - Premium Fitness im Herzen von Zürich.",
            "adVideoUrl": "https://library.tiktok.com/api/v1/cdn/1796394238/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS83ZjY5ZDk4NDEwOTYzOTkyZDFjYzhmYmZjYzI5MmEzNS82YjEzMjE2ZC92aWRlby90b3Mvb...",
            "adVideoCover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/a2d12c481037bfadb300b14734710f84~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=ff41cddb&x-expires=1796414400&x-signature=DC%2FULd%2FfldYrBKyLmbIsS0me%2BUk%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1",
            "adVideos": [
                {
                    "url": "https://library.tiktok.com/api/v1/cdn/1796394238/video/aHR0cHM6Ly92NzcudGlrdG9rY2RuLmNvbS83ZjY5ZDk4NDEwOTYzOTkyZDFjYzhmYmZjYzI5MmEzNS82YjEzMjE2ZC92aWRlby90b3Mvb...",
                    "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/a2d12c481037bfadb300b14734710f84~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=ff41cddb&x-expires=1796414400&x-signature=DC%2FULd%2FfldYrBKyLmbIsS0me%2BUk%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
                }
            ],
            "adImageUrls": [
                "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/a2d12c481037bfadb300b14734710f84~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=ff41cddb&x-expires=1796414400&x-signature=DC%2FULd%2FfldYrBKyLmbIsS0me%2BUk%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
            ],
            "adStartDate": "2025-12-03",
            "adEndDate": "2025-12-31",
            "adEstimatedAudience": "200K-300K",
            "adImpressions": "200K-300K",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 200000,
            "adImpressionsMax": 300000,
            "daysRunning": 29,
            "isActive": false,
            "adStatus": "INACTIVE",
            "input": "fitness",
            "searchType": "keyword",
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394237000&adv_name=fitness&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "searchTotal": 5000,
            "scrapedAt": "2026-12-04T14:23:59Z",
            "status": "ok"
        }
    ]
}
Keyword Ads — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45724/keyword+ads?q=fitness&max=3&details=false' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Everything the TikTok Ad Library shows about one or more ads, by ad ID: creative, landing page, payer, run dates, impressions by country, age and gender, and targeting.
Endpoint ID: 45725
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45725/ad+details
INPUT PARAMETERS

Ad Details — Endpoint Features

Object Description
ad_id Required Ad IDs. Comma-separate several (max 20).
transcribe Optional Speech of each video ad as text: transcript, language, first 3 seconds (hook3s), timed segments. Fewer ads per call; send nextCursor for the rest.
image_text Optional The words written on the ad image or video cover (imageText).
ai_analysis Optional Marketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary.
compact Optional Shorter rows: drops the per-country breakdowns and duplicate fields.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

ad_id
transcribe
image_text
ai_analysis
compact
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "adId": "1853503986660497",
            "adUrl": "https://library.tiktok.com/ads/detail/?ad_id=1853503986660497",
            "advertiserName": "enmosport.net",
            "adType": "IMAGE",
            "adTitle": "Men's Outdoor Running Shoes Casual Shoes Hiking Shoes Hiking Shoes",
            "adImageUrls": [
                "https://p16-common-sign.tiktokcdn.com/ad-site-i18n-sg/202601055d0d841bb50191d745528561~tplv-tiktokx-origin.jpeg?dr=14582&refresh_token=a2750448&x-expires=1796414400&x-signature=357OCzkqA379UCEBpPIT41O%2Fd6s%3D&t=4d5b0474&ps=13740610&shp=0c75dd76&shcp=9b759fb9&idc=sg1"
            ],
            "adStartDate": "2026-01-05",
            "adEndDate": "2026-01-05",
            "adEstimatedAudience": "0-1K",
            "adImpressions": "0-1K",
            "industry": "Apparel & Accessories",
            "auditStatus": "1",
            "sorAuditStatus": "1",
            "adImpressionsMin": 0,
            "adImpressionsMax": 1000,
            "daysRunning": 1,
            "isActive": false,
            "adStatus": "INACTIVE",
            "adText": "Men's Outdoor Running Shoes Casual Shoes Hiking Shoes Hiking Shoes",
            "adCallToAction": "Shop now",
            "adLandingUrl": "https://enmosport.net/products/mens-outdoor-running-shoes-casual-shoes-hiking-shoes-hiking-shoes?tt_campaignid=__CAMPAIGN_ID__&utm_campaign=tiktok_ads_4e1759b1-0f7f-405a-ae84-1363a83f0a69&utm_medium=video_ad&utm_source=tiktok",
            "advertisingObjective": "Sales",
            "advertiserId": "7591824675953655809",
            "advertiserLocation": "Spain",
            "advertiserPaidForBy": "enmosport.net",
            "adTotalRegions": 20,
            "targetingByLocation": [
                {
                    "region": "GR",
                    "impressions": "0-1K",
                    "breakdowns": [
                        {
                            "age": "18-24",
                            "gender": "MALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "FEMALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "UNKNOWN",
                            "impressions": "-"
                        }
                    ]
                },
                {
                    "region": "DE",
                    "impressions": "0-1K",
                    "breakdowns": [
                        {
                            "age": "18-24",
                            "gender": "MALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "FEMALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "UNKNOWN",
                            "impressions": "-"
                        }
                    ]
                },
                {
                    "region": "FI",
                    "impressions": "0-1K",
                    "breakdowns": [
                        {
                            "age": "18-24",
                            "gender": "MALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "FEMALE",
                            "impressions": "-"
                        },
                        {
                            "age": "18-24",
                            "gender": "UNKNOWN",
                            "impressions": "-"
                        }
                    ]
                }
            ],
            "targetAudienceSize": "268.5M-328.2M",
            "targetingByAge": [
                {
                    "region": "GR",
                    "13-17": false,
                    "18-24": true,
                    "25-34": true,
                    "35-44": true,
                    "45-54": true,
                    "55+": true
                },
                {
                    "region": "DE",
                    "13-17": false,
                    "18-24": true,
                    "25-34": true,
                    "35-44": true,
                    "45-54": true,
                    "55+": true
                },
                {
                    "region": "FI",
                    "13-17": false,
                    "18-24": true,
                    "25-34": true,
                    "35-44": true,
                    "45-54": true,
                    "55+": true
                }
            ],
            "targetingByGender": [
                {
                    "region": "GR",
                    "female": true,
                    "male": true,
                    "unknown": true
                },
                {
                    "region": "DE",
                    "female": true,
                    "male": true,
                    "unknown": true
                },
                {
                    "region": "FI",
                    "female": true,
                    "male": true,
                    "unknown": true
                }
            ],
            "targeting": {
                "audience": "No",
                "countries": [
                    "GR",
                    "DE",
                    "FI"
                ],
                "operating_systems": [
                    "ALL"
                ],
                "high_spending_power": "No",
                "audience_exclude": "No"
            },
            "countriesShown": [
                "GR",
                "DE",
                "FI"
            ],
            "input": "1853503986660497",
            "searchType": "adId",
            "scrapedAt": "2026-12-04T14:00:40Z",
            "status": "ok"
        }
    ]
}
Ad Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45725/ad+details?ad_id=1853503986660497' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Registered advertiser names and IDs in the TikTok Ad Library that match a brand or company text.
Endpoint ID: 45726
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45726/advertiser+search
INPUT PARAMETERS

Advertiser Search — Endpoint Features

Object Description
q Required Keywords to search in ads. Comma-separate several (max 5). Give q, advertiser, ad_id or url.
country Optional Country codes (ISO 2 letters), comma-separated: EEA, CH, GB, TR or BR. Default: all. The library holds no ads for the United States.
max Optional Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

q
country
max
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "input": "adidas",
            "advertiserName": "ADIDAS DO BRASIL LTDA",
            "advertiserId": "7067165573964104449",
            "advertiserIds": [
                "7067165573964104449"
            ],
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394240000&adv_name=ADIDAS+DO+BRASIL+LTDA&adv_biz_ids=7067165573964104449&query_type=2&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:02Z",
            "status": "ok"
        },
        {
            "input": "adidas",
            "advertiserName": "ADIDAS ESPAÑA SAU",
            "advertiserId": "7569935512706760712",
            "advertiserIds": [
                "7569935512706760712"
            ],
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394240000&adv_name=ADIDAS+ESPA%C3%91A+SAU&adv_biz_ids=7569935512706760712&query_type=2&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:02Z",
            "status": "ok"
        },
        {
            "input": "adidas",
            "advertiserName": "ADIDAS LLC",
            "advertiserId": "7600685803840307216",
            "advertiserIds": [
                "7600685803840307216"
            ],
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394240000&adv_name=ADIDAS+LLC&adv_biz_ids=7600685803840307216&query_type=2&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:02Z",
            "status": "ok"
        }
    ]
}
Advertiser Search — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45726/advertiser+search?q=adidas&max=5' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Searches the TikTok Ad Library suggests for a text.
Endpoint ID: 45727
GET https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45727/keyword+ideas
INPUT PARAMETERS

Keyword Ideas — Endpoint Features

Object Description
q Required Keywords to search in ads. Comma-separate several (max 5). Give q, advertiser, ad_id or url.
country Optional Country codes (ISO 2 letters), comma-separated: EEA, CH, GB, TR or BR. Default: all. The library holds no ads for the United States.
max Optional Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest.
cursor Optional Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

q
country
max
cursor
API EXAMPLE RESPONSE
JSON
{
    "items": [
        {
            "input": "shoes",
            "keywordIdea": "Baby Shoes",
            "position": 1,
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394243000&adv_name=Baby+Shoes&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:04Z",
            "status": "ok"
        },
        {
            "input": "shoes",
            "keywordIdea": "Casual Shoes",
            "position": 2,
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394243000&adv_name=Casual+Shoes&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:04Z",
            "status": "ok"
        },
        {
            "input": "shoes",
            "keywordIdea": "Men's Shoes",
            "position": 3,
            "startUrl": "https://library.tiktok.com/ads?region=all&start_time=1764806400000&end_time=1796394243000&adv_name=Men%27s+Shoes&adv_biz_ids=&query_type=1&sort_type=last_shown_date%2Cdesc",
            "scrapedAt": "2026-12-04T14:24:04Z",
            "status": "ok"
        }
    ]
}
Keyword Ideas — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/16053/tiktok+ad+library+search+api/45727/keyword+ideas?q=shoes&max=5' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the TikTok Ad Library Search API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime.

(Save 2 months with annual billing 🎉)

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Ads from the TikTok Ad Library by keyword, advertiser or ad ID: advertiser, run dates, reach, audience by country, age and gender, video and image links and AI analysis.

TikTok Ad Library Search API FAQs

Ads from the TikTok Ad Library by keyword, advertiser or ad ID: advertiser, run dates, reach, audience by country, age and gender, video and image links and AI analysis.

Live. Every call fetches fresh public data at request time, so results reflect what is online right now.

Use the max parameter where available. Larger requests take longer; split big jobs into several calls for faster answers.

The API falls back to a second route automatically. If both routes fail you get a clear error response.

Yes. It is a plain HTTPS GET that returns JSON, so any language or no-code tool that can make HTTP requests works.

Yes, please. Suggestions, feature requests, ideas for a new tool, feedback and complaints are all welcome. Send them through Zyla: we read our messages every day and answer every one.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs