tiktok.analytics.202509.shop_videos.overview_performance
GET/analytics/202509/shop_videos/overview_performanceVia 360: GET https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance
Description
Tổng quan hiệu quả video bán hàng của gian hàng theo ngày (hoặc gộp cả kỳ): GMV, đơn, lượt hiển thị / nhấp sản phẩm, CTR — tách được theo loại tài khoản đăng video.
- Gọi qua /v1/tiktok/analytics/202509/shop_videos/overview_performance với Authorization: Bearer <key>; dùng platform_shop_id khi có nhiều shop. 360 tự gắn app_key, shop_cipher, sign và access_token.
- API chỉ đọc; code = 0 mới là thành công.
end_date_ltkhông tính ngày đó — muốn gồm ngày X thì gửi X + 1.- Số liệu trễ ~1 ngày: xem
latest_available_date. - Tiền dạng
{amount, currency}, amount là chuỗi số. - Khoảng ngày TỐI ĐA 60 ngày (vượt → lỗi 28001022 "date range cannot exceed 60 days").
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance
Authentication & shop
| Name | In | Type | Sample | Description |
|---|---|---|---|---|
| Authorization | header | header | Bearer q360_live_ab12cd34_… | Khóa API của brand (tạo ở mục API key). Bắt buộc với mọi request. Brand suy từ key — không truyền mã brand. |
| platform_shop_id | query | string | 100001 | Gian hàng (lấy ở GET /v1/platforms → shops[].platform_shop_id). BẮT BUỘC khi brand có > 1 gian hàng trên nền tảng; 360 bỏ tham số này trước khi chuyển tiếp. |
Request parameters
| Name | In | Type | Required | Sample | Description |
|---|---|---|---|---|---|
| start_date_ge | query | string | Yes | 2026-10-15 | Từ ngày (YYYY-MM-DD, theo múi giờ gian hàng, tính cả ngày này). |
| end_date_lt | query | string | Yes | 2026-10-22 | Đến TRƯỚC ngày (YYYY-MM-DD, không tính ngày này). |
| granularity | query | string | No | 1D | 1D = từng ngày · ALL = gộp cả kỳ. |
| account_type | query | string | No | ALL | ALL · OFFICIAL_ACCOUNTS (tài khoản chính thức) · MARKETING_ACCOUNTS · AFFILIATE_ACCOUNTS (creator). |
| currency | query | string | No | LOCAL | LOCAL · USD. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance?platform_shop_id=7494000000000000000&start_date_ge=2026-10-15&end_date_lt=2026-10-22&granularity=1D&account_type=ALL¤cy=LOCAL" \ -H "Authorization: Bearer $KEY"
Python
import requests
KEY = "q360_live_..." # khóa API của brand
r = requests.get(
"https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance",
params={
"platform_shop_id": "7494000000000000000",
"start_date_ge": "2026-10-15",
"end_date_lt": "2026-10-22",
"granularity": "1D",
"account_type": "ALL",
"currency": "LOCAL"
},
headers={"Authorization": f"Bearer {KEY}"},
timeout=60,
)
print(r.status_code)
print(r.json())Node.js
const KEY = 'q360_live_...'; // khóa API của brand
const url = new URL('https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance');
for (const [k, v] of Object.entries({"platform_shop_id":"7494000000000000000","start_date_ge":"2026-10-15","end_date_lt":"2026-10-22","granularity":"1D","account_type":"ALL","currency":"LOCAL"})) url.searchParams.set(k, typeof v === 'object' ? JSON.stringify(v) : String(v));
const r = await fetch(url, {
method: 'GET',
headers: { Authorization: `Bearer ${KEY}` },
});
console.log(r.status, await r.json());PHP
<?php $key = 'q360_live_...'; // khóa API của brand $url = 'https://partner.quantri360.com/v1/tiktok/analytics/202509/shop_videos/overview_performance' . '?' . http_build_query(['platform_shop_id' => '7494000000000000000', 'start_date_ge' => '2026-10-15', 'end_date_lt' => '2026-10-22', 'granularity' => '1D', 'account_type' => 'ALL', 'currency' => 'LOCAL']); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, ['Authorization: Bearer ' . $key]); $res = curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); echo $status, "\n", $res;
Response
Response fields (as returned by TikTok Shop)
| Name | Type | Sample | Description |
|---|---|---|---|
| code | int | 0 | 0 = thành công; khác 0 xem message (105001–105003 = token, 360 đã tự làm mới một lần). |
| message | string | Success | Thông điệp của TikTok. |
| request_id | string | DEMO_REQUEST_A_01 | Mã request TikTok. |
| data | object | Dữ liệu. | |
| latest_available_date | string | Minh họa | Latest khả dụng ngày. |
| performance | object | Hiệu quả. | |
| intervals | object[] | Mỗi ngày (granularity 1D) hoặc một dòng (ALL). | |
| start_date | string | Minh họa | Bắt đầu ngày. |
| end_date | string | Minh họa | (không tính ngày này) |
| gmv | object | {amount, currency}. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Tiền tệ. |
| sku_orders | number | 1 | Số đơn theo SKU. |
| product_impressions | number | 1 | Lượt hiển thị sản phẩm trong video. |
| product_clicks | number | 1 | Sản phẩm lượt nhấp. |
| click_through_rate | string | 0.1 | CTR (0–1, chuỗi). |
| avg_customers | number | 1 | Khách trung bình / ngày. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "DEMO_REQUEST_A_01",
"data": {
"latest_available_date": "Minh họa",
"performance": {
"intervals": [
{
"start_date": "Minh họa",
"end_date": "Minh họa",
"gmv": {
"amount": "10000",
"currency": "VND"
},
"sku_orders": 1,
"product_impressions": 1,
"product_clicks": 1,
"click_through_rate": "0.1",
"avg_customers": 1
}
]
}
}
}
Get started
- Sign up for Partner
- Enable a data type of the Video group on the platform page
- Create an API key (tick the TikTok Shop channel)
- Call it as in the examples above