TikTok Ad Library
search_tiktok_adsAds 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. Use for ads on TikTok (TikTok Ad Library: EEA, CH, GB, TR and BR) by keyword, advertiser or ad ID; for Facebook and Instagram ads use search_meta_ads; for Google use search_google_ads. Returns {items: [...]} with one object per result, for example: {"status":"ok","adId":"1853503986660497","adUrl":"https://library.tiktok.com/ads/detail/?ad_id=1853503986660497","advertiserName":"enmosport.net","adType":"IMAGE","adText":"Men's Outdoor Running Shoes Casual Shoes Hiking Shoes","adCallToAction":"Shop now","adStartDate":"2026-01-05","adEndDate":"2026-01-05","adImpressions":"0-1K","advertiserLocation":"Spain","adLandingUrl":"https://enmosport.net/pr Large requests return nextCursor: call again with only cursor to get the next page. Cost: pay per result (prices on the store page where you subscribed), or US$ 0.025 per call with x402 (up to 50 ads). Read-only: it only reads public data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_tiktok_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Keywords to search in ads. Comma-separate several (max 5). Give q, advertiser, ad_id or url. | |
| max | No | Maximum ads per search (1-5000, default 12). When one call cannot carry them all, send nextCursor for the rest. | |
| url | No | A TikTok Ad Library search or ad URL with your filters already set (one per call). | |
| ages | No | Target age groups, comma-separated: 13-17, 18-24, 25-34, 35-44, 45-54, 55+. | |
| sort | No | Order of the results. | |
| ad_id | No | Ad IDs. Comma-separate several (max 20). | |
| exact | No | Match q as an exact phrase. | |
| reach | No | Unique users reached, comma-separated: 0-10K, 10K-100K, 100K+. | |
| cursor | No | Next page: the nextCursor of the previous answer. Send it alone; the first call's parameters are kept. Cursors last 24 hours. | |
| gender | No | Target gender: female or male. | |
| status | No | Only running or only ended ads. | |
| ad_type | No | Ad format. | |
| compact | No | Shorter rows: drops the per-country breakdowns and duplicate fields. | |
| country | No | 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_to | No | Only ads shown on or before this date (YYYY-MM-DD). | |
| details | No | Open each ad: landing page, button, payer, impressions by country, age and gender, targeting (default true). false returns the faster list view. | |
| min_days | No | Only ads running for at least this many days. | |
| only_new | No | Only ads this API key has not received before under the same stateKey. | |
| stateKey | No | With only_new: name of your monitor (letters, numbers, - and _). | |
| timezone | No | Time zone the dates are read in, e.g. Europe/Berlin. Default UTC. | |
| date_from | No | Only ads shown on or after this date (YYYY-MM-DD, the library starts in 2022-10). Default: the last 12 months. | |
| advertiser | No | 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). | |
| image_text | No | The words written on the ad image or video cover (imageText). | |
| transcribe | No | Speech of each video ad as text: transcript, language, first 3 seconds (hook3s), timed segments. Fewer ads per call; send nextCursor for the rest. | |
| ai_analysis | No | Marketing reading of each ad (analysis): hook, offer, offer type, angle, emotional trigger, target persona, call to action, summary. | |
| result_type | No | advertisers: registered advertiser names that match the text. keyword_ideas: searches the library suggests. Default ads. | |
| advertiser_id | No | Advertiser ID, together with one advertiser name. | |
| exclude_keywords | No | Drop ads with any of these words (comma-separated). | |
| include_keywords | No | Keep only ads whose text, advertiser or link has one of these words (comma-separated). |