Search Ads
Searches the TikTok Commercial Content Library by keyword. Returns raw ad payloads including creative, advertiser, run dates, targeted countries, and disclosed reach. Supports country and date-range filtering.
Capability ID
tiktok-adlibrary.ad.search
Cost
10 credits per request
Maximum runtime
120 seconds
POST
/execute
Shared execution endpoint
Input parameters
| Field | Type | Required | Description |
|---|---|---|---|
country |
string |
Optional | ISO-3166 alpha-2 country code, or "ALL" for all available regions (default: ALL). The library covers EU/UK/EEA regions. |
cursor |
string |
Optional | Pagination cursor from a previous response's next_cursor. |
end_date |
string |
Optional | Only ads shown on or before this date (YYYY-MM-DD). Default: today. |
limit |
integer |
Optional | Maximum number of ads to return (default: 50). |
query |
string |
Required | Search keyword or phrase (brand, product, slogan). |
start_date |
string |
Optional | Only ads shown on or after this date (YYYY-MM-DD). Default: 30 days ago. |
Response
Successful output is returned in results[0].data. Raw platform output is
intentionally open-ended and may evolve with the upstream source.
Illustrative sample
The full redacted fixture is shown in the response panel.
Illustrative output fields
Derived from the sample above for orientation only. These observed fields are not a fixed response schema.
| Path | Observed type | Example |
|---|---|---|
items |
array |
3 items |
items |
array |
3 items |
next_cursor |
string |
0:5: |
total_items |
integer |
5 |
Execution behavior
A 200 response completed inline. A 202 response was queued; poll
GET /jobs/:id until the job reaches completed or
failed.