Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Creative Center Ad Search

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/ads/search-ads

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.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 14 tùy chọn

Phòng thử nghiệm

Đầu vào
Ad format, 1=Video ads
Ad language code, e.g., en, zh
Country code, e.g., US, UK, JP
Industry ID list, multiple IDs separated by commas.
Search keyword, optional, returns all ads if empty
Like count filter, 1=All
Items per page, default 20, max 50
Ad objective, 1=All
Sort method, "for_you"=Recommended, "likes"=Sort by likes
Page number, default 1
Time period in days, e.g., 7, 30, 120, 180 days
Search ID (optional)
视频时长筛选值(可选)/Video duration filter value (optional)
创意趋势标签(可选)/Creative pattern label (optional)
Đầu raVí dụ
Phản hồioutputs · 4.5 KB · 85 dòng
[
  {
    "data": {
      "code": 0,
      "data": {
        "materials": [
          {
            "ad_title": "Upgrade your dog's gear",
            "brand_name": "Tactipup",
            "cost": 2,
            "ctr": 0.22,
            "favorite": false,
            "id": "7172587525965332482",
            "industry_key": "label_19106000000",
            "is_search": true,
            "like": 69817,
            "objective_key": "campaign_objective_conversion",
            "video_info": {
              "cover": "https://p16-common-sign.tiktokcdn.com/v0201/oYEIQQTSgAZeBvKBNeb5ijnB8linKDDiOcC2BU~tplv-noop.image?dr=18692&refresh_token=c650bdf3&x-expires=1791312045&x-signature=JNSZrclq70bKRYgRIYUXH%2BZtoQE%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000ce52ctjc77u5bv4520ig",
              "duration": 29.92,
              "height": 1024,
              "vid": "v10033g50000ce52ctjc77u5bv4520ig",
              "video_url": {
                "720p": "https://v16m-default.tiktokcdn.com/b78e1e48f802ea221ac61412dc823ae8/6ac540ad/video/tos/alisg/tos-alisg-ve-0051c001-sg/ooOhURkXzEb5lWFMARfQoSm7AANPxFAIhYw8Bx/?a=0&bti=NTU4QDM1NGA%3D&&bt=1430&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=ODg2aDRlaDg6PGc8OTQ2ZkBpajM4eTg6Znc1aDMzODYzNEBhYi9iLzFiXmAxNS8uNjM1YSNmLzFfcjRnYDJgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
              },
              "width": 576
            }
          },
          {
            "ad_title": "Your favorite Marvel characters, all in one app. Access 30,000+ comics on Marvel Unlimited today!",
            "brand_name": "Marvel Unlimited",
            "cost": 2,
            "ctr": 0.22,
            "favorite": false,
            "id": "7129612298582228993",
            "industry_key": "label_20102000000",
            "is_search": true,
            "like": 255087,
            "objective_key": "campaign_objective_traffic",
            "video_info": {
              "cover": "https://p16-common-sign.tiktokcdn.com/v0201/507c537798c840e6b73c9944aa2f6099~tplv-noop.image?dr=18692&refresh_token=1b74add1&x-expires=1791312075&x-signature=xW9CSoU5ipSTjC37yqNEd02HYUs%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v10033g50000cbonhrrc77u8a45ifv3g",
              "duration": 58.987,
              "height": 1024,
              "vid": "v10033g50000cbonhrrc77u8a45ifv3g",
              "video_url": {
                "720p": "https://v16m-default.tiktokcdn.com/5ec2de2f18b41dfe14017f365879ab67/6ac540cb/video/tos/alisg/tos-alisg-ve-0051c001-sg/okDLZLNDIBAboEIpQibghHoPQBejfZ8nX5RvQQ/?a=0&bti=NTU4QDM1NGA%3D&&bt=1586&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=NWc8aTg6aTs5NjRkNGhmN0BpanlsNzs6ZnVxZTMzODYzNEBeMjU2X2MzNi0xYmIwLWI0YSMwYzJecjRvZWxgLS1kMC1zcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00088000"
              },
              "width": 576
            }
          },
          {
            "ad_title": "The most sentimental gift for your loved ones and the best way to cherish your own memories.",
            "brand_name": "PaintYourLife.com",
            "cost": 2,
            "ctr": 0.21,
            "favorite": false,
            "id": "7091614269021208577",
            "industry_key": "label_26104000000",
            "is_search": true,
            "like": 1714412,
            "objective_key": "campaign_objective_conversion",
            "video_info": {
              "cover": "https://p16-common-sign.tiktokcdn.com/tos-alisg-p-0051c001-sg/83ad99deaa9044f8a7684d5c4d24d6f7~tplv-noop.image?dr=18692&refresh_token=23c0daa6&x-expires=1791312046&x-signature=h%2BikNK27N3ORy%2BvX9Ss9Aj%2Fq8vo%3D&t=9276707c&ps=14f1eb3e&shp=9e36835a&shcp=317596d8&idc=my&VideoID=v14033g50000d9c6qdvog65pn5obnaeg",
              "duration": 30.063,
              "height": 1024,
              "vid": "v14033g50000d9c6qdvog65pn5obnaeg",
              "video_url": {
                "720p": "https://v16m-default.tiktokcdn.com/8a1ddcb7d2c789820515afbac364c2eb/6ac540ae/video/tos/alisg/tos-alisg-v-0000/414fe167784b48378329c849aabed965/?a=0&bti=NTU4QDM1NGA%3D&&bt=1403&ft=cApXJCz7ThWH3-y7LGZmo0P&mime_type=video_mp4&rc=aDYzMzRnMzw7OTc3OTw1N0BpamRlOHM5cmc5PDMzODYzNEAuNDRjNjU1XjExYWIwYGEzYSNia2xrMmRzbmBhLS1kMDFzcw%3D%3D&vvpl=1&l=20261006204014384EF8AE22A07D02A2F3&btag=e00048000"
              },
              "width": 576
            }
          },
          "… 17 more items in the full response"
        ],
        "pagination": {
          "has_more": true,
          "page": 1,
          "size": 20,
          "total_count": 400
        }
      },
      "msg": "OK"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

TikTok Creative Center Ad Search API

Searches TikTok Creative Center ad materials and returns a page of matching ads with titles, brand names, like counts, click-through rates and video details. No input is required. You can narrow results with keyword, industry, country_code, period and other filters.

Use cases

  • Find the most liked video ads in one industry for a given country.
  • Search a keyword to see how competing brands word their ad titles.
  • Collect cover images and video files of ads for a creative swipe file.
  • Compare ctr and like across ads with different campaign objectives.

Request

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 '{}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
ad_formatintegerNoAd format, 1=Video ads
ad_languagestringNoAd language code, e.g., en, zh
country_codestringNoCountry code, e.g., US, UK, JP
durationstringNo视频时长筛选值(可选)/Video duration filter value (optional)
industrystringNoIndustry ID list, multiple IDs separated by commas.
keywordstringNoSearch keyword, optional, returns all ads if empty
likeintegerNoLike count filter, 1=All
limitintegerNoItems per page, default 20, max 50
objectiveintegerNoAd objective, 1=All
order_bystringNoSort method, "for_you"=Recommended, "likes"=Sort by likes
pageintegerNoPage number, default 1
pattern_labelstringNo创意趋势标签(可选)/Creative pattern label (optional)
periodintegerNoTime period in days, e.g., 7, 30, 120, 180 days
search_idstringNoSearch ID (optional)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "materials": [
      {
        "ad_title": "Prism Pavilion — every item earns its place",
        "brand_name": "wondermart",
        "cost": 2,
        "ctr": 0.16,
        "favorite": false,
        "id": "7164467399885864962",
        "industry_key": "label_15100000000",
        "is_search": true,
        "like": 36951,
        "objective_key": "campaign_objective_traffic",
        "tag": 1,
        "video_info": {
          "cover": "https://p16-common-sign.tiktokcdn.com/tos-useast2a-p-0051c799-euttp/ocZdEUNYLDA0…",
          "duration": 17.904,
          "height": 1024,
          "vid": "v14033g50000d7nteivog65o65kvtj6g",
          "video_url": {
            "360p": "https://v16m-default.tiktokcdn.com/3880605c9b6dfc909a49f6d67c0fc8ad/6ae9e52b/vid…",
            "480p": "https://v16m-default.tiktokcdn.com/08003f78c06f5df8e4e3a125013dd0d7/6ae9e52b/vid…",
            "540p": "https://v16m-default.tiktokcdn.com/b4f69654b8cbb8170275f69bfc79d20f/6ae9e52b/vid…",
            "720p": "https://v16m-default.tiktokcdn.com/a2fa185eb2001a03e614595a0bc26843/6ae9e52b/vid…"
          },
          "width": 576
        }
      }
    ],
    "pagination": {
      "has_more": true,
      "page": 1,
      "size": 20,
      "total_count": 400
    }
  },
  "msg": "OK"
}

Response fields

FieldMeaning
data.materials[].idID of the ad material. Pass it to other ad APIs that ask for a material ID.
data.materials[].ad_title / data.materials[].brand_nameTitle text of the ad and the name of the brand that runs it.
data.materials[].likeLike count of the ad.
data.materials[].ctrClick-through rate value of the ad, as a number such as 0.16.
data.materials[].costCost level value of the ad, returned as a small integer such as 2.
data.materials[].industry_key / data.materials[].objective_keyIndustry label code and campaign objective of the ad, for example campaign_objective_traffic.
data.materials[].video_info.coverURL of the cover image of the ad video.
data.materials[].video_info.duration / data.materials[].video_info.width / data.materials[].video_info.heightLength of the video, and its frame width and height.
data.materials[].video_info.video_urlVideo file URLs keyed by resolution, such as 720p. Some ads list only one resolution.
data.pagination.has_more / data.pagination.total_countWhether more pages exist, and the total number of matching ads.

Notes

  • Page through results with page and limit. The response data.pagination shows the current page and size.
  • Set order_by to likes to sort by like count, or for_you for recommended order.
  • Pass several industry IDs in industry separated by commas.
  • Use id from data.materials[] with TikTok Ad Percentile Rankings or TikTok Ad Keyframe Analysis for deeper analysis of one ad.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Creative Center Ad Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/ads/search-ads với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Creative Center Ad Search có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Creative Center Ad Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: ad_format (integer), ad_language (string), country_code (string), industry (string), keyword (string) và like (integer) và 8 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Creative Center Ad Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Creative Center Ad Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.