On this page 16 sections
- 1.Is there an official TikTok Ad Library API
- 2.Which calls pull TikTok ads
- 3.Find the advertiser behind a brand name
- 4.Pull one advertiser's TikTok ads
- 5.Why does a brand name return a different advertiser
- 6.Get an ad's countries and objective
- 7.What does it cost to pull TikTok ads
- 8.What does each TikTok ad record contain
- 9.Rank a brand's TikTok ads by run length in Python
- 10.How long do TikTok ads run? Gymshark
- 11.Combine TikTok and Meta ads in one table
- 12.Watch a brand's new TikTok ads every week
- 13.What does the TikTok ad library not show
- 14.Start
- 15.Why use Caelario for TikTok ad research
- 16.Questions
TikTok's ad library is public, but its official API, the Commercial Content API, needs an application and returns at most 10 ads per request. Caelario gives you the same library as JSON with one key. adlibrary_search finds the advertiser, adlibrary_company_ads pulls its ads, and adlibrary_ad adds the countries and objective for a single ad. Each delivered ad costs 2 credits.
We ran all three on 25 November 2026 for Gymshark, Lidl and Zalando and got 98 ad records for 196 credits. Below are the real requests and responses, a Python script that ranks a brand's ads by run length, and what the library leaves out: spend, engagement and any US-only ads.
Is there an official TikTok Ad Library API?
Yes. TikTok calls its library the Commercial Content Library and its API the Commercial Content API. Here is how it compares with pulling the same library through Caelario.
| Question | TikTok Commercial Content API | Caelario |
|---|---|---|
| Who can use it | The public and researchers, located in any country, after an application. You create a TikTok for Developers account with an official email, fill in a form and hear back within 2 working days. | Anyone with a Caelario workspace key. No application. |
| Authentication | A client key and secret for an approved research client, exchanged for a client access token | One X-API-Key header |
| Ads per request | max_count defaults to 10 and can't go higher | Up to 100 per call; POST /v1/extract answers inline up to 50 |
| Regions | Ads shown in the 27 EU countries, Norway, Iceland, Liechtenstein, the UK and Switzerland | The same public library, so the same European scope. No US-only ads. |
| How far back | While the ad runs and until one year after it was last shown | Search and advertiser pulls cover ads shown in the last 30 days; adlibrary_ad looks up one ad by ID |
| Extra detail per ad | Get Ad Details adds targeting, objective, call to action and reach by country, age and gender | adlibrary_ad adds countries, objective and landing_page_url. No targeting or age and gender breakdown. |
| Spend and engagement | None | None |
TikTok facts from developers.tiktok.com: the Commercial Content API product page, Query Ads and Get Ad Details docs, and the supported-countries page (last updated 1 September 2026), all checked 25 November 2026. Use the official API if you need targeting breakdowns or ads older than 30 days and can wait for approval.
Which calls pull TikTok ads, and in what order?
All three go to POST /v1/extract (or POST /v1/jobs for more than 50 results) with "platform": "tiktok" and your key in the X-API-Key header.
| Operation | What you send as target | What comes back |
|---|---|---|
adlibrary_search | A keyword or brand name, e.g. Gymshark | Ads that mention it, from any advertiser, up to 100. Use it to find the advertiser's exact name. |
adlibrary_company_ads | An advertiser or brand name, e.g. GYMSHARK LTD | That advertiser's ads, up to 100, with a notice naming the advertiser it matched |
adlibrary_ad | One ad ID or library URL | One ad with countries, country_code, objective and landing_page_url filled in |
All three cost 2 credits per delivered ad. A call that returns nothing costs nothing.
How do you find the advertiser behind a brand name?
Search first. A keyword search returns ads from the brand and from anyone else who mentions it, and each row names the advertiser in advertiser_name. This request asks for 20 ads that match Gymshark.
The response below is trimmed to one of the 20 ads, with some always-empty fields left out and the signed media links cut.
curl -X POST https://api.caelario.com/v1/extract \
-H "X-API-Key: $CAELARIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "tiktok", "operation": "adlibrary_search", "target": "Gymshark", "limit": 20}'{
"id": "c3e89ee6-69c2-409e-b12a-af5b2d1ab026",
"platform": "tiktok",
"operation": "adlibrary_search",
"target": "Gymshark",
"requested_limit": 20,
"status": "completed",
"result_count": 20,
"billed_credits": 40,
"result": [
{
"platform": "tiktok",
"source": "ads_library",
"ad_id": "1881896890197009",
"ad_url": "https://library.tiktok.com/ads/detail/?ad_id=1881896890197009",
"advertiser_name": "GYMSHARK LTD",
"advertiser_id": null,
"ad_text": "TOUT Gymshark jusqu’à -50%",
"estimated_audience": "1K-10K",
"first_shown_at": "2026-11-15T00:00:00Z",
"last_shown_at": "2026-11-24T00:00:00Z",
"countries": [],
"video_url": "https://library.tiktok.com/api/v1/cdn/...",
"image_urls": ["https://p16-common-sign.tiktokcdn.com/..."],
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/...",
"objective": null,
"landing_page_url": null,
"like_count": null,
"ctr": null
}
]
}Fields the library doesn't publish come back as null or an empty list.
The 20 ads came from 5 advertisers: 12 from GYMSHARK LTD and 8 from four individual creators who tagged the brand. Filter on advertiser_name before you pull anything, or creator posts end up in the brand's numbers.
advertiser_id was null on all 20 search rows, so you can't pull by ID. Copy the exact advertiser_name and send it as the target of the next call. estimated_audience is a band, here 0-1K on 13 ads and 1K-10K on 7. The search cost 40 credits: 20 ads at 2 each.
How do you pull one advertiser's TikTok ads?
Send the advertiser name to adlibrary_company_ads. This is the real pull of Gymshark's 25 most recent ads.
Trimmed to one of the 25 ads, the longest-running in this pull, with the media links cut.
curl -X POST https://api.caelario.com/v1/extract \
-H "X-API-Key: $CAELARIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "tiktok", "operation": "adlibrary_company_ads", "target": "GYMSHARK LTD", "limit": 25}'{
"id": "b9dfcdf2-6c6b-4b35-991b-b3268a57647d",
"platform": "tiktok",
"operation": "adlibrary_company_ads",
"target": "GYMSHARK LTD",
"requested_limit": 25,
"status": "completed",
"result_count": 25,
"billed_credits": 50,
"source_exhausted": false,
"notices": [
{
"code": "advertiser_resolved",
"message": "Ads from \"GYMSHARK LTD\", the TikTok advertiser matched to \"GYMSHARK LTD\"."
}
],
"result": [
{
"platform": "tiktok",
"source": "ads_library",
"ad_id": "1882015906755682",
"ad_url": "https://library.tiktok.com/ads/detail/?ad_id=1882015906755682",
"advertiser_name": "GYMSHARK LTD",
"advertiser_id": "6876453732930814722",
"brand_name": null,
"ad_text": "The bestselling, best gym stuff ever is now up to 50% off. Treat yourself",
"estimated_audience": "10K-100K",
"first_shown_at": "2026-11-16T00:00:00Z",
"last_shown_at": "2026-11-24T00:00:00Z",
"countries": [],
"country_code": null,
"objective": null,
"video_url": "https://library.tiktok.com/api/v1/cdn/1795616411/video/...",
"image_urls": ["https://p16-common-sign.tiktokcdn.com/..."],
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/...",
"landing_page_url": null,
"like_count": null,
"comment_count": null,
"share_count": null,
"ctr": null,
"industry": null,
"language": null,
"video_duration_seconds": null
}
]
}result is the list of ads and billed_credits is 50: 25 ads at 2 credits each. The ads come back most recently shown first. result_count equals the limit we sent, so the advertiser had at least 25 ads and there may be more: 25 is your sample, not the brand's total. Raise limit (up to 100) to see more. Ignore source_exhausted here: it is only set for follower lists.
notices holds an advertiser_resolved message naming the advertiser the library matched. advertiser_id is filled here, but countries, country_code and objective stay empty on every list row. image_urls held one link on 24 of 25 Gymshark video ads: it is the cover image, so a non-empty image_urls doesn't make it an image ad.
Why does a brand name return a different advertiser?
Big brands advertise through several legal entities, and the library lists each as its own advertiser. When you send a plain brand name, Caelario matches it to one of them and tells you which in the advertiser_resolved notice. If the first match has no ads, it tries the next best matches before giving up with an advertiser_has_no_ads notice.
Two of our three brands resolved to a sub-entity. Lidl returned LIDL & COMPANHIA, Lidl's Portuguese company, and Zalando returned Zalando Lounge c/o Zalando SE, the off-price members' store rather than the main Zalando shop.
The job fields from the Lidl pull, trimmed to the envelope:
{
"id": "15715526-27b9-46cf-a281-e179d4822bc3",
"operation": "adlibrary_company_ads",
"target": "Lidl",
"status": "completed",
"result_count": 25,
"billed_credits": 50,
"source_exhausted": false,
"notices": [
{
"code": "advertiser_resolved",
"message": "Ads from \"LIDL & COMPANHIA\", the TikTok advertiser matched to \"Lidl\"."
}
]
}Always log notices[].message. Per-brand numbers describe the matched advertiser, not the whole group.
To cover a whole group, run adlibrary_search for the brand, list every distinct advertiser_name that belongs to it, and pull each one by its exact name.
How do you get an ad's countries and objective?
List calls leave countries empty: it was [] on all 95 list rows we pulled, 20 from search and 75 from advertiser pulls. To see where an ad ran, call adlibrary_ad with its ad_id. This is the Lidl ad with the largest audience band in our pull.
The response is complete apart from the cut media links.
curl -X POST https://api.caelario.com/v1/extract \
-H "X-API-Key: $CAELARIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"platform": "tiktok", "operation": "adlibrary_ad", "target": "1881496516395441"}'{
"id": "d7a69051-b697-42c7-a71c-0e9f7d05ae79",
"platform": "tiktok",
"operation": "adlibrary_ad",
"target": "1881496516395441",
"requested_limit": 1,
"status": "completed",
"result_count": 1,
"billed_credits": 2,
"result": {
"platform": "tiktok",
"source": "ads_library",
"ad_id": "1881496516395441",
"ad_url": "https://library.tiktok.com/ads/detail/?ad_id=1881496516395441",
"advertiser_name": "LIDL & COMPANHIA",
"advertiser_id": "7262331857793220610",
"brand_name": "LIDL & COMPANHIA",
"countries": ["PT"],
"country_code": "PT",
"objective": "Reach",
"estimated_audience": "700K-800K",
"first_shown_at": "2026-11-12T00:00:00Z",
"last_shown_at": "2026-11-24T00:00:00Z",
"ad_text": null,
"video_url": "https://library.tiktok.com/api/v1/cdn/1795617125/video/...",
"image_urls": [],
"thumbnail_url": "https://p16-common-sign.tiktokcdn.com/...",
"landing_page_url": "https://www.lidl.pt/c/mundo-de-natal-lidl/s10103895?utm_source=tiktok&utm_medium=paid_social&utm_campaign=__CAMPAIGN_NAME__&utm_content=__AID_NAME__.__CID_NAME__&utm_term=ac-69516793_ad-__CID__&utm_id=__CAMPAIGN_ID__",
"like_count": null,
"comment_count": null,
"share_count": null,
"ctr": null,
"industry": null,
"language": null,
"video_duration_seconds": null
}
}For a single ad, result is one object, not a list. countries is ["PT"] and country_code is PT. Each of our three detail records listed exactly one country: GB for the Gymshark ad, PT for Lidl and DE for Zalando Lounge.
objective came back on 2 of 3 ads: Reach for Lidl and Community interaction for Zalando Lounge, and null for Gymshark. landing_page_url was filled on 2 of 3, and its UTM values are TikTok's unfilled macros such as __CAMPAIGN_NAME__, so they don't name the campaign.
ad_text was null on all three detail records, even for the Gymshark ad whose list row carried its copy. Keep the copy from the list call and add the detail fields to it. Each lookup costs 2 credits, so countries for 25 ads cost another 50.
What does it cost to pull TikTok ads?
Every delivered ad costs 2 credits, on all three operations. These are the calls behind this guide and what each one charged.
| Call | What came back | Credits |
|---|---|---|
adlibrary_search, target Gymshark, limit 20 | 20 ads from 5 advertisers | 40 |
adlibrary_company_ads, target GYMSHARK LTD, limit 25 | 25 ads | 50 |
adlibrary_company_ads, target Zalando, limit 25 | 25 ads from Zalando Lounge | 50 |
adlibrary_company_ads, target Lidl, limit 25 | 25 ads from LIDL & COMPANHIA | 50 |
adlibrary_ad, 3 ad IDs | 3 ads with countries and objective | 6 |
| Total | 98 ad records | 196 |
A call that returns nothing costs nothing. Several of our calls were first rejected with 429 concurrent_job_limit_exceeded because other jobs were running in the workspace; those created no job and charged nothing.
What does each TikTok ad record contain?
Search, advertiser pulls and single-ad lookups return the same record shape. Which fields are filled depends on the call.
| Metric | What it means | How to read it |
|---|---|---|
ad_id, ad_url | TikTok's ID for the ad and its library page. | Key your table on ad_id and keep ad_url as the reference. |
advertiser_name, advertiser_id | The legal entity that ran the ad. | advertiser_id was null on all 20 search rows; pull by advertiser_name. |
first_shown_at, last_shown_at | The first and last day the ad was shown. | Run length counts both ends. A last_shown_at of yesterday or today means the ad is probably still running. |
estimated_audience | A reach band: 0-1K, 1K-10K, 10K-100K, 100K-200K, 700K-800K in our data. | The bands get wider at the top. Compare bands; don't average them as numbers. |
ad_text | The ad copy. | Usually filled in list rows, but 16 of Lidl's 25 held a category label such as Household Products and 9 were null. It was null on every detail record. |
video_url, image_urls, thumbnail_url | The creative files. | Signed links that expire (x-expires), so download what you want to keep. |
countries, country_code, objective, brand_name, landing_page_url | Where it ran, what it was for, and where it sends people. | Empty on list rows. Filled only by adlibrary_ad. |
like_count, comment_count, share_count, ctr, industry, language, video_duration_seconds | Engagement and descriptive fields. | null on all 98 records we pulled. The library doesn't publish them. |
How do you rank a brand's TikTok ads by run length in Python?
Without spend or engagement, how long an advertiser keeps paying for an ad is the best public signal of what works. This script pulls one advertiser's ads as a job, prints the advertiser_resolved notice, computes run length for each ad and writes tiktok_ads.csv, longest first.
import csv, os, statistics, time
from datetime import date
import requests
API = "https://api.caelario.com"
HEADERS = {"X-API-Key": os.environ["CAELARIO_API_KEY"]}
ADVERTISER = "GYMSHARK LTD" # the advertiser_name you picked from adlibrary_search
LIMIT = 50 # up to 100; each delivered ad costs 2 credits
def create_job(body, key):
for attempt in range(6):
r = requests.post(f"{API}/v1/jobs", json=body, timeout=30,
headers={**HEADERS, "Idempotency-Key": key})
if r.status_code != 429:
r.raise_for_status()
return r.json()
# Too many jobs running: wait, then resend with the same key
time.sleep(float(r.headers.get("Retry-After", 2 ** attempt)))
raise SystemExit("Still rate limited, try again later")
def day(ts):
return date.fromisoformat(ts[:10])
job = create_job(
{"platform": "tiktok", "operation": "adlibrary_company_ads",
"target": ADVERTISER, "limit": LIMIT},
key=f"tiktok-ads-{ADVERTISER}-{date.today()}",
)
while job["status"] not in {"completed", "failed", "cancelled"}:
time.sleep(3)
job = requests.get(f"{API}/v1/jobs/{job['id']}", headers=HEADERS, timeout=30).json()
if job["status"] != "completed":
raise SystemExit(job["error"])
# advertiser_resolved names the advertiser the library actually matched
for notice in job.get("notices") or []:
print(notice["code"], "-", notice["message"])
rows = []
for ad in job["result"] or []:
if not (ad.get("first_shown_at") and ad.get("last_shown_at")):
continue
rows.append({
"ad_id": ad["ad_id"],
"advertiser_name": ad["advertiser_name"],
"first_shown": ad["first_shown_at"][:10],
"last_shown": ad["last_shown_at"][:10],
# Count both ends: an ad first and last shown on the same day ran 1 day
"run_days": (day(ad["last_shown_at"]) - day(ad["first_shown_at"])).days + 1,
"estimated_audience": ad["estimated_audience"],
"has_video": ad["video_url"] is not None,
"ad_text": ad["ad_text"],
"ad_url": ad["ad_url"],
})
if not rows:
raise SystemExit("No ads in the last 30 days")
rows.sort(key=lambda r: r["run_days"], reverse=True)
with open("tiktok_ads.csv", "w", newline="", encoding="utf-8") as f:
out = csv.DictWriter(f, fieldnames=list(rows[0]))
out.writeheader()
out.writerows(rows)
days = [r["run_days"] for r in rows]
print(f"{len(rows)} ads, median {statistics.median(days)} days, longest {days[0]} days")
print(f"{sum(d == 1 for d in days)} ads shown on a single day")
if job["result_count"] >= LIMIT:
print("Got as many ads as LIMIT; there may be more, so raise it to check")
print(f"{job['billed_credits']} credits")At LIMIT = 50 the most it can cost is 100 credits. Reusing the Idempotency-Key on a retry returns the original job instead of charging twice.
How long do TikTok ads run? Gymshark, Lidl and Zalando in Black Friday week
We pulled the 25 most recent ads for each advertiser on 25 November 2026 and computed run length the way the script does, counting both the first and last day shown.
25 most recent ads per advertiser, pulled 25 November 2026.
See the full table
Advertiser (target sent) | Ads | Median run | Longest run | Shown on 1 day only | Shown on 24 or 25 Nov | Video ads |
|---|---|---|---|---|---|---|
GYMSHARK LTD (GYMSHARK LTD) | 25 | 2 days | 9 days | 12 (48%) | 25 | 25 |
LIDL & COMPANHIA (Lidl) | 25 | 3 days | 13 days | 5 (20%) | 19 | 25 |
Zalando Lounge c/o Zalando SE (Zalando) | 25 | 1 day | 37 days | 16 (64%) | 25 | 13 (12 had no media) |
| All three | 75 | 2 days | 37 days | 33 (44%) | 69 | 63 |
What it tells you
- This is Black Friday week. 73 of the 75 ads started between 16 and 25 November, most of the copy is sale copy, and 69 of 75 were still being shown on 24 or 25 November. The short medians reflect a burst of new sale variants that are still running, not how long these brands' ads usually last.
- The longest runners stand out against that burst. Zalando Lounge's 37-day ad started on 19 October and ran in Germany with the objective
Community interaction. Lidl's 13-day ad ran in Portugal with the objectiveReachand the largest band in the sample,700K-800K. - Count creatives, not ad IDs. Lidl's 25 ads use only 5 distinct videos (by the
VideoIDinsidethumbnail_url), and one video sits behind 10 of them. - Gymshark's 25 ads use 8 distinct
ad_textvalues in English, French and Dutch, and one ad has none. The most common one appears 7 times, so most "new" ads are the same message tested again. - Lidl's ads sit higher in the bands: 14 of 25 are
10K-100K. Gymshark has 14 of 25 in0-1Kand Zalando Lounge 10. The bands are uneven, so compare counts per band, not averages.
Credits: search 40 (20 ads × 2), three advertiser pulls 150 (75 ads × 2), three single-ad lookups 6. Total 196. Each pull returned the full 25 we asked for, so each advertiser had at least 25 ads in the window.
Sources: Zalando Lounge ad, 37 days · Lidl Portugal ad, 13 days · Gymshark ad, 9 days
How do you combine TikTok and Meta ads in one table?
The request body is the same for both libraries: change platform to facebook and use the Meta operations. The records differ, so map them to one row shape before you compare.
| What you want | Meta Ad Library record | TikTok ad library record |
|---|---|---|
| Ad ID and link | ad_id, snapshot_url | ad_id, ad_url |
| Advertiser | page_id, page_name, page_url | advertiser_id, advertiser_name |
| Dates | started_at, ended_at, active | first_shown_at, last_shown_at |
| Copy | body, title, caption | ad_text |
| Creative | image_urls, video_urls | video_url, image_urls, thumbnail_url |
| Landing page | destination_url | landing_page_url (single-ad call only) |
| Reach | reach_lower, reach_upper for some ads | estimated_audience band |
Meta's advertiser search returns a page_id you pull by; TikTok's search leaves advertiser_id empty, so you pull by name. The full Meta walkthrough is at /blog/facebook-ad-library-api.
A small mapping function puts both into one CSV-ready row:
def common_row(platform, ad):
"""One row shape for Meta and TikTok ad records."""
if platform == "facebook":
return {"platform": "facebook", "ad_id": ad["ad_id"],
"advertiser": ad["page_name"], "first_seen": ad["started_at"],
"last_seen": ad["ended_at"], "text": ad["body"],
"link": ad["snapshot_url"]}
return {"platform": "tiktok", "ad_id": ad["ad_id"],
"advertiser": ad["advertiser_name"], "first_seen": ad["first_shown_at"],
"last_seen": ad["last_shown_at"], "text": ad["ad_text"],
"link": ad["ad_url"]}On an active Meta ad, ended_at is the collection date, so last_seen means "still running" on both platforms.
How do you watch a brand's new TikTok ads every week?
A weekly pull catches new launches, and because advertiser pulls cover the last 30 days, consecutive runs overlap.
- 01
Fix the advertiser names
Run
adlibrary_searchonce per brand, note each exactadvertiser_name, and check theadvertiser_resolvednotice on the first pull. Searching again every week costs credits for no new information. - 02
Create the schedule
Send
POST /v1/scheduleswithplatformtiktok,operationadlibrary_company_ads, the names astargets, alimit,frequencyweekly, an IANAtimezoneand astarts_attime with a UTC offset. - 03
Budget it
One advertiser at 50 ads is at most 100 credits a week. Credits are reserved when each run starts and released for ads that don't come back.
- 04
Diff the
ad_idlistsNew
ad_ids are launches. Ads whoselast_shown_atstopped moving have stopped. Compare the runs in your code or spreadsheet. - 05
Look up only the new ads
Call
adlibrary_adon new IDs for their countries and objective, at 2 credits each, instead of looking up the whole list again.
The schedule for Gymshark, every Monday at 9am London time:
curl -X POST https://api.caelario.com/v1/schedules \
-H "X-API-Key: $CAELARIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Gymshark TikTok ads, weekly",
"platform": "tiktok",
"operation": "adlibrary_company_ads",
"targets": ["GYMSHARK LTD"],
"limit": 50,
"frequency": "weekly",
"timezone": "Europe/London",
"starts_at": "2026-11-30T09:00:00+00:00"
}'targets takes up to 100 advertisers. Each run creates normal jobs you read with GET /v1/jobs/{job_id}.
What does the TikTok ad library not show?
Know these before you promise a client anything. Each one held across the 98 records we pulled.
No spend, budget or impressions
No record had a spend field, and TikTok's own field lists for the Commercial Content API have none either. The closest thing is the estimated_audience band.
No engagement
like_count, comment_count, share_count and ctr were null on all 98 records.
No US-only ads
The library covers ads shown in the EU, Norway, Iceland, Liechtenstein, the UK and Switzerland. Every country in our detail records was GB, PT or DE.
No countries or objective in list calls
countries was empty on all 95 list rows. You pay 2 credits per ad with adlibrary_ad to fill it.
No targeting breakdown
Caelario's records carry one audience band and the countries. TikTok's official Get Ad Details returns targeting and reach by country, age and gender; apply for it if you need those.
Only the last 30 days in list calls
Search and advertiser pulls cover ads shown in the last 30 days. TikTok keeps ads in its library for a year after they were last shown.
A brand name is one advertiser
Lidl meant Lidl Portugal and Zalando meant Zalando Lounge. Pull each entity by name to cover a group.
A limit is a sample
When result_count equals your limit, there may be more ads; source_exhausted doesn't tell you on ad calls. Our 25 per brand were the most recently shown, not the full history.
How do you start?
- 01
Create a key
Sign up at
app.caelario.com/connect, create an API key and store it asCAELARIO_API_KEY. New accounts get 300 free credits, valid for 30 days: enough for 150 TikTok ads. - 02
Find your advertiser
Run the
adlibrary_searchrequest above with a brand you follow and note the exactadvertiser_nameof the brand's own ads. - 03
Pull and rank
Put that name in the Python script, run it, and open
tiktok_ads.csv. Check the printed notice before you trust the totals.
Why use Caelario for TikTok ad research
TikTok's own API needs an application and returns 10 ads a request. With Caelario you send one key and get up to 100 ads per call, in the same workspace as your Meta ads.
No application
Create a workspace key and call
adlibrary_company_adstoday. TikTok's route needs a developer account, a form and a review.Pay per ad, nothing for empty results
2 credits per delivered ad. Our three-brand study, 98 records, cost 196 credits, and calls rejected with
429charged nothing.TikTok and Meta from one key
The same request body pulls the Meta Ad Library with
platformset tofacebook, so one script covers both libraries.Brand ad watch template
Enter a brand name and get up to 100 Meta ads and up to 50 TikTok ads (EU and UK) for a flat 200 credits, with a basic AI insight on what has run longest.
Weekly pulls
POST /v1/schedulesreruns an advertiser pull every week, so you can diffad_idlists and catch new launches.Exports at no extra cost
Download any stored job as JSON, CSV or XLSX from
GET /v1/jobs/{job_id}/exportwithout running it again.
Common questions
Is there an official TikTok Ad Library API?
Yes, the Commercial Content API. The public and researchers in any country can apply through a TikTok for Developers account, and TikTok says it replies within 2 working days. It returns at most 10 ads per request. Caelario returns records from the same public library with one workspace key and no application.
Does the TikTok ad library include US ads?
No. TikTok's library covers ads shown in the EU, Norway, Iceland, Liechtenstein, the UK and Switzerland. Every country in our data was GB, PT or DE.
Can I see how much a brand spends on TikTok ads?
No. Neither TikTok's official field lists nor any of our 98 records has a spend, budget or impressions field. You get an estimated_audience band such as 10K-100K, and likes, comments, shares and CTR are null.
Why is countries empty in my results?
adlibrary_search and adlibrary_company_ads leave it empty: it was [] on all 95 list rows we pulled. Call adlibrary_ad with the ad_id to get countries, country_code and objective, at 2 credits per ad.
How much does it cost to pull a brand's TikTok ads?
2 credits per delivered ad on every operation, so 25 ads cost 50 credits and empty results cost nothing. New accounts get 300 free credits, and credit packs start at $19 for 5,000 credits.
How long do ads stay in the TikTok ad library?
TikTok keeps an ad available while it runs and for one year after it was last shown. Caelario's search and advertiser pulls cover ads shown in the last 30 days, and adlibrary_ad looks up a single ad by ID.
Ad research
The same data through the API and the Claude connector, with 300 free credits to start, valid for 30 days. No card needed.

Guide · 14 min readBuild a competitor-monitoring agent with Claude and the Caelario MCP server
Guide · 12 min readX API pricing in 2026, and a cheaper way to read posts
Guide · 12 min readMeta Ad Library API: find the right advertiser and pull its ads