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

TikTok Ad Keyframe Analysis

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

Returns keyframe performance metrics across video ad timestamps for a specified material ID, including retention and conversion figures.

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

Phòng thử nghiệm

Đầu vào
Ad material ID, required parameter
Analysis metric (retain_ctr, retain_cvr, click_cnt, convert_cnt, play_retain_cnt)
Đầu raVí dụ
Phản hồioutputs · 461 B · 29 dòng
[
  {
    "data": {
      "code": 0,
      "data": {
        "analysis": [
          {
            "second": 0,
            "value": 0
          },
          {
            "second": 1,
            "value": 1
          },
          {
            "second": 2,
            "value": 0
          },
          "… 16 more items in the full response"
        ],
        "duration": 19,
        "highlight": [
          1
        ]
      },
      "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 Ad Keyframe Analysis API

Fetch frame-by-frame audience engagement and drop-off metrics for an ad video using its material_id.

Use cases

  • Identify exact video timestamps where audience drop-off occurs.
  • Compare retention and conversion rates across creative keyframes.
  • Optimize ad pacing and hook placement based on frame-level metrics.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/ads/ad-keyframe-analysis" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"material_id": "<material_id>"}'

Parameters

NameTypeRequiredDescription
material_idstringYesAd material ID, required parameter
metricstringNoAnalysis metric (retain_ctr, retain_cvr, click_cnt, convert_cnt, play_retain_cnt)

Notes

  • Supported metric values include retain_ctr, retain_cvr, click_cnt, convert_cnt, and play_retain_cnt.
  • Requires a valid material_id representing the ad creative.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

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 Ad Keyframe Analysis?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/ads/ad-keyframe-analysis 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 Ad Keyframe Analysis 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 Ad Keyframe Analysis chấp nhận những tham số nào?

Bắt buộc: material_id (string). Tùy chọn: metric (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Ad Keyframe Analysis trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

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 Ad Keyframe Analysis 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.