> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Ad Library Search

> Searches TikTok Creative Center Top Ads by default. Pass advertiser_name to search TikTok's public Ads Library by advertiser name instead. Supports cursor pagination for both modes.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `region` | `string` | No | Country code. Defaults to US. |
| `period` | `string` | No | Time window for Top Ads. |
| `query` | `string` | No | Optional keyword to search ad titles/content. |
| `advertiser_name` | `string` | No | Search the public TikTok Ads Library by advertiser name. When this is passed, the endpoint uses library.tiktok.com/ads instead of Creative Center Top Ads. |
| `order_by` | `string` | No | Sort metric. Defaults to for\_you. |
| `industry` | `string` | No | Industry filter. |
| `objective` | `string` | No | Campaign objective filter. |
| `duration` | `string` | No | Video duration filter. |
| `likes` | `string` | No | Likes percentile filter. |
| `ad_format` | `string` | No | Ad format filter. |
| `ad_language` | `string` | No | Ad language filter. |
| `cursor` | `number` | No | Page number to fetch. Use the cursor returned from the previous response, like 3 for page 3. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "query": "",
  "region": "US",
  "period": 30,
  "ads": [
    {
      "ad_title": "I thought this was a gimmick until I tried it! A wrinkled shirt, one button, and a few minutes later... ready to wear. Tap the link in bio and see why everyone’s talking about Bellairon before it sells out. @Bellairon LLC ",
      "brand_name": "",
      "cost": 1,
      "ctr": 0.5,
      "favorite": false,
      "id": "7646829987799334920",
      "industry_key": "label_22108000000",
      "is_search": true,
      "like": 92,
      "objective_key": "campaign_objective_reach",
      "video_info": {
        "vid": "v12044gd0000d8erq07og65h1cq991gg",
        "duration": 89.767,
        "cover": "https://p16-common-sign.tiktokcdn.com/tos-maliva-p-0068c799-us/oIbqBdvfEAiFpgvAOgrQHCF5R0mkDDLiEfvQDS~tplv-noop.image?dr=18692&refresh_token=2ac068a9&x-expires=1781231816&x-signature=hLbBkguntM4oX9tgdnKMMDYixAA%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my2&VideoID=v12044gd0000d8erq07og65h1cq991gg",
        "video_url": {
          "540p": "https://v16m-default.tiktokcdn.com/64e64ad32f68588eee511da0114f0f2e/6a2b70c8/video/tos/maliva/tos-maliva-ve-0068c799-us/oIN2GPIRgHAUBHOeNfLk2HBSERoJeIALGC3jAE/?a=0&bti=NTU4QDM1NGA%3D&&bt=315&ft=cApXJCz7ThWHK-z9LGZmo0P&mime_type=video_mp4&rc=Omk6ZWQ7Nzc7OGY8PGVnOkBpajQ8Zms5cjN1OzMzZzczNEBgNDAzXl9hXjMxLzEvXjFiYSNkNm4uMmQ0bmJhLS1kMS9zcw%3D%3D&vvpl=1&l=20260612043527C18C959B9A8CF584D398&btag=e00090000",
          "720p": "https://v16m-default.tiktokcdn.com/4ee4e5763b088d7d77e4a9f4fce502b6/6a2b70c8/video/tos/maliva/tos-maliva-ve-0068c799-us/ooEipQa9HbhJ4ChzASIngUPhBAdXiABIvxU2E/?a=0&bti=NTU4QDM1NGA%3D&&bt=877&ft=cApXJCz7ThWHK-z9LGZmo0P&mime_type=video_mp4&rc=ZTg3OTQ0NTQzZGVpNWg6NkBpajQ8Zms5cjN1OzMzZzczNEBhNC0yMDViNi8xLV9hX2AuYSNkNm4uMmQ0bmJhLS1kMS9zcw%3D%3D&vvpl=1&l=20260612043527C18C959B9A8CF584D398&btag=e00090000"
        },
        "width": 720,
        "height": 1280
      }
    }
  ],
  "pagination": {
    "has_more": true,
    "page": 1,
    "size": 20,
    "total_count": 326
  },
  "total": 326,
  "has_more": true,
  "cursor": 2
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.