VI | EN
Message us on Messenger
Developer resources

Get Shop LIVE Performance Overview — TikTok Shop API

tiktok.analytics.202609.shop_lives.overview_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.overview_performance

GET/analytics/202609/shop_lives/overview_performanceVia 360: GET https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/overview_performance
Description

Lấy tổng quan hiệu quả các phiên LIVE của gian hàng theo khoảng ngày hoặc chỉ số hôm nay.

  • Gọi qua /v1/tiktok/analytics/202609/shop_lives/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.

Request

Endpoint

GET https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/overview_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.
todayqueryboolNoFalsetrue: bỏ qua start_date_ge và end_date_lt, trả chỉ số thời gian thực hôm nay theo giờ địa phương.
granularityquerystringNoALLALL: gộp cả kỳ; 1D: theo ngày. Mặc định ALL.
currencyquerystringNoVNDUSD: đô la Mỹ; LOCAL: tiền địa phương, mặc định LOCAL.
account_typequerystringNoALLTài khoản loại. Giá trị: ALL, LINKED_ACCOUNTS, AFFILIATE_ACCOUNTS.

Request examples

curl -s "https://partner.quantri360.com/v1/tiktok/analytics/202609/shop_lives/overview_performance?start_date_ge=2026-11-01&end_date_lt=2026-11-02&today=false&granularity=ALL&currency=VND&account_type=ALL" \
  -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/overview_performance",
    params={
        "start_date_ge": "2026-11-01",
        "end_date_lt": "2026-11-02",
        "today": False,
        "granularity": "ALL",
        "currency": "VND",
        "account_type": "ALL"
    },
    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/overview_performance');
for (const [k, v] of Object.entries({"start_date_ge":"2026-11-01","end_date_lt":"2026-11-02","today":false,"granularity":"ALL","currency":"VND","account_type":"ALL"})) 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/overview_performance' . '?' . http_build_query(['start_date_ge' => '2026-11-01', 'end_date_lt' => '2026-11-02', 'today' => 'false', 'granularity' => 'ALL', 'currency' => 'VND', 'account_type' => 'ALL']);
$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.
performanceobjectHiệu quả.
intervalsobject[]Intervals.
avg_live_auction_priceobjectTrung bình live auction giá. Giá trị: LIVE.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
avg_viewing_durationint1Trung bình viewing thời lượng.
ctor_sku_orderstringMinh họaCtor sku đơn hàng. Giá trị: LIVE, SKU.
end_datestringMinh họaKết thúc ngày. Giá trị: ISO, YYYY.
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_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_soldint1Live auction quy gán items sold. Giá trị: LIVE.
live_auction_attributed_sku_ordersint1Live auction quy gán sku orders. Giá trị: SKU, LIVE.
live_ctrstringMinh họaLive ctr. Giá trị: LIVE.
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.
show_gpmobjectShow gpm. Giá trị: LIVE, GMV.
amountstring10000Số tiền.
currencystringVNDMã tiền tệ ISO 4217.
start_datestringMinh họaBắt đầu ngày. Giá trị: ISO, YYYY.
viewsint1Lượt xem. 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",
    "performance": {
      "intervals": [
        {
          "avg_live_auction_price": {
            "amount": "10000",
            "currency": "VND"
          },
          "avg_viewing_duration": 1,
          "ctor_sku_order": "Minh họa",
          "end_date": "Minh họa",
          "live_attributed_gmv": {
            "amount": "10000",
            "currency": "VND"
          },
          "live_attributed_items_sold": 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_ctr": "Minh họa",
          "live_gmv": {
            "amount": "10000",
            "currency": "VND"
          },
          "live_indirect_gmv": {
            "amount": "10000",
            "currency": "VND"
          },
          "show_gpm": {
            "amount": "10000",
            "currency": "VND"
          },
          "start_date": "Minh họa",
          "views": 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