TikTok Shop

v0.3.0
io.github.Buer2333/tiktok-shop-mcp Checked 4 days ago Published 1 month ago

Read-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.

ParameterTypeDescription
random_stringstring

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.…

ParameterTypeDescription
create_time_ge
create_time_lt
end_date
next_page_token
order_status
page_sizeinteger
seller_name
sort_field
sort_order
start_date
timezonestring
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.

ParameterTypeDescription
order_ids *array
seller_name

get_shop_statements_tool

Get TikTok Shop financial statements (daily settlement records). Use seller_name to specify which shop.

ParameterTypeDescription
create_time_ge
create_time_lt
next_page_token
page_sizeinteger
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.

ParameterTypeDescription
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).

ParameterTypeDescription
next_page_token
page_sizeinteger
seller_name
status

get_product_detail_tool

Get detailed product info including SKU prices. Use seller_name to specify which shop.

ParameterTypeDescription
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.

ParameterTypeDescription
create_time_ge
create_time_lt
end_date
next_page_token
page_sizeinteger
seller_name
start_date
timezonestring

search_cancellations_tool

Search cancelled orders with refund amounts and cancel reasons. Use start_date/end_date (YYYY-MM-DD) or raw timestamps.

ParameterTypeDescription
create_time_ge
create_time_lt
end_date
next_page_token
page_sizeinteger
seller_name
start_date
timezonestring

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.

ParameterTypeDescription
currencystring
end_date_ltstring
granularitystring
seller_name
start_date_gestring

get_shop_performance_hourly_tool

Get shop performance by hour for a specific date (YYYY-MM-DD). Use seller_name to specify shop.

ParameterTypeDescription
currencystring
datestring
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.

ParameterTypeDescription
seller_name
support_date_gestring
support_date_ltstring

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.

ParameterTypeDescription
currencystring
end_date_ltstring
page_sizeinteger
page_token
product_status_filter
seller_name
sort_fieldstring
sort_orderstring
start_date_gestring

get_product_performance_tool

Get single product performance with VIDEO/LIVE/PRODUCT_CARD breakdown. Use seller_name to specify shop.

ParameterTypeDescription
currencystring
end_date_ltstring
granularitystring
product_idstring
seller_name
start_date_gestring

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.

ParameterTypeDescription
account_typestring
currencystring
end_date_ltstring
page_sizeinteger
page_token
seller_name
sort_fieldstring
sort_orderstring
start_date_gestring

get_sku_performance_tool

Get single SKU performance. Use seller_name to specify shop.

ParameterTypeDescription
currencystring
end_date_ltstring
granularitystring
seller_name
sku_idstring
start_date_gestring

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.

ParameterTypeDescription
account_typestring
currencystring
end_date_ltstring
seller_name
start_date_gestring
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.

ParameterTypeDescription
currencystring
datestring
seller_name
time_slotstring

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.

ParameterTypeDescription
author_typestring
currencystring
datestring
seller_name
time_slotstring

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.

ParameterTypeDescription
category_id
currencystring
datestring
seller_name
time_slotstring

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.

ParameterTypeDescription
seller_name

refresh_all_tokens_tool

Refresh access tokens for ALL configured shops. Useful for batch renewal before expiry.

ParameterTypeDescription
random_stringstring