TikTok Ad Library Ads Search API
Search TikTok ads by keyword, brand or slogan, by country and date range: advertiser, ad text, audience size, subject and first and last day shown.
{ "total_items": 50, "items": [ { "name": "NIKE Retail B.V.", "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.", "audit_status": "1", "estimated_audience": "100K-200K", "first_shown_date": 1791936000000, "id": "1879011035967585", "impression": 0, "last_shown_date": 1791936000000, "rejection_info": null, "show_mode": 2, "sor_audit_status": "1", "spent": "", "type": "2" }, { "name": "NIKE Retail B.V.", "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.", "audit_status": "1", "estimated_audience": "10K-100K", "first_shown_date": 1791936000000, "id": "1879008267714690", "impression": 0, "last_shown_date": 1791936000000, "rejection_info": null, "show_mode": 2, "sor_audit_status": "1", "spent": "", "type": "2" } ]}
| # | Name | Title | Audit status | Estimated audience | First shown date | Impression | Last shown date | Show mode | Sor audit status | Spent | Type | Id |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 100K-200K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011035967585 | |
| 2 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879008267714690 | |
| 3 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011032364849 | |
| 4 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 100K-200K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011042908338 | |
| 5 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011035967569 | |
| 6 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011040882386 | |
| 7 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011032364833 | |
| 8 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011040882402 | |
| 9 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879011042908322 | |
| 10 | NIKE Retail B.V. | Trainiere ohne Kompromisse - im Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879008267714674 | |
| 11 | NIKE Retail B.V. | Work without compromise in the Nike Hybrid RN. | 1 | 0-1K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879069070553138 | |
| 12 | NIKE Retail B.V. | Work without compromise in the Nike Hybrid RN. | 1 | 0-1K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879069052959938 | |
| 13 | NIKE Retail B.V. | Work without compromise in the Nike Hybrid RN. | 1 | 10K-100K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879008261500161 | |
| 14 | NIKE Retail B.V. | Work without compromise in the Nike Hybrid RN. | 1 | 0-1K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879069066560561 | |
| 15 | NIKE Retail B.V. | Work without compromise in the Nike Hybrid RN. | 1 | 0-1K | 1,791,936,000,000 | 0 | 1,791,936,000,000 | 2 | 1 | 2 | 1879069060817841 |
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| query | string | yes | The keyword, brand, product or slogan to search for, such as nike. | nike |
| country | string | no | A country the library covers, such as DE, FR or GB, or ALL. The regions endpoint lists them. | ALL · AT · BE · BG · CH · CY · CZ · DE · DK · E… |
| cursor | string | no | Pass next_cursor from the last response to get the next page. | |
| end_date | string | no | Only ads shown up to this day (YYYY-MM-DD). Today by default. | |
| limit | integer | no | How many ads to return in this call. | |
| start_date | string | no | Only ads shown on or after this day (YYYY-MM-DD). By default, 30 days before the end date. |
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].name | string | The advertiser's registered name. | NIKE Retail B.V. |
| items[].title | string | The ad's text. | Trainiere ohne Kompromisse - im Nike Hybrid RN. |
| items[].estimated_audience | string | TikTok's audience band, such as 100K-200K. | 100K-200K |
| items[].first_shown_date | integer | The first day the ad was shown, as a Unix time in milliseconds. | 1,791,936,000,000 |
| items[].last_shown_date | integer | The last day the ad was shown, as a Unix time in milliseconds. | 1,791,936,000,000 |
| items[].id | string | TikTok's ID for the ad, used by the ad detail endpoint. | 1879011035967585 |
| items[].audit_status | string | TikTok's review status code for the ad. | 1 |
| items[].impression | integer | Impressions as a number, when TikTok gives one; often 0. | 0 |
| items[].rejection_info | null | Why TikTok rejected the ad, when it did. | null |
| items[].show_mode | integer | TikTok's code for how the ad is shown. | 2 |
| items[].sor_audit_status | string | A second review status code TikTok gives the ad. | 1 |
| items[].spent | string | Amount spent on the ad, when TikTok shows it. | |
| items[].type | string | TikTok's code for the kind of ad. | 2 |
| items | array | The results. | 50 records |
| total_items | integer | How many results this response holds. | 50 |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "tiktok-adlibrary.ad.search", "input": { "query": "nike" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tiktok-adlibrary.ad.search", "input": { "query": "nike" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "tiktok-adlibrary.ad.search", "input": { "query": "nike" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "total_items": 50, "items": [ { "name": "NIKE Retail B.V.", "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.", "audit_status": "1", "estimated_audience": "100K-200K", "first_shown_date": 1791936000000, "id": "1879011035967585", "impression": 0, "last_shown_date": 1791936000000, "rejection_info": null, "show_mode": 2, "sor_audit_status": "1", "spent": "", "type": "2" }, { "name": "NIKE Retail B.V.", "title": "Trainiere ohne Kompromisse - im Nike Hybrid RN.", "audit_status": "1", "estimated_audience": "10K-100K", "first_shown_date": 1791936000000, "id": "1879008267714690", "impression": 0, "last_shown_date": 1791936000000, "rejection_info": null, "show_mode": 2, "sor_audit_status": "1", "spent": "", "type": "2" } ]}
More TikTok Ad Library endpoints
The same API key runs every one of them.
The same data from other platforms
-
Facebook Ad Library Searches the public Facebook Ad Library by keyword and returns raw creative and transparency metadata. Supports validated country, language, publisher-platform, media, status, date, and sort filters. Ads search10 credits per call
-
Google Ads Transparency List an advertiser’s Google creatives with pagination and optional delivery country, format and platform filters. Returns raw positional source fields. Advertiser creatives5 credits per 40 results per call
-
Swiggy Track ad placements and promoted restaurants on Swiggy's first listing page for a delivery location. Ads1 credit per call
TikTok Ad Library Ads Search API FAQ
The short answers. The docs have the long ones.
How much does the TikTok Ad Library Ads Search API cost?
10 credits per 50 results per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send query. The input fields below list every option with its type and limits.
Do I need a TikTok Ad Library login?
No. It reads public TikTok Ad Library data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds tiktok-adlibrary.ad.search, checks its price and runs it with the same credits as the REST API.