TikTok Shop
v0.3.0Read-only TikTok Shop Partner API: orders, finance, products and analytics across shops.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_shops_tool
List all configured TikTok Shop accounts with their names and token expiry dates.
| Parameter | Type | Description |
|---|---|---|
random_string | string |
get_shop_orders_tool
Search TikTok Shop orders. Use seller_name to specify which shop (partial match OK, e.g. 'US' matches 'My Brand US'). Date query options (choose one): - Raw unix timestamps: create_time_ge / create_time_lt - Human-friendly dates: start_date / end_date (YYYY-MM-DD) + timezone timezone: IANA timezone for date conversion. Use the timezone your reporting day follows, e.g. 'Etc/GMT+8' (fixed UTC-8) or 'America/New_York' (default). When start_date is provided, it overrides create_time_ge/create_time_lt. start_date = beginning of that day in the given timezone.…
| Parameter | Type | Description |
|---|---|---|
create_time_ge | ||
create_time_lt | ||
end_date | ||
next_page_token | ||
order_status | ||
page_size | integer | |
seller_name | ||
sort_field | ||
sort_order | ||
start_date | ||
timezone | string | |
update_time_ge | ||
update_time_lt |
get_order_detail_tool
Get detailed information for specific TikTok Shop orders (max 50 IDs). Use seller_name to specify which shop.
| Parameter | Type | Description |
|---|---|---|
order_ids * | array | |
seller_name |
get_shop_statements_tool
Get TikTok Shop financial statements (daily settlement records). Use seller_name to specify which shop.
| Parameter | Type | Description |
|---|---|---|
create_time_ge | ||
create_time_lt | ||
next_page_token | ||
page_size | integer | |
payment_status | ||
seller_name |
get_shop_transactions_tool
Get transaction details for a specific order or statement. Provide exactly one of order_id or statement_id. Use seller_name to specify which shop.
| Parameter | Type | Description |
|---|---|---|
order_id | ||
seller_name | ||
statement_id |
get_shop_products_tool
Get TikTok Shop product listings. Use seller_name to specify which shop (partial match OK).
| Parameter | Type | Description |
|---|---|---|
next_page_token | ||
page_size | integer | |
seller_name | ||
status |
get_product_detail_tool
Get detailed product info including SKU prices. Use seller_name to specify which shop.
| Parameter | Type | Description |
|---|---|---|
product_id * | string | |
seller_name |
search_returns_tool
Search return/refund orders with refund amounts. Use start_date/end_date (YYYY-MM-DD) or raw timestamps.
| Parameter | Type | Description |
|---|---|---|
create_time_ge | ||
create_time_lt | ||
end_date | ||
next_page_token | ||
page_size | integer | |
seller_name | ||
start_date | ||
timezone | string |
search_cancellations_tool
Search cancelled orders with refund amounts and cancel reasons. Use start_date/end_date (YYYY-MM-DD) or raw timestamps.
| Parameter | Type | Description |
|---|---|---|
create_time_ge | ||
create_time_lt | ||
end_date | ||
next_page_token | ||
page_size | integer | |
seller_name | ||
start_date | ||
timezone | string |
get_shop_performance_tool
Get shop-level sales performance (GMV, orders, customers) with VIDEO/LIVE/PRODUCT_CARD breakdown. Dates are YYYY-MM-DD. granularity: 'ALL' (aggregate) or '1D' (daily). Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
end_date_lt | string | |
granularity | string | |
seller_name | ||
start_date_ge | string |
get_shop_performance_hourly_tool
Get shop performance by hour for a specific date (YYYY-MM-DD). Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
date | string | |
seller_name |
get_customer_service_performance_tool
Get shop customer-service performance (after-sales handling time, IM dissatisfaction rate, etc.) over a custom date window. Dates are YYYY-MM-DD. support_date_ge inclusive, support_date_lt exclusive. Wraps GET /customer_service/202407/performance — replaces SPS-backend's locked 60-day window. Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
seller_name | ||
support_date_ge | string | |
support_date_lt | string |
get_shop_products_performance_tool
Get performance ranking for all products (GMV, orders, items_sold). Sort by gmv/items_sold/orders. Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
end_date_lt | string | |
page_size | integer | |
page_token | ||
product_status_filter | ||
seller_name | ||
sort_field | string | |
sort_order | string | |
start_date_ge | string |
get_product_performance_tool
Get single product performance with VIDEO/LIVE/PRODUCT_CARD breakdown. Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
end_date_lt | string | |
granularity | string | |
product_id | string | |
seller_name | ||
start_date_ge | string |
get_shop_videos_performance_tool
Get performance ranking for all videos driving shop sales (GMV, views, click-through). account_type: ALL/SELF/AFFILIATE. Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
account_type | string | |
currency | string | |
end_date_lt | string | |
page_size | integer | |
page_token | ||
seller_name | ||
sort_field | string | |
sort_order | string | |
start_date_ge | string |
get_sku_performance_tool
Get single SKU performance. Use seller_name to specify shop.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
end_date_lt | string | |
granularity | string | |
seller_name | ||
sku_id | string | |
start_date_ge | string |
get_account_video_gmv_tool
Auto-paginate all shop videos and aggregate GMV by account username. Pass usernames as comma-separated string (e.g. 'dr.elise,dr.camila') to filter specific accounts. Returns per-account totals: gmv, orders, items_sold, video count.
| Parameter | Type | Description |
|---|---|---|
account_type | string | |
currency | string | |
end_date_lt | string | |
seller_name | ||
start_date_ge | string | |
usernames |
get_videos_bestselling_tool
Platform-wide TOP 100 bestselling videos (requires Bestsellers scope). date: reference date YYYY-MM-DD. time_slot: "7D" (default) or "30D". Returns bucketed gmv_range per video — no exact GMV. Useful for trend-scouting and creator discovery.
| Parameter | Type | Description |
|---|---|---|
currency | string | |
date | string | |
seller_name | ||
time_slot | string |
get_creators_bestselling_tool
Platform-wide TOP 100 bestselling creators (requires Bestsellers scope). date: reference date YYYY-MM-DD. time_slot: "7D" (default) or "30D". author_type: "ALL" / "AFFILIATE" / "OFFICIAL". Returns bucketed gmv_range per creator. Use for BD outreach discovery.
| Parameter | Type | Description |
|---|---|---|
author_type | string | |
currency | string | |
date | string | |
seller_name | ||
time_slot | string |
get_products_bestselling_tool
Platform-wide TOP 100 bestselling products (requires Bestsellers scope). date: reference date YYYY-MM-DD. time_slot: "7D" (default) or "30D". category_id: optional TikTok category filter. Returns bucketed gmv_range per product — use for competitor and category-trend scouting.
| Parameter | Type | Description |
|---|---|---|
category_id | ||
currency | string | |
date | string | |
seller_name | ||
time_slot | string |
refresh_token_tool
Refresh the TikTok Shop access token for a specific shop. Call when you get a 401/token expired error. New tokens are auto-saved to shops.json.
| Parameter | Type | Description |
|---|---|---|
seller_name |
refresh_all_tokens_tool
Refresh access tokens for ALL configured shops. Useful for batch renewal before expiry.
| Parameter | Type | Description |
|---|---|---|
random_string | string |