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

List Opportunity

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: /product/202604/opportunities/query

#

§2 Method: [POST]

#

§3 Function Description

Search and retrieve a paginated list of opportunity leads available to the authorized seller, with optional filters by type, status, category, etc and ordered by the algorithm ranking model.


#

§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.
page_sizeintY20Number of results per page. Max: 100. Default: 20.
page_tokenstringN100Pagination token from previous response. Omit for first page.
localestringNen-USExpressed using {language_code}-{COUNTRY_CODE}, in accordance with the BCP-47 standard.
#

§6 Request Body Parameters

Properties Type Require Sample Properties description
opportunity_typestringYPRODUCTType of opportunity: PRODUCT(品线索)/ KEYWORD(词线索)/ CATEGORY(类目线索)
category_ids[]stringN["601310","601311"]Filter by category IDs. Leave empty to return all leads that available to the seller.
create_time_geintN1775976752Filter opportunities created after this time. timestamp in seconds
create_time_ltintN1776976752Filter opportunities created before this time. timestamp in seconds
tag_codes[]stringN["CORE_PRODUCT","TOP_PRODUCT"]A list of tag codes used to filter the results.
#

§7 Request Sample

Query

https://open-api.tiktokglobalshop.com/product/202604/opportunities/query?app_key=123abc&sign=5361235029d141222525e303d742f9e38aea052d10896d3197ab9d6233730b8c&timestamp=1625484268&shop_cipher=ROW_RHkDDABBAAB8tKAVoAqsMTjsQZFLyNfY&page_size=20&page_token=100&locale=en-US

Body

{"opportunity_type":"PRODUCT","category_ids":["601310","601311"],"create_time_ge":1775976752,"create_time_lt":1776976752,"tag_codes":["CORE_PRODUCT","TOP_PRODUCT"]}
#

§8 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
^dataobjectSpecific return information
^^opportunities[]objectThe information of the opportunity
^^^idstring7123456789012345678Unique ID of the opportunity
^^^titlestringtitle infoOpportunity title.
^^^reference_images[]string["https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/61e605ce483f4f7b9b419d510f74fd22~tplv-o3syd03w52-resize-image:400:400.image?dr=15586&t=555f072d&ps=933b5bde&shp=5563f2fb&shcp=122e87b3&idc=maliva&from=1432613627&from_p=305039283"]Reference product images of the product to list.
^^^category_id_level_1string901128TikTok Shop L1 category ID.
^^^category_id_level_2string30122212TikTok Shop L2 category ID.
^^^category_id_level_3string3321212TikTok Shop L3 category ID.
^^^category_name_level_1stringShoesCategory name of 1st level category.
^^^category_name_level_2stringWomen's ShoesCategory name of 2nd level category.
^^^category_name_level_3stringSandals & Flip FlopsCategory name of 3rd level category.
^^^is_collectedboolfalseWhether it has been collected
^^^query_wordsstringword1,word2TikTok Shop in-site user search keyword.
^^^opportunity_typestringPRODUCTType of opportunity: PRODUCT(品线索)/ KEYWORD(词线索)/ CATEGORY(类目线索)
Empty return for a specific opportunity type indicates the business team has not enabled merchant submission for this lead type in the corresponding market.
^^^brand_namestringbrand1Brand requirements for products specified by the opportunity.
^^^create_timeint1712544000Opportunity creation timestamp, second-level timestamp
^^^expire_timeint1712544000Opportunity expiry date, second-level timestamp
^^^est_market_sales_volumestring100k+Estimated overall market sales volume.
^^^est_market_gmvstring$9M+Estimated overall market sales GMV in USD.
^^^search_volumestring100k+TikTok Shop in-site user search volume.
^^^competitor_product_countstring100+Number of competing products currently listed.
^^^video_view_pvstring7k+The cumulative short video view count of all videos associated with this product opportunity.
^^^tagsstringPencarian teratas,Pencarian trending,Persaingan rendah,Trending di TikTok,Terlaristhe tag list of opportunity
^^^tag_codes[]string["CORE_PRODUCT"]The tag code list of opportunity, mapped one-to-one in order with tags. Allowed values for Latam include: CORE_PRODUCT, TOP_PRODUCT.
^^^reward_infostringBoost shoptab visibilityRewards that sellers can gain by listing products as required.
^^^external_product_idstringSH1234567890Product ID on the reference source.
^^^reference_sourcestring1The code of the reference_source. Returned only when external_product_id is present.
^^next_page_tokenstring100Pagination token from previous response. Omit for first page.
^^total_countint200Total number of matching opportunities (approximate).
#

§9 Response Sample

{"code":0,"data":{"data":{"opportunities":[{"id":"7123456789012345678","title":"title info","reference_images":["https://p16-oec-va.ibyteimg.com/tos-maliva-i-o3syd03w52-us/61e605ce483f4f7b9b419d510f74fd22~tplv-o3syd03w52-resize-image:400:400.image?dr=15586\u0026t=555f072d\u0026ps=933b5bde\u0026shp=5563f2fb\u0026shcp=122e87b3\u0026idc=maliva\u0026from=1432613627\u0026from_p=305039283"],"category_id_level_1":"901128","category_id_level_2":"30122212","category_id_level_3":"3321212","category_name_level_1":"Shoes","category_name_level_2":"Women's Shoes","category_name_level_3":"Sandals \u0026 Flip Flops","is_collected":false,"query_words":"word1,word2","opportunity_type":"PRODUCT","brand_name":"brand1","create_time":1712544000,"expire_time":1712544000,"est_market_sales_volume":"100k+","est_market_gmv":"$9M+","search_volume":"100k+","competitor_product_count":"100+","video_view_pv":"7k+","tags":"Pencarian teratas,Pencarian trending,Persaingan rendah,Trending di TikTok,Terlaris","tag_codes":["CORE_PRODUCT"],"reward_info":"Boost shoptab visibility","external_product_id":"SH1234567890","reference_source":"1"}],"next_page_token":"100","total_count":200}},"message":"Success","request_id":"202203070749000101890810281E8C70B7"}
#

§10 Error Code

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

Code Message
#