tiktok.analytics.202609.shop_lives.performance
GET/analytics/202609/shop_lives/performanceVia 360: GET https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/performance
Description
Lấy danh sách phiên LIVE và chỉ số của gian hàng; chỉ truy vấn được phòng của tài khoản creator chính thức của chính gian hàng.
- Gọi qua /v1/tiktok/analytics/202609/shop_lives/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.
Request
Endpoint
GET https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/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-11-01 | Ngày bắt đầu YYYY-MM-DD theo múi giờ gian hàng, tính cả mốc. |
| end_date_lt | query | string | Yes | 2026-11-02 | Ngày kết thúc YYYY-MM-DD theo múi giờ gian hàng, không tính mốc. |
| account_type | query | string | Yes | OFFICIAL_ACCOUNTS | Tài khoản loại. Giá trị: OFFICIAL_ACCOUNTS, MARKETING_ACCOUNTS, AFFILIATE_ACCOUNTS. |
| page_size | query | int | No | 10 | Số kết quả mỗi trang. Tối đa 100, mặc định 10. |
| sort_field | query | string | No | create_time | Trường sắp xếp: live_attributed_gmv, products_added, products_sold, live_attributed_sku_orders, live_attributed_items_sold, attributed_customers |
| sort_order | query | string | No | DESC | Thứ tự: ASC tăng dần, DESC giảm dần. |
| currency | query | string | No | VND | USD: đô la Mỹ; LOCAL: tiền địa phương, mặc định LOCAL. |
| page_token | query | string | No | Con trỏ next_page_token của trang trước; bỏ ở trang đầu. |
Request examples
curl -s "https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/performance?start_date_ge=2026-11-01&end_date_lt=2026-11-02&account_type=OFFICIAL_ACCOUNTS&page_size=10&sort_field=live_attributed_gmv&sort_order=DESC¤cy=VND&page_token=" \ -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/202609/shop_lives/performance",
params={
"start_date_ge": "2026-11-01",
"end_date_lt": "2026-11-02",
"account_type": "OFFICIAL_ACCOUNTS",
"page_size": 10,
"sort_field": "live_attributed_gmv",
"sort_order": "DESC",
"currency": "VND",
"page_token": ""
},
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/202609/shop_lives/performance');
for (const [k, v] of Object.entries({"start_date_ge":"2026-11-01","end_date_lt":"2026-11-02","account_type":"OFFICIAL_ACCOUNTS","page_size":10,"sort_field":"live_attributed_gmv","sort_order":"DESC","currency":"VND","page_token":""})) 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/202609/shop_lives/performance' . '?' . http_build_query(['start_date_ge' => '2026-11-01', 'end_date_lt' => '2026-11-02', 'account_type' => 'OFFICIAL_ACCOUNTS', 'page_size' => 10, 'sort_field' => 'live_attributed_gmv', 'sort_order' => 'DESC', 'currency' => 'VND', 'page_token' => '']); $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 | Mã. Giá trị: API. |
| message | string | Success | Tin nhắn. Giá trị: API. |
| request_id | string | DEMO_REQUEST_A_01 | Yêu cầu mã. |
| data | object | Dữ liệu. | |
| latest_available_date | string | Minh họa | Latest khả dụng ngày. Giá trị: ISO. |
| live_stream_sessions | object[] | Live stream sessions. | |
| creator | object | Creator. Giá trị: LIVE. | |
| author_type | string | Minh họa | Tác giả loại. |
| creator_country | string | Minh họa | Creator quốc gia. |
| nick_name | string | Minh họa | Nick tên. |
| open_id | string | 100000000000000001 | Open mã. |
| user_name | string | Minh họa | Người dùng tên. |
| end_time | string | 2026-11-02T00:00:00Z | Kết thúc (Unix giây). |
| id | string | 100000000000000001 | Mã. Giá trị: LIVE. |
| interaction_performance | object | Tương tác hiệu quả. Giá trị: OFFICIAL_ACCOUNTS, MARKETING_ACCOUNTS. | |
| comment_rate | string | 0.1 | Bình luận tỷ giá. |
| comments | number | 1 | Comments. Giá trị: LIVE. |
| follow_rate | string | 0.1 | Theo dõi tỷ giá. |
| like_rate | string | 0.1 | Thích tỷ giá. |
| likes | number | 1 | Likes. Giá trị: LIVE. |
| new_followers | number | 1 | New followers. |
| share_rate | string | 0.1 | Chia sẻ tỷ giá. |
| shares | number | 1 | Shares. Giá trị: LIVE. |
| sales_performance | object | Doanh số hiệu quả. Giá trị: LIVE. | |
| aov | object | Aov. Giá trị: LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| attributed_customers | number | 1 | Quy gán khách hàng. Giá trị: LIVE. |
| avg_live_auction_price | object | Trung bình live auction giá. Giá trị: LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| avg_price | object | Trung bình giá. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| created_sku_orders | number | 1 | Created sku orders. Giá trị: SKU. |
| gmv_with_tiktok_coupons | object | Gmv with tiktok coupons. Giá trị: GMV. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_attributed_gmv | object | Live quy gán gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_attributed_items_sold | number | 1 | Live quy gán items sold. Giá trị: LIVE. |
| live_attributed_orders | number | 1 | Live quy gán orders. Giá trị: LIVE. |
| live_attributed_sku_orders | number | 1 | Live quy gán sku orders. Giá trị: SKU, LIVE. |
| live_auction_attributed_gmv | object | Live auction quy gán gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_auction_attributed_items_sold | number | 1 | Live auction quy gán items sold. Giá trị: LIVE. |
| live_auction_attributed_sku_orders | number | 1 | Live auction quy gán sku orders. Giá trị: SKU, LIVE. |
| live_auction_gmv | object | Live auction gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_auction_indirect_gmv | object | Live auction gián tiếp gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_gmv | object | Live gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| live_indirect_gmv | object | Live gián tiếp gmv. Giá trị: GMV, LIVE. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| payment_rate | string | 0.1 | Thanh toán tỷ giá. |
| products_sold | number | 1 | Products sold. Giá trị: LIVE. |
| start_time | string | 2026-11-01T00:00:00Z | Mốc bắt đầu RFC 3339 có múi giờ, tính cả mốc. |
| title | string | Minh họa | Tiêu đề. Giá trị: LIVE. |
| traffic | object | Lưu lượng. Giá trị: LIVE. | |
| acu | number | 1 | Acu. |
| avg_viewing_duration | number | 1 | Trung bình viewing thời lượng. |
| avg_viewing_duration_per_viewer | number | 1 | Trung bình viewing thời lượng mỗi viewer. |
| ctor | string | 0.1 | Ctor. |
| ctor_sku_order | string | Minh họa | Ctor sku đơn hàng. Giá trị: SKU. |
| ctr | string | 0.1 | Ctr. |
| gmv_per_hour | object | Gmv mỗi hour. Giá trị: LIVE, GMV. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| impressions | number | 1 | Lượt hiển thị. Giá trị: LIVE. |
| impressions_per_hour | number | 1 | Lượt hiển thị mỗi hour. |
| live_ctr | string | Minh họa | Live ctr. |
| order_rate_sku_orders | string | Minh họa | Đơn hàng tỷ giá sku orders. Giá trị: SKU. |
| over_1m_live_viewing_rate | string | 0.1 | Over 1m live viewing tỷ giá. |
| over_1m_views | number | 1 | Over 1m lượt xem. |
| pcu | number | 1 | Pcu. |
| product_clicks | number | 1 | Sản phẩm lượt nhấp. |
| product_impressions | number | 1 | Sản phẩm lượt hiển thị. |
| products_added | number | 1 | Products added. Giá trị: LIVE. |
| show_gpm | object | Show gpm. Giá trị: LIVE, GMV. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| tap_through_rate | string | 0.1 | Tap through tỷ giá. Giá trị: LIVE. |
| viewers | number | 1 | Người xem. |
| views | number | 1 | Lượt xem. Giá trị: LIVE. |
| watch_gpm | object | Xem gpm. Giá trị: LIVE, GMV. | |
| amount | string | 10000 | Số tiền. |
| currency | string | VND | Mã tiền tệ ISO 4217. |
| next_page_token | string | Con trỏ trang kế tiếp; rỗng là hết dữ liệu. | |
| total_count | number | 1 | Tổng số lượng. Giá trị: LIVE. |
| updated_at | string | Minh họa | Updated at. |
Response sample
{
"code": 0,
"message": "Success",
"request_id": "DEMO_REQUEST_A_01",
"data": {
"latest_available_date": "Minh họa",
"live_stream_sessions": [
{
"creator": {
"author_type": "Minh họa",
"creator_country": "Minh họa",
"nick_name": "Minh họa",
"open_id": "100000000000000001",
"user_name": "Minh họa"
},
"end_time": "2026-11-02T00:00:00Z",
"id": "100000000000000001",
"interaction_performance": {
"comment_rate": "0.1",
"comments": 1,
"follow_rate": "0.1",
"like_rate": "0.1",
"likes": 1,
"new_followers": 1,
"share_rate": "0.1",
"shares": 1
},
"sales_performance": {
"aov": {
"amount": "10000",
"currency": "VND"
},
"attributed_customers": 1,
"avg_live_auction_price": {
"amount": "10000",
"currency": "VND"
},
"avg_price": {
"amount": "10000",
"currency": "VND"
},
"created_sku_orders": 1,
"gmv_with_tiktok_coupons": {
"amount": "10000",
"currency": "VND"
},
"live_attributed_gmv": {
"amount": "10000",
"currency": "VND"
},
"live_attributed_items_sold": 1,
"live_attributed_orders": 1,
"live_attributed_sku_orders": 1,
"live_auction_attributed_gmv": {
"amount": "10000",
"currency": "VND"
},
"live_auction_attributed_items_sold": 1,
"live_auction_attributed_sku_orders": 1,
"live_auction_gmv": {
"amount": "10000",
"currency": "VND"
},
"live_auction_indirect_gmv": {
"amount": "10000",
"currency": "VND"
},
"live_gmv": {
"amount": "10000",
"currency": "VND"
},
"live_indirect_gmv": {
"amount": "10000",
"currency": "VND"
},
"payment_rate": "0.1",
"products_sold": 1
},
"start_time": "2026-11-01T00:00:00Z",
"title": "Minh họa",
"traffic": {
"acu": 1,
"avg_viewing_duration": 1,
"avg_viewing_duration_per_viewer": 1,
"ctor": "0.1",
"ctor_sku_order": "Minh họa",
"ctr": "0.1",
"gmv_per_hour": {
"amount": "10000",
"currency": "VND"
},
"impressions": 1,
"impressions_per_hour": 1,
"live_ctr": "Minh họa",
"order_rate_sku_orders": "Minh họa",
"over_1m_live_viewing_rate": "0.1",
"over_1m_views": 1,
"pcu": 1,
"product_clicks": 1,
"product_impressions": 1,
"products_added": 1,
"show_gpm": {
"amount": "10000",
"currency": "VND"
},
"tap_through_rate": "0.1",
"viewers": 1,
"views": 1,
"watch_gpm": {
"amount": "10000",
"currency": "VND"
}
}
}
],
"next_page_token": "",
"total_count": 1,
"updated_at": "Minh họa"
}
}
Get started
- Sign up for Partner
- Enable a data type of the Livestream group on the platform page
- Create an API key (tick the TikTok Shop channel)
- Call it as in the examples above