快工助手跨境电商知识与商机助手

Get Shop Performance

TikTok Shop 官方资料 · TikTok Shop Partner Center 开发者文档 · 适合开发者

stable本次发布有变化全部展示

来自 TikTok Shop 官方资料快照 ·

打开官方原文 ↗
  1. 当前资料结构化阅读页
  2. 固定快照已留存,可追溯
  3. 官方原文可核对
查看技术与溯源信息
平台 / profile
TikTok Shop / profile.tiktok.docs_api
语言
en-US
发布版本
cn-20260909-2
标签
zhuge/sourceplatform/tiktok_shopaudience/developercategory/api_doctopic/compliancetopic/developer

资料正文

§1 Path: /analytics/202509/shop/performance

#

§2 Method: [GET]

#

§3 Function Description

Returns performance metrics at shop/seller level.


#

§4 Common Parameters

For common parameters, refer to How to call TikTok Shop APIs - Common Parameters

Properties Location Type Require Sample Properties description
shop_cipherquerystringYGCP_XF90igAAAABh00qsWgtvOiGFNqyubMt3Use this property to pass shop information in requesting the API. Failure in passing the correct value when requesting the API for cross-border shops will return incorrect response.
Get by API Get Authorization Shop
content-typeheaderstringYapplication/jsonAllowed type: application/json
#

§5 Request Query Parameters

Properties Type Require Sample Properties description
app_keystringY38abcdEvery single app will have a unique key. Please use the specific key assigned to your app.
signstringY5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8cSignature generated by gen algorithm. When you send API requests to TTS, you must sign them so that TTS can identify the senders.
timestampintY1623812664Unix timestamp GMT (UTC+00:00). This timestamp is used across all API requests. Developers can use this convert to local time.
start_date_gestringY2024-04-01Start date (ISO 8601 YYYY-MM-DD format) in shop registered timezone.
In the parameter name, "ge" refers to "greater than or equal to" (inclusive)
end_date_ltstringY2024-04-08End date (ISO 8601 YYYY-MM-DD format) in shop registered timezone.
In the parameter name, "lt" refers to "less than" (exclusive)
granularitystringNALLGranularity of the data.
Available values: ALL, 1D
Default value: ALL
  • ALL: aggregate
  • 1D: daily | currency |string |N |LOCAL |Currency. Available values: USD, LOCAL Default value: LOCAL
  • USD: US dollars
  • LOCAL: local currency where the shop is located |
#

§6 Request Sample

Query

https://open-api.tiktokglobalshop.com/analytics/202509/shop/performance?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&start_date_ge=2024-04-01&end_date_lt=2024-04-08&granularity=ALL&currency=LOCAL
#

§7 Response Parameters

Properties Type Sample Properties description
codeint0The success or failure status code returned in API response.
messagestringSuccessThe success or failure messages returned in API response. Reasons of failure will be described in the message.
request_idstring202203070749000101890810281E8C70B7Request log
dataobjectSpecific return information
^performanceobjectOverall performance data for the shop.
^^intervals[]objectInterval data for the requested time range. The time range of each interval is determined by the granularity.
^^^start_datestring2024-04-01Start date of the interval (ISO 8601 YYYY-MM-DD format) in shop registered timezone, inclusive.
^^^end_datestring2024-04-08End date of the interval (ISO 8601 YYYY-MM-DD format) in shop registered timezone, exclusive.
^^^salesobjectSales performance within the interval.
^^^^gmvobjectGross merchandise value: Total amount paid for orders during the selected period, including canceled and refunded orders.
^^^^^overallobjectOverall gmv.
^^^^^^amountstring335.02GMV amount in the corresponding currency.
^^^^^^currencystringGBPGMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).
^^^^^breakdowns[]objectGMV breakdowns.
^^^^^^gmvobjectGross merchandise value: Total amount paid for orders during the selected period, including canceled and refunded orders.
^^^^^^^amountstring111GMV amount in the corresponding currency.
^^^^^^^currencystringUSDGMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP).
^^^^^^typestringLIVEGMV breakdown type.
Possible values:
  • VIDEO: Video content.
  • LIVE: Live stream content.
  • PRODUCT_CARD: Product card. | ^^^^gross_revenue |object | |Gross revenue includes customer payments and platform product subsidies, minus any applicable taxes. Formula: Gross revenue = (Customer payment + Platform product subsidies) − Taxes | ^^^^^overall |object | |Overall gross revenue. | ^^^^^^amount |string |239.04 |GMV amount in the corresponding currency. | ^^^^^^currency |string |GBP |GMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP). | ^^^^^breakdowns |[]object | |Revenue breakdowns. | ^^^^^^percentage |string |0.4324 |The percentage of revenue generated from the corresponding breakdown type. | ^^^^^^type |string |NON_GMV_MAX |Gross revenue breakdown type by market. For SEA, MX, and BR markets, possible values are NON_GMV_MAX and GMV_MAX. For UK and EU markets, possible values are ADS and ORGANIC. This breakdown is not applicable for US and JP markets. | ^^^^items_sold |int |32422 |The total number of individual items sold. Example: If a customer buys 3 units of SKU A and 2 units of SKU B, the items sold would be 5. | ^^^^sku_orders_count |int |23214 |A total count of distinct SKUs sold. | ^^^^orders_count |int |21234 |The number of paid orders during the selected period. | ^^^^avg_customers_count |int |14322 |Daily average number of unique users who paid for orders during the selected period. | ^^^^refunds |object | |The amount of order refunds generated. | ^^^^^amount |string |2323 |Refunds amount in the corresponding currency. | ^^^^^currency |string |USD |GMV currency code (ISO 4217 standard). If LOCAL currency is requested, the value will be the local currency code of where the shop is registered (e.g. GBP). | ^^^traffic |object | |Traffic data for the interval, including average page views, average visitors, and average conversion rate. | ^^^^avg_page_views |int |56234 |Daily average number of page views for all of your product detail pages during the selected period. | ^^^^avg_visitors |int |3433 |Daily average number of unique users who visited your product detail pages during the selected period | ^^^^avg_conversation_rate |string |0.3342 |The daily average percentage of unique users who paid for orders after viewing product detail pages during the selected period. | ^latest_available_date |string |2024-04-07 |Latest date in local timezone where data is ready (ISO 8601 format). |
#

§8 Response Sample

{"code":0,"data":{"performance":{"intervals":[{"start_date":"2024-04-01","end_date":"2024-04-08","sales":{"gmv":{"overall":{"amount":"335.02","currency":"GBP"},"breakdowns":[{"gmv":{"amount":"111","currency":"USD"},"type":"LIVE"}]},"gross_revenue":{"overall":{"amount":"239.04","currency":"GBP"},"breakdowns":[{"percentage":"0.4324","type":"NON_GMV_MAX"}]},"items_sold":32422,"sku_orders_count":23214,"orders_count":21234,"avg_customers_count":14322,"refunds":{"amount":"2323","currency":"USD"}},"traffic":{"avg_page_views":56234,"avg_visitors":3433,"avg_conversation_rate":"0.3342"}}]},"latest_available_date":"2024-04-07"},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§9 Error Code

For common error codes, refer to How to call TikTok Shop APIs - Common Error Code

Code Message
28001022invalid request params; detail: start time or end time is invalid.
#