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

Get SPS Metrics

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/202606/shop_performances/metrics

#

§2 Method: [GET]

#

§3 Function Description

Returns SPS metric details and benchmark thresholds for the authorized shop. Shop Performance Score (SPS) reflects a shop’s performance across key operational and service metrics on TikTok Shop. By integrating the read-only SPS APIs, ISVs can retrieve a shop’s score, tier, benefits, and metric benchmarks, diagnose performance gaps, and drill down to the products, logistics providers, aftersales types, orders, or chats associated with specific issues. This enables ISVs to embed actionable performance insights into their solutions, helping merchants identify problem areas faster and take targeted actions to improve shop performance. Available only for US-region shops. Use case guide: Click here


#

§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
localestringNen-USLocale code used to localize response text. If omitted, the default locale is resolved from the request context.
#

§6 Request Sample

Query

https://open-api.tiktokglobalshop.com/analytics/202606/shop_performances/metrics?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&locale=en-US
#

§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
^metrics[]objectFixed complete SPS metric set for the authorized shop.
^^benchmarksobjectBenchmark thresholds for the metric.
^^^excellent_thresholdstring0.02Excellent tier threshold.
^^^poor_thresholdstring0.08Poor tier threshold.
^^dimensionstringProduct satisfactionSPS dimension that the metric belongs to.
^^evaluate_duration_daysint30Number of days included in this metric's evaluation period.
^^end_evaluation_timeint1761264000Metric evaluation period end time. Unix timestamp in seconds.
^^start_evaluation_timeint1758672000Metric evaluation period start time. Unix timestamp in seconds.
^^metric_codestringNRRStable metric code. Possible values include NRR, NBFR, SFCR, OTDR, AHT, and IM_DSAT.
^^metric_namestring60-day negative review rateLocalized metric display name.
^^scorestring4.7Metric score, from 0 to 5.
^^statusstringEXCELLENTMetric status. Possible values include EXCELLENT, GOOD, POOR, CRITICAL and NIL.
^^status_textstringExcellentMetric status text. Values like Excellent, Good, Normal, Attention.
^^valuestring0.97Metric value. Hours are represented as values; percentages are represented as values from 0 to 100.
^^value_unitstringPERCENTUnit of the metric value. Possible values include PERCENT and HOURS.
^^top_reason_textstringTop opportunityIndicates that this metric is a key contributor to SPS.
#

§8 Response Sample

{"code":0,"data":{"metrics":[{"benchmarks":{"excellent_threshold":"0.02","poor_threshold":"0.08"},"dimension":"Product satisfaction","evaluate_duration_days":30,"end_evaluation_time":1761264000,"start_evaluation_time":1758672000,"metric_code":"NRR","metric_name":"60-day negative review rate","score":"4.7","status":"EXCELLENT","status_text":"Excellent","value":"0.97","value_unit":"PERCENT","top_reason_text":"Top opportunity"}]},"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
#