# TikTok Creative Center Ad Search API

> Searches ad materials in the TikTok Creative Center using filters such as keyword, industry, country, and performance metrics. Returns ad titles, brand names, IDs, and video metadata.

Source: https://www.sandbase.ai/apis/tiktok/ads/search-ads
API reference: https://www.sandbase.ai/apis/tiktok/ads/search-ads/docs

## Facts

- Provider: TikTok
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/tiktok/ads/search-ads`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, tiktok
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/tiktok/ads/search-ads` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `ad_format` | integer | no |  |
| `ad_language` | string | no |  |
| `country_code` | string | no |  |
| `industry` | string | no |  |
| `keyword` | string | no |  |
| `like` | integer | no |  |
| `limit` | integer | no |  |
| `objective` | integer | no |  |
| `order_by` | string | no |  |
| `page` | integer | no |  |
| `period` | integer | no |  |
| `search_id` | string | no |  |
| `duration` | any | no |  |
| `pattern_label` | any | no |  |

## FAQ

### How do I use the TikTok Creative Center Ad Search API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/ads/search-ads with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the TikTok Creative Center Ad Search API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the TikTok Creative Center Ad Search API accept?

No parameters are required. Optional: ad_format (integer), ad_language (string), country_code (string), industry (string), keyword (string) and like (integer) and 8 more. The Parameters table and the Playground on this page list every field.

### What does the TikTok Creative Center Ad Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a TikTok developer account or API key?

No. TikTok Creative Center Ad Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.

## README

### TikTok Creative Center Ad Search API

Query TikTok Creative Center ad cases using parameters like `keyword`, `industry`, and `country_code`. Returns matching ad materials along with engagement metrics and video details.

#### Use cases

- Discover top-performing video ad campaigns across specific industries.
- Analyze competitive creative strategies by keyword and country.
- Benchmark ad performance metrics such as like counts and video durations.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/search-ads" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `like` | integer | No | Like count filter, 1=All |
| `page` | integer | No | Page number, default 1 |
| `limit` | integer | No | Items per page, default 20, max 50 |
| `period` | integer | No | Time period in days, e.g., 7, 30, 120, 180 days |
| `keyword` | string | No | Search keyword, optional, returns all ads if empty |
| `duration` | string | No | 视频时长筛选值（可选）/Video duration filter value (optional) |
| `industry` | string | No | Industry ID list, multiple IDs separated by commas. |
| `order_by` | string | No | Sort method, "for_you"=Recommended, "likes"=Sort by likes |
| `ad_format` | integer | No | Ad format, 1=Video ads |
| `objective` | integer | No | Ad objective, 1=All |
| `search_id` | string | No | Search ID (optional) |
| `ad_language` | string | No | Ad language code, e.g., en, zh |
| `country_code` | string | No | Country code, e.g., US, UK, JP |
| `pattern_label` | string | No | 创意趋势标签（可选）/Creative pattern label (optional) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "materials": [
      {
        "ad_title": "Upgrade your dog's gear",
        "brand_name": "Tactipup",
        "id": "7172587525965332482",
        "like": 69817,
        "video_info": {
          "duration": 29.92
        }
      }
    ]
  }
}
```

#### Notes

- Use `limit` (max 50, default 20) and `page` (default 1) for pagination.
- `order_by` accepts `for_you` for recommendations or `likes` to sort by engagement.
- `industry` accepts a comma-separated list of industry IDs.

#### Related APIs

- [TikTok Ad Interactive Analysis](/model/tiktok/ads/ad-interactive-analysis): Returns audience retention and interaction analytics across video timestamps for a specified ad creative.
- [TikTok Ad Keyframe Analysis](/model/tiktok/ads/ad-keyframe-analysis): Returns keyframe performance metrics across video ad timestamps for a specified material ID, including retention and conversion figures.
- [TikTok Ad Material Percentile Rankings](/model/tiktok/ads/ad-percentile): Returns ad performance percentile rankings within the industry for a specific ad material.
