POST /v1/tiktok/ads/search_ads
Search ads
stable · 2 credits per success
Search ads in TikTok's Creative Center with multi-dimensional filtering and sorting;Discover effective ad cases related to specific industries, keywords, or objectives;Provide reference and inspiration for ad planning and creative production;keyword: Search keyword, optional, returns all ads if empty;objective: Optional ad objective; omit it to include all objectives;like: Optional performance pe…
Request parameters
| Name | Type | In | Required | Description | Example |
|---|---|---|---|---|---|
| like | integer | body | no | 表现排名(可选) | demo |
| page | integer | body | no | 页码 | demo |
| limit | integer | body | no | 每页数量 | 20 |
| cookie | string | body | no | 自定义Cookie字符串(可选) | demo |
| period | integer | body | no | 时间段 | demo |
| keyword | string | body | no | 搜索关键词 | 咖啡 |
| duration | integer | body | no | 视频时长筛选值(可选) | demo |
| industry | string | body | no | 行业ID | demo |
| order_by | string | body | no | 排序方式 | demo |
| ad_format | integer | body | no | 广告格式(可选) | demo |
| objective | integer | body | no | 广告目标类型(可选) | demo |
| search_id | string | body | no | 搜索ID(可选) | demo |
| ad_language | string | body | no | 广告语言(可选) | demo |
| country_code | string | body | no | 国家代码 | demo |
| pattern_label | string | body | no | 创意趋势标签(可选) | demo |
Response fields
Field dictionary coming soon — the executable panel shows the live shape.
Errors
| code | HTTP | Meaning | Billed |
|---|---|---|---|
| 40001 | 400 | Invalid parameters | no |
| 40102 | 401 | Invalid or revoked API Key | no |
| 40201 | 402 | Insufficient credits | no |
| 40402 | 404 | Resource not found | no |
| 42201 | 422 | Quality gate failed | no |
| 42901 | 429 | Rate limit exceeded | no |
| 50401 | 504 | Upstream timeout | no |
| 50201 | 502 | Upstream error | no |
Billing
Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.