How to search TikTok's EU ad library by advertiser
Pull dated TikTok EU Commercial Content Library ad records for a keyword or advertiser ID and turn them into a reviewable table
On this page
You have one advertiser ID from TikTok's Commercial Content Library and need a dated record of the EU ads that advertiser ran over the last 90 days, 50 ads per request. The deliverable is a table with one row per ad, then a creative-angle note you add after reading the record. No run has been executed for this article; the values below are placeholders showing the shape
Example input and the review table
Example input: query set to a placeholder keyword to replace. For the advertiser audit, set advertiserId to the ID from TikTok's Commercial Content Library instead. The contract requires at least one of query or advertiserId
The review table uses these columns. Values here are placeholders showing the shape
| id | adTitle | advertiserName | format | status | estimatedAudience | firstShownUtc | lastShownUtc | creative-angle note |
|---|---|---|---|---|---|---|---|---|
| ad-id-placeholder | ad title placeholder | advertiser placeholder | format code | status code | audience band | epoch seconds | epoch seconds | your note |
Use format and estimatedAudience to compare creative formats and audience bands worth testing. Keep firstShownUtc and lastShownUtc in the table so the record stays dated. The creative-angle note is reader-added and does not come from the tool
What the search takes
Agents call it through POST /v1/runs with toolId anyapi.tiktok.ad_transparency_search. The contract lists these input fields. advertiserId and query are alternatives, with at least one required. The contract marks days, limit, offset, region, sort and cursor as optional
| Field | Use |
|---|---|
advertiserId | TikTok Commercial Content Library advertiser ID |
query | Keyword to search in the EU Commercial Content Library |
days | History window from 1 to 365; default 30 |
limit | Maximum ads to return from 1 to 50; default 20 |
offset | Zero-based result offset; default 0 |
region | Region code; default DE |
sort | Upstream sort expression; default last_shown_date,desc |
cursor | Search cursor from a previous response's nextCursor |
For the 90-day advertiser sweep, set days to 90 and limit to 50. Set region to the market you need, since the default is DE. Leave offset at 0 when you page with cursor
How to read the output fields
found is true when TikTok's EU Commercial Content Library returned at least one ad. data holds the result object, or null when no ads were found. data.ads is the array of ad records. data.hasMore says whether the library reports more matching ads. data.nextCursor is the value to pass as cursor on the next request, or null when there is no next page. data.total is the total number of matching ads reported, data.offset is the zero-based offset for the page, and data.region is the region code applied to the search
Each ad record carries id, adTitle, advertiserName, format, status, estimatedAudience, firstShownUtc, lastShownUtc, image and videoUrl. format is the Commercial Content Library creative format code, status is the audit status code, and estimatedAudience is a range string. firstShownUtc and lastShownUtc are UTC epoch timestamps in seconds; multiply by 1000 for a JavaScript Date in milliseconds. image and videoUrl are signed asset URLs exactly as returned by the library
A found: false answer with reason: not_found is a successful call, not an error. It means the source returned nothing for the target
Paging and the per-request limit
Page with cursor until hasMore is false. Each page is a separate request. Billing is flat per request, so requesting limit 50 has the same maximum per call as limit 1. That makes a 50-ad page the efficient shape for a sweep, while the actual page count still depends on hasMore and nextCursor
For a side-by-side view of several advertisers, see Compare competitor ads
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to search TikTok's EU Commercial Content Library for one advertiser ID over the last 90 days. Check the current inputs and price of anyapi.tiktok.ad_transparency_search before running anything. Set days to 90 and limit to 50, set region to the market you need, and read nextCursor and hasMore from each response. Pass nextCursor as cursor until hasMore is false. Return a table with id, adTitle, advertiserName, format, status, estimatedAudience, firstShownUtc, lastShownUtc and a creative-angle note column. Use query nike only as a labelled Example keyword check; the audit run uses the advertiser ID supplied below. Do not invent advertiser IDs.
Advertiser ID: REPLACE_WITH_TIKTOK_COMMERCIAL_CONTENT_LIBRARY_IDEstimated tool cost
Prices from the Purrkey catalog, read November 12, 2026. The catalog lists anyapi.tiktok.ad_transparency_search at up to $0.0008 per call, unit max_call: "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single page of 20 ads | calls x max price | $0.0008 per call | 1 | $0.0008 |
| 90-day sweep paged at 50 ads | calls x max price | $0.0008 per call | 6 | $0.0048 |
Agent model fees are not counted
Run the advertiser search
Open TikTok ad transparency search to start the advertiser-ID audit
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with TikTok.FAQ
How do I search TikTok's EU ad library by advertiser ID?
Call the TikTok ad transparency search tool with advertiserId, set days to the history window you need, and page with cursor from nextCursor until hasMore is false.
What does the TikTok ad transparency search tool return?
It returns found and data; data holds ads, hasMore, nextCursor, total, offset and region. Each ad record includes id, adTitle, advertiserName, format, status, estimatedAudience, firstShownUtc, lastShownUtc, image and videoUrl.
What happens when no ads are found?
The found flag is false and data is null; the reason says the source returned nothing for the target. The contract treats a no-result answer as a successful call, not an error.
How much does a 90-day TikTok ad library sweep cost?
At the catalog maximum of $0.0008 per call, 6 pages cost at most $0.0048. A single page of 20 ads costs at most $0.0008.
Does limit 50 cost more than limit 1?
No. Billing is flat per request, so limit 50 has the same maximum per call as limit 1; each page is a separate request.
Can I search by keyword instead of advertiser ID?
Yes. The input requires query or advertiserId, so you can search by keyword or by the advertiser ID from TikTok's Commercial Content Library.
What do firstShownUtc and lastShownUtc mean?
They are UTC epoch timestamps in seconds for when the ad was first shown and last shown. Multiply by 1000 for a JavaScript Date in milliseconds.
Next step
Try this with TikTok
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.