VI | EN
Message us on Messenger
Developer resources

Get Shop LIVE Performance List — TikTok Shop API

tiktok.analytics.202609.shop_lives.performance · call it through Quantri360 with one API key for your own accounts / assets that you connected and authorized — 360 handles request signing and refreshing the authorization you granted.

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

NameInTypeSampleDescription
AuthorizationheaderheaderBearer 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_idquerystring100001Gian 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

NameInTypeRequiredSampleDescription
start_date_gequerystringYes2026-11-01Ngày bắt đầu YYYY-MM-DD theo múi giờ gian hàng, tính cả mốc.
end_date_ltquerystringYes2026-11-02Ngày kết thúc YYYY-MM-DD theo múi giờ gian hàng, không tính mốc.
account_typequerystringYesOFFICIAL_ACCOUNTSTài khoản loại. Giá trị: OFFICIAL_ACCOUNTS, MARKETING_ACCOUNTS, AFFILIATE_ACCOUNTS.
page_sizequeryintNo10Số kết quả mỗi trang. Tối đa 100, mặc định 10.
sort_fieldquerystringNocreate_timeTrường sắp xếp: live_attributed_gmv, products_added, products_sold, live_attributed_sku_orders, live_attributed_items_sold, attributed_customers
sort_orderquerystringNoDESCThứ tự: ASC tăng dần, DESC giảm dần.
currencyquerystringNoVNDUSD: đô la Mỹ; LOCAL: tiền địa phương, mặc định LOCAL.
page_tokenquerystringNoCon 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&currency=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)

NameTypeSampleDescription
codeint0Mã. Giá trị: API.
messagestringSuccessTin nhắn. Giá trị: API.
request_idstringDEMO_REQUEST_A_01Yêu cầu mã.
dataobjectDữ liệu.
latest_available_datestringMinh họaLatest khả dụng ngày. Giá trị: ISO.
live_stream_sessionsobject[]Live stream sessions.
creatorobjectCreator. Giá trị: LIVE.
author_typestringMinh họaTác giả loại.
creator_countrystringMinh họaCreator quốc gia.
nick_namestringMinh họaNick tên.
open_idstring100000000000000001Open mã.
user_namestringMinh họaNgười dùng tên.
end_timestring2026-11-02T00:00:00ZKết thúc (Unix giây).
idstring100000000000000001Mã. Giá trị: LIVE.
interaction_performanceobjectTương tác hiệu quả. Giá trị: OFFICIAL_ACCOUNTS, MARKETING_ACCOUNTS.
comment_ratestring0.1Bình luận tỷ giá.
commentsnumber1Comments. Giá trị: LIVE.
follow_ratestring0.1Theo dõi tỷ giá.
like_ratestring0.1Thích tỷ giá.
likesnumber1Likes. Giá trị: LIVE.
new_followersnumber1New followers.
share_ratestring0.1Chia sẻ tỷ giá.
sharesnumber1Shares. Giá trị: LIVE.
sales_performanceobjectDoanh số hiệu quả. Giá trị: LIVE.
aovobjectAov. Giá trị: LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
attributed_customersnumber1Quy gán khách hàng. Giá trị: LIVE.
avg_live_auction_priceobjectTrung bình live auction giá. Giá trị: LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
avg_priceobjectTrung bình giá.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
created_sku_ordersnumber1Created sku orders. Giá trị: SKU.
gmv_with_tiktok_couponsobjectGmv with tiktok coupons. Giá trị: GMV.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_attributed_gmvobjectLive quy gán gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_attributed_items_soldnumber1Live quy gán items sold. Giá trị: LIVE.
live_attributed_ordersnumber1Live quy gán orders. Giá trị: LIVE.
live_attributed_sku_ordersnumber1Live quy gán sku orders. Giá trị: SKU, LIVE.
live_auction_attributed_gmvobjectLive auction quy gán gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_auction_attributed_items_soldnumber1Live auction quy gán items sold. Giá trị: LIVE.
live_auction_attributed_sku_ordersnumber1Live auction quy gán sku orders. Giá trị: SKU, LIVE.
live_auction_gmvobjectLive auction gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_auction_indirect_gmvobjectLive auction gián tiếp gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_gmvobjectLive gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
live_indirect_gmvobjectLive gián tiếp gmv. Giá trị: GMV, LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
payment_ratestring0.1Thanh toán tỷ giá.
products_soldnumber1Products sold. Giá trị: LIVE.
start_timestring2026-11-01T00:00:00ZMốc bắt đầu RFC 3339 có múi giờ, tính cả mốc.
titlestringMinh họaTiêu đề. Giá trị: LIVE.
trafficobjectLưu lượng. Giá trị: LIVE.
acunumber1Acu.
avg_viewing_durationnumber1Trung bình viewing thời lượng.
avg_viewing_duration_per_viewernumber1Trung bình viewing thời lượng mỗi viewer.
ctorstring0.1Ctor.
ctor_sku_orderstringMinh họaCtor sku đơn hàng. Giá trị: SKU.
ctrstring0.1Ctr.
gmv_per_hourobjectGmv mỗi hour. Giá trị: LIVE, GMV.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
impressionsnumber1Lượt hiển thị. Giá trị: LIVE.
impressions_per_hournumber1Lượt hiển thị mỗi hour.
live_ctrstringMinh họaLive ctr.
order_rate_sku_ordersstringMinh họaĐơn hàng tỷ giá sku orders. Giá trị: SKU.
over_1m_live_viewing_ratestring0.1Over 1m live viewing tỷ giá.
over_1m_viewsnumber1Over 1m lượt xem.
pcunumber1Pcu.
product_clicksnumber1Sản phẩm lượt nhấp.
product_impressionsnumber1Sản phẩm lượt hiển thị.
products_addednumber1Products added. Giá trị: LIVE.
show_gpmobjectShow gpm. Giá trị: LIVE, GMV.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
tap_through_ratestring0.1Tap through tỷ giá. Giá trị: LIVE.
viewersnumber1Người xem.
viewsnumber1Lượt xem. Giá trị: LIVE.
watch_gpmobjectXem gpm. Giá trị: LIVE, GMV.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
next_page_tokenstringCon trỏ trang kế tiếp; rỗng là hết dữ liệu.
total_countnumber1Tổng số lượng. Giá trị: LIVE.
updated_atstringMinh họaUpdated 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

  1. Sign up for Partner
  2. Enable a data type of the Livestream group on the platform page
  3. Create an API key (tick the TikTok Shop channel)
  4. Call it as in the examples above