来自 TikTok Shop 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 Summary
Five new read-only Shop Performance Score (SPS) APIs are now available in v202606 for US-region shops. They allow apps to retrieve a shop's SPS overview and metric details, diagnose individual metrics, and drill down into the products, logistics providers, aftersales types, orders, or chats associated with performance issues. Apps can retrieve the SPS overview and metrics, then request diagnosis and affected-object details for a selected metric. The APIs return SPS data only and do not modify products, orders, logistics settings, or customer service settings.
§2 What is changing
The following APIs are added in v202606.
The currently documented SPS metric codes are NRR, NBFR, SFCR, OTDR, AHT, and IM_DSAT.
| API | Method | Endpoint | Description |
|---|---|---|---|
| Get SPS Overview | GET | /analytics/202606/shop_performances/overview | Returns the SPS score, tier, dimensions, benefits, and top issues. |
| Get SPS Metrics | GET | /analytics/202606/shop_performances/metrics | Returns SPS metric details and benchmark thresholds. |
| Get SPS Metric Diagnosis | GET | /analytics/202606/shop_performances/metrics/{metric_code}/diagnosis | Returns benchmarks, trends, calculation details, distribution details, and diagnostic insights for one metric. |
| Get SPS Metric Top Items | GET | /analytics/202606/shop_performances/metrics/{metric_code}/top_items | Returns the top products, logistics providers, or aftersales types for the selected metric. |
| Get SPS Metric Problem Details | GET | /analytics/202606/shop_performances/metrics/{metric_code}/problem_details | Returns the problem orders or chats associated with the selected metric. |
§3 Common request requirements
Common request requirements
All five APIs:
- Require the
data.shop_analytics.public.readscope and a seller access token. - Require
shop_cipherin the query andcontent-type: application/jsonin the header. - Accept the optional
localequery parameter to localize response text. - Support US-region shops only.
Get SPS Metric Diagnosis also accepts the optional trend_duration_days query parameter. Its default value is 30.
§4 What action is required
If your app displays or diagnoses SPS data for US shops, review the following updates. Recommended actions:
- Review the five v202606 API references and confirm that your app has the
data.shop_analytics.public.readscope. - Add
shop_cipherto each request and passlocalewhen localized response text is required. - Call Overview first. If SPS is available, call Metrics, then request Diagnosis for a selected metric. Use Top Items for
NRR,NBFR,OTDR, andAHT; use Problem Details to retrieve affected orders or chats for any of the six metrics. - Use the API-returned
status,benefits.is_unlocked,benchmarks,top_reason_text, andupdate_timeas the source of truth. Do not hard-code tier thresholds or predict benefit eligibility from the displayed score. - Treat
page_tokenas an opaque value when paginating problem details, and do not request more than50records per page. - Handle
NIL, empty or partial results, authorization errors, and unknown futuremetric_codevalues gracefully. - Test the full workflow with an authorized US shop in API Testing Tool before rolling it out to production traffic.
If you need implementation guidance, field-to-page mappings, or recommended merchant actions for each SPS metric, review the related use case documents below. Related documents: SPS API Merchant Performance Diagnosis: ISV Integration Use Cases (English) SPS API 商家绩效诊断:ISV 集成 User Case(中文)
